[ http://jira.codehaus.org/browse/MPJAR-45?page=all ] Lukas Theussl closed MPJAR-45: ------------------------------
Assign To: Lukas Theussl Resolution: Cannot Reproduce Fix Version: 1.8 > 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 > Assignee: Lukas Theussl > Fix For: 1.8 > > Original Estimate: 1 hour > Remaining: 1 hour > > 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira