Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
-
None
Description
Hi,
currently I am using the maven-jar-plugin 2.2.
One of my project-teams really has the need to specify the <customClasspathLayout> introduced with maven-archiver 2.4.
Just adding maven-archiver 2.4 to the dependencies of the maven-jar-plugin did not help.
What I am trying is to use following <manifest>-entry in maven-jar-plugin:
<manifest>
<addClasspath>true</addClasspath>
<classpathLayoutType>custom</classpathLayoutType>
<customClasspathLayout>${artifact.artifactId}.${artifact.extension}</customClasspathLayout>
</manifest>
But the classpath-entries are only resolved to null.null, I guess 'artifact' is not resolved to anything.