You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Achim Westermann (JIRA)" <ji...@codehaus.org> on 2005/04/11 11:51:42 UTC
[jira] Created: (MPJAR-45) Exclude jar name by default.
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org