Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-alpha-2
-
None
-
None
Description
I see this problem when building nexus-proxy. This is due to maven-jar-plugin
Caused by: org.apache.maven.project.DuplicateArtifactAttachmentException: Duplicate artifact attachment detected. (project: org.sonatype.nexus:nexus-proxy:jar:1.3.0-SNAPSHOT; illegal attachment: org.sonatype.nexus:nexus-proxy:jar:tests:1.3.0-SNAPSHOT)
at org.apache.maven.project.MavenProject.addAttachedArtifact(MavenProject.java:1440)
at org.apache.maven.project.DefaultMavenProjectHelper.attachArtifact(DefaultMavenProjectHelper.java:102)
at org.apache.maven.project.DefaultMavenProjectHelper.attachArtifact(DefaultMavenProjectHelper.java:70)
at org.apache.maven.plugin.jar.AbstractJarMojo.execute(AbstractJarMojo.java:179)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:629)
Attachments
Issue Links
- is related to
-
MNG-3119 Duplicate attached artifacts should not be allowed.
- Closed