You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/01/12 05:42:28 UTC
[jira] Updated: (MPANT-23) Add License file to jar META-INF
The following issue has been updated:
Updater: Phil Steitz (mailto:phil@steitz.com)
Date: Tue, 11 Jan 2005 11:40 PM
Changes:
Attachment changed to antPluginPatch
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPANT-23?page=history
---------------------------------------------------------------------
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: Tue, 11 Jan 2005 11:40 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org