You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Warren Goldman (JIRA)" <ji...@codehaus.org> on 2012/05/08 18:05:02 UTC

[jira] (MSHARED-218) Duplicate pom.properties files being created

    [ https://jira.codehaus.org/browse/MSHARED-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=298158#comment-298158 ] 

Warren Goldman commented on MSHARED-218:
----------------------------------------

Is there a work around, so they only show up once? Or if not that, so they are not included at all?
                
> Duplicate pom.properties files being created
> --------------------------------------------
>
>                 Key: MSHARED-218
>                 URL: https://jira.codehaus.org/browse/MSHARED-218
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>         Environment: Spring Tool Suite 2.8.1
> JDK 1.6.0_29
> Maven Integration for WTP 0.14.0
>            Reporter: Matthew Harrison
>         Attachments: test-0.0.1-SNAPSHOT.jar
>
>
> When using STS, if you create a new maven project (skip archetype selection), when running a maven install from inside eclipse you end up with a jar file as per the attached.
> This has two copies of the pom.properties, and pom.xml files in the META-INF directory (this causes knock on problems for us when running JiBX).
> It seems the reason that the final jar file has the duplicates in is that the target directory that is being jar'd up already contains these files, so they are being pulled in, and then the archiver is creating its own.
> I think it would be good if the archiver checked to see if the files where already there before creating them, if it doesn't already?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira