我正尝试使用maven-remote-resources-plugin在多模块maven项目中跨模块共享大量资源。不幸的是共享的二进制资源在捆绑过程中被破坏,大概是通过过滤。为maven-remote-resources-plugin禁用资源过滤
我相信在这个阶段腐败正在发生,因为从我的本地资源库提取共享资源jar包含破损的二进制文件。
是否有任何关闭maven-remote-resources-plugin的过滤?
目前的POM在我的共享资源模块看起来像
<build>
<plugins>
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>bundle</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>**/*</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
你的意思是'maven-remote-resources-plugin'?从您的pom.xml发布相关片段可能有助于吸引回答。 –
谢谢@DuncanJones,这是正确的。我修复了错字,并添加了pom的相关部分 – TaninDirect