Sure:
The reason for the modification is that we need a unique serial number added
to the manifest of all archives that are generated at the time of the build.
I checked out the maven trunk, modified the MavenArchiver to add the
appropriate line to the Manifest. Built and installed the maven-archiver
with maven (obviously) which added the archive to my local repo as
2.2-SNAPSHOT. The final thing to do is add this new archiver as a
dependency for those plugins which use the maven-archiver. For example:
<project>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
<version>2.2-SNAPSHOT</version>
</plugin>
</plugins>
</build>
</project>
Hope this helps.
Kind regards,
--
Marc
-----Original Message-----
From: Cazottes Nicolas [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 15:52
To: [EMAIL PROTECTED]
Subject: RE:maven-archiver
Hello,
Could you explain me how did you do this please ?
Regards,
Nicolas
-----Original Message-----
From: Marc L. Veary [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 14:33
To: [email protected]
Subject: maven-archiver
Ignore this, I've found how to do it.
... my alias is 'brain dead on a Friday afternoon'
Kind regards,
--
Marc
-----Original Message-----
From: Marc L. Veary [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 14:33
To: [email protected]
Subject: maven-archiver
Hi All,
I am using Maven 2.0.4.
I checked out the latest version, modified the MavenArchiver, re-build it,
and it was successfully installed in my local repo as 2.2-SNAPSHOT
What I am struggling with is getting maven to use this new archiver instead
of the older version.
Could anyone give me a hint as to how to get maven to use my newly modified
MavenArchiver?
Kind regards,
--
Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]