The following comment has been added to this issue:
Author: Phil Steitz
Created: Sun, 16 Jan 2005 9:11 PM
Body:
Defintely looks better. I did not know of maven.license.licenseFile and was
incorrectly thinking that it was related to the licenses element in the POM.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPANT-23?page=comments#action_29002
---------------------------------------------------------------------
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: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ant-plugin
Assignee: Arnaud HERITIER
Reporter: Phil Steitz
Created: Tue, 11 Jan 2005 11:39 PM
Updated: Sun, 16 Jan 2005 9:11 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]