New issue 568 by sh...@langhua.cn: maven-assembly-plugin Duplicate artifact
attachment detected.
http://code.google.com/p/q4e/issues/detail?id=568
Q4E Version:0.10.0
Eclipse Version:Build id: 20090920-1017
Java Version:OpenJDK 1.6.0
OS:Fedora 10
Please read http://code.google.com/p/q4e/wiki/ReportingBugs before posting
a new issue
The following config cause "Duplicate artifact attachment detected." error
happens:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-4</version>
<executions>
<execution>
<id>make-assembly-ofbiz</id><!-- this is used for
inheritance merges -->
<phase>package</phase><!-- append to the packaging
phase. -->
<goals>
<goal>single</goal><!-- goals == mojos -->
</goals>
<configuration>
<descriptors>
<descriptor>${basedir}/assembly-ofbiz.xml</descriptor>
</descriptors>
<finalName>opencmsIdentity</finalName>
<outputDirectory>${basedir}/target</outputDirectory>
<workDirectory>${basedir}/target/assembly/work</workDirectory>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>make-assembly</id><!-- this is used for inheritance merges -->
<phase>package</phase><!-- append to the packaging phase. -->
<goals>
<goal>single</goal><!-- goals == mojos -->
</goals>
<configuration>
<descriptors>
<descriptor>${basedir}/assembly.xml</descriptor>
</descriptors>
<finalName>org.langhua.opencms.identity_${version}.0</finalName>
<outputDirectory>${basedir}/target</outputDirectory>
<workDirectory>${basedir}/target/assembly/work</workDirectory>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
It's ok if I run maven 2.1.0 in a console.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings