Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: maven-archiver-2.4, maven-archiver-2.4.1
-
Fix Version/s: None
-
Component/s: maven-archiver
-
Labels:None
-
Environment:maven 2.2.1/3.0.2, java 6
-
Number of attachments :
Description
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.