Exclude jar name by default.
----------------------------
Key: MPJAR-45
URL: http://jira.codehaus.org/browse/MPJAR-45
Project: maven-jar-plugin
Type: Improvement
Versions: 1.6
Environment: maven 1.02, Windows XP SP2, Java 1.4.2_5.
Reporter: Achim Westermann
Several runs of the jar goal (maven jar) produce the error: "A zip file cannot
include itself".
This is because the jar file is updated and it is tried to add itself to it.
Workaround:
The excludes have to filter the jar file itself:
maven.jar.excludes = **/${maven.final.name}.jar,...
This setting should be there for default.
kind regards,
Achim
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]