[
http://jira.codehaus.org/browse/MASSEMBLY-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129294#action_129294
]
Petar Tahchiev commented on MASSEMBLY-245:
------------------------------------------
OK,here is what I put in my pom.xml :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-1</version>
<configuration>
<descriptors>
<descriptor>src/assemble/main.xml</descriptor>
</descriptors>
<archive>
<manifestEntries>
<Specification-Title>${project.name}</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
<X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
And I see none of the tags specified in the produced MANIFEST>MF file.
> Manifest configuration does not work properly
> ---------------------------------------------
>
> Key: MASSEMBLY-245
> URL: http://jira.codehaus.org/browse/MASSEMBLY-245
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-1
> Environment: XP
> Reporter: David Hoffer
>
> The documentation at
> http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
> states..."the Assembly Plugin supports configuration of an <archive> element
> which is identical to that supported by the maven-jar-plugin"
> However when I add a manifestEntries section just like I have in my
> maven-jar-plugin configuration, it is ignored by the assembly plugin. The
> manifest section works but not manifestEntries.
> I need both sections to work as documented.
--
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