You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Bruno Essmann (JIRA)" <ji...@codehaus.org> on 2005/10/25 17:11:12 UTC
[jira] Created: (MNG-1321) Accept absolute license files as well as file URLs [PATCH]
Accept absolute license files as well as file URLs [PATCH]
----------------------------------------------------------
Key: MNG-1321
URL: http://jira.codehaus.org/browse/MNG-1321
Project: Maven 2
Type: Improvement
Components: maven-project-info-reports-plugin
Versions: 2.0
Reporter: Bruno Essmann
Priority: Trivial
Attachments: maven-project-info-reports-plugin-license-report.patch
Included is a small patch that works around the inability of UrlValidator (jakarta-commons/validator) to accept URLs without valid authority (i.e. file:// URLs).
The patch also allows definition of absolute file license file locations (i.e. when using locations such as ${basedir}/license.txt).
I'm still looking for a way to define a license file location relative to the topmost project, i.e. when using the following structure:
TopProj
|_ license.txt
|_ SubProj
|_ SubSubProj
I'd like to define the license file in the POM of the TopProj in such a way that it is a) relative to the location of TopProj and b) valid for all sub projects, including SubProj and SubSubProj.
I presume I could achieve this using a variable (similar to ${basedir}) that I'm not aware of at the moment...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1321) Accept absolute license files as well as file URLs [PATCH]
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1321?page=all ]
Brett Porter closed MNG-1321:
-----------------------------
Assign To: Brett Porter
Resolution: Fixed
Fix Version: 2.0.1
> Accept absolute license files as well as file URLs [PATCH]
> ----------------------------------------------------------
>
> Key: MNG-1321
> URL: http://jira.codehaus.org/browse/MNG-1321
> Project: Maven 2
> Type: Improvement
> Components: maven-project-info-reports-plugin
> Versions: 2.0
> Reporter: Bruno Essmann
> Assignee: Brett Porter
> Priority: Trivial
> Fix For: 2.0.1
> Attachments: maven-project-info-reports-plugin-license-report.patch
>
>
> Included is a small patch that works around the inability of UrlValidator (jakarta-commons/validator) to accept URLs without valid authority (i.e. file:// URLs).
> The patch also allows definition of absolute file license file locations (i.e. when using locations such as ${basedir}/license.txt).
> I'm still looking for a way to define a license file location relative to the topmost project, i.e. when using the following structure:
> TopProj
> |_ license.txt
> |_ SubProj
> |_ SubSubProj
> I'd like to define the license file in the POM of the TopProj in such a way that it is a) relative to the location of TopProj and b) valid for all sub projects, including SubProj and SubSubProj.
> I presume I could achieve this using a variable (similar to ${basedir}) that I'm not aware of at the moment...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1321) Accept absolute license files as well as file URLs [PATCH]
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1321?page=comments#action_49847 ]
Brett Porter commented on MNG-1321:
-----------------------------------
this is a good workaround, but note also that file://localhost/path/to/file is a valid URL (though localhost is optional according to the spec)
> Accept absolute license files as well as file URLs [PATCH]
> ----------------------------------------------------------
>
> Key: MNG-1321
> URL: http://jira.codehaus.org/browse/MNG-1321
> Project: Maven 2
> Type: Improvement
> Components: maven-project-info-reports-plugin
> Versions: 2.0
> Reporter: Bruno Essmann
> Priority: Trivial
> Fix For: 2.0.1
> Attachments: maven-project-info-reports-plugin-license-report.patch
>
>
> Included is a small patch that works around the inability of UrlValidator (jakarta-commons/validator) to accept URLs without valid authority (i.e. file:// URLs).
> The patch also allows definition of absolute file license file locations (i.e. when using locations such as ${basedir}/license.txt).
> I'm still looking for a way to define a license file location relative to the topmost project, i.e. when using the following structure:
> TopProj
> |_ license.txt
> |_ SubProj
> |_ SubSubProj
> I'd like to define the license file in the POM of the TopProj in such a way that it is a) relative to the location of TopProj and b) valid for all sub projects, including SubProj and SubSubProj.
> I presume I could achieve this using a variable (similar to ${basedir}) that I'm not aware of at the moment...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org