代码之家  ›  专栏  ›  技术社区  ›  Vikas Rathore

XLdeploy:无法创建具有正确名称的文件夹

  •  0
  • Vikas Rathore  · 技术社区  · 7 年前

    我必须在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>
    
    1 回复  |  直到 7 年前
        1
  •  0
  •   Joris De Winne    7 年前

    你的 location 可能没有指向实际的文件夹。也是你的 maven-deployit-plugin 版本肯定不再受支持。您可能需要升级到 xldeploy-maven-plugin 版本 6.0.x

    推荐文章