2
这是我的pom文件的一个片段。我可以有一个Maven程序集描述符依赖于另一个吗?
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/config/a.xml</descriptor>
<descriptor>src/main/config/b.xml</descriptor>
</descriptors>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
我想描述符b.xml依赖于a.xml生成(一个jar包含依赖项)。 这可能吗?我如何在我的b.xml描述符中指定这个?
那看起来怎么样? – zzztimbo
@zzztimbo补充示例 – prunge