[ http://jira.codehaus.org/browse/MSHARED-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255554#action_255554 ]
Marek Novotný commented on MSHARED-185: --------------------------------------- I can now see the issue, it was in extraction from jar, SORRY! > 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: maven-bug.zip, 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