0

我必须在 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>
4

1 回答 1

0

location可能没有指向实际的文件夹。此外,您的maven-deployit-plugin版本肯定不再受支持。您可能想要升级到6.0.xxldeploy-maven-plugin版本

于 2019-01-16T04:18:28.093 回答