3
我有一个multimodule项目,一个模块是一个web应用程序,第二个有一个自定义程序集。Intellij Idea忽略maven assembly插件
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>src</descriptorRef>
</descriptorRefs>
<formats><format>jar</format></formats>
</configuration>
<executions>
<execution>
<id>cfg-src</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
基本上我需要这个压缩包含与源和行家结构,无二进制文件等行家项目 当我组装与行家即MVN包WAR,一切都很好。我依靠使用“src”分类器。我的WAR包含正确装配的罐子。但是当我用Intellij Idea(我创建了tomcat运行配置)部署WAR时,项目的程序集配置被忽略,而且我错误了。如何让Idea不忽略程序集插件。如果我清楚,请告诉我。