You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2011/02/10 12:13:22 UTC

[jira] Closed: (MSHARED-185) maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR

     [ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MSHARED-185.
-------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

> maven-archiver doesn't generate META-INF/maven/groupid/artifactId/pom.* files in JAR
> ------------------------------------------------------------------------------------
>
>                 Key: MSHARED-185
>                 URL: http://jira.codehaus.org/browse/MSHARED-185
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4, maven-archiver-2.4.1
>         Environment: maven 2.2.1/3.0.2, java 6
>            Reporter: Marek Novotný
>            Assignee: Benjamin Bentmann
>         Attachments: MSHARED-185.zip
>
>
> I am using maven-jar-plugin 2.3.1, which using maven-archiver 2.4.1. In that configuration in generated jar is not added META-INF/maven/* files. There is only empty file META-INF/maven.
> I tried to donwgrade to maven-jar-plugin 2.2/2.1, which uses maven-archiver 2.3/2.2 and it works fine - files META-INF/maven/groupId/artifactId/pom.* files were added/generated.
> I tried also to add into archive configuration <addMavenDescriptor/> and <addMavenDescriptor>true</addMavenDescriptor>, although it should be set true by default, but it doesn't help.

-- 
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