我必须在dar中创建一个文件夹。我在我的POM中使用了以下代码
<deployable>
<name>Test_APP_resource</name>
<scanPlaceholders>true</scanPlaceholders>
<targetPath>C:\jboss\bin\resource</targetPath>
<type>file.Folder</type>
<targetPathShared>true</targetPathShared>
<createTargetPath>true</createTargetPath>
<targetPathSharedSubDirectories>true</targetPathSharedSubDirectories>
<location>C:\jboss\bin\resource</location>
</deployable>但当dar创建时,我只看到资源文件夹,而没有看到Test_APP_resource。
使用以下Deployit版本
<groupId>com.xebialabs.deployit</groupId>
<artifactId>maven-deployit-plugin</artifactId>
<version>3.8.4</version>发布于 2019-01-16 12:18:28
您的location可能没有指向实际的文件夹。此外,您的maven-deployit-plugin版本肯定不再受支持。您可能希望升级到xldeploy-maven-plugin版本6.0.x
https://stackoverflow.com/questions/54196849
复制相似问题