Message:
The following issue has been closed.
Resolver: Arnaud HERITIER
Date: Sat, 26 Feb 2005 8:53 PM
Applied. thanks
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPANT-23
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPANT-23
Summary: Add License file to jar META-INF
Type: Improvement
Status: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ant-plugin
Fix Fors:
1.9
Assignee: Arnaud HERITIER
Reporter: Phil Steitz
Created: Tue, 11 Jan 2005 11:39 PM
Updated: Sat, 26 Feb 2005 8:53 PM
Description:
The maven jar plugin automatically adds license files to jar META-INF. The Ant
plugin can be made to generate a build.xml that does this by including this
file as a resource with targetpath META-INF, but this causes the maven jar task
to insert two copies of the file.
It would be great if the ant plugin generated a build.xml that does the same
thing that the maven jar task does. I am attaching a patch that works if the
url property of licenses in the POM is a relative local path reference to the
license file. I could not figure out how to canonicalize the file path as the
jar plugin appears to do.
---------------------------------------------------------------------
JIRA INFORMATION:
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]