DuplicateArtifactAttachmentException On Building Test Jar
---------------------------------------------------------

                 Key: MNG-4013
                 URL: http://jira.codehaus.org/browse/MNG-4013
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 3.0-alpha-2
            Reporter: Shane Isbell


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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to