hi all
I am using following snippet to add maven-archiver version 2.4 in
dependency for jar plugin. I am doing this becuase maven-jar-plugin version
2.2 uses maven-archiver 2.3. I want to use version 2.4.
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<dependencies>
<dependency>
<artifactId>maven-archiver</artifactId>
<groupId>org.apache.maven</groupId>
<version>2.4</version>
</dependency>
</dependencies>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathLayoutType>custom</classpathLayoutType>
<customClasspathLayout>${artifact.artifactId}.${artifact.extension}</customClasspathLayout>
</manifest>
<manifestEntries>
<Implementation.version>${project.version}</Implementation.version>
</manifestEntries>
</archive>
</configuration>
<plugin>
It builds the jar file properly but the Classpath entry in the manifest does
not come out properly. I have 4 dependencies and manifest i am getting
null.null 4 times. I am expecting actual artifactId.extension format.
Any help is really appreciated.
My alternate email address is - [email protected]
thanks a lot
Abhijit
--
View this message in context:
http://www.nabble.com/Maven-archiver-2.4-not-resolving-%24%7Bartifact.artifactId%7D.%24%7Bartifact.extension%7D-in-customClasspathLayout-entry.-tp25236285p25236285.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]