[INFO] Duplicate installers found: C:\Users\.... (maven-assembly-plugin) [message #508980] |
Wed, 20 January 2010 18:44 |
Eclipse User |
|
|
|
Originally posted by: ddd.asd.com
I have a multi-module maven project. One child module contains an izpack
installer which creates an installer for my app when I run "mvn install".
In another I use the maven-assembly-plugin to create a fatjar:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.test.Generator</mainClass>
<packageName>com.test</packageName>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
But when I run "mvn install" from the parent module I just get:
[INFO] Executed tasks
[INFO] [izpack:izpack {execution: standard-installer}]
[INFO] ------------------------------------------------------------ ------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------ ------------
[INFO] Duplicate installers found:
C:\Users\..Generator-installer-1.0.0-SNAPSHOT-standard.jar
[INFO] ------------------------------------------------------------ ------------
If I comment out the assembly-plugin in the pom then the installer from the
other module is build just fine. Any ideas on why I cannot both build the
installer and create a fatjar?
|
|
|
Powered by
FUDForum. Page generated in 0.02567 seconds