我必须在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创建时,我只看到资源文件夹,而不是测试应用程序资源。
使用下面的Deployit版本
<groupId>com.xebialabs.deployit</groupId>
<artifactId>maven-deployit-plugin</artifactId>
<version>3.8.4</version>