Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » [INFO] Duplicate installers found: C:\Users\.... (maven-assembly-plugin)
[INFO] Duplicate installers found: C:\Users\.... (maven-assembly-plugin) [message #508980] Wed, 20 January 2010 18:44
Eclipse UserFriend
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?
Previous Topic:M2E and IAM should get their act together and agree on a common classpathentry for both plugins
Next Topic:Is a programmatic to create the maven project with m2eclipse api?
Goto Forum:
  


Current Time: Wed Sep 19 01:40:27 GMT 2018

Powered by FUDForum. Page generated in 0.01568 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top