[ https://issues.apache.org/jira/browse/MASSEMBLY-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Boué updated MASSEMBLY-835: ------------------------------------- Attachment: MASSEMBLY-835.zip > Assembly Plugin doesn't add the Maven descriptors with the JarArchiver > ---------------------------------------------------------------------- > > Key: MASSEMBLY-835 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-835 > Project: Maven Assembly Plugin > Issue Type: Bug > Affects Versions: 2.6 > Reporter: Guillaume Boué > Assignee: Guillaume Boué > Attachments: MASSEMBLY-835.zip > > > It is possible to configure the Assembly Plugin with an {{archiver}} > parameter. However, only the configured manifest would be added to the JAR > archive in {{META-INF/MANIFEST.MF}}, the other archive configuration are > ignored. Notably, the Maven descriptors {{pom.xml}} and {{pom.properties}} > are not added under {{META-INF/maven}}, although {{addMavenDescriptor}} > defaults to {{true}} as per the [Archiver > reference|https://maven.apache.org/shared/maven-archiver/]. (Note that > explictly setting it to {{true}} doesn't create them either.) > A sample project {{MASSEMBLY-835.zip}} is attached. Running {{mvn clean > package}}, the created {{target/test-1.0-SNAPSHOT-its.jar}} has the following > structure: > {noformat} > ├───META-INF > │ MANIFEST.MF > │ > └───test-1.0-SNAPSHOT > assembly.xml > pom.xml > {noformat} > The expected structure would be: > {noformat} > ├───META-INF > │ │ MANIFEST.MF > │ │ > │ └───maven > │ └───test > │ └───test > │ pom.properties > │ pom.xml > │ > └───test-1.0-SNAPSHOT > assembly.xml > pom.xml > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)