[
http://jira.codehaus.org/browse/MOJO-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Gier updated MOJO-1623:
----------------------------
Fix Version/s: (was: buildnumber-maven-plugin-1.0-beta-5)
license-maven-plugin-1.0-beta-1
> license-maven-plugin should take into account case sensitivity with
> downloaded license file names
> -------------------------------------------------------------------------------------------------
>
> Key: MOJO-1623
> URL: http://jira.codehaus.org/browse/MOJO-1623
> Project: Mojo
> Issue Type: Improvement
> Components: license
> Environment: Version 1.0-alpha-1-jboss-1 of
> org.codehaus.mojo:license-maven-plugin
> Reporter: Jaikiran
> Assignee: Paul Gier
> Fix For: license-maven-plugin-1.0-beta-1
>
>
> JBoss Application Server uses the license-maven-plugin to download the
> dependency project licenses. The file names of the downloaded files are case
> sensitive - i.e. the plugin can end up creating a file named lgpl.txt *and*
> LGPL.txt in the same "licensesOutputDirectory". Effectively, on operating
> systems where the case isn't taken into account, this can lead to duplicate
> file issues as reported in this issue
> https://issues.jboss.org/browse/JBAS-8794
> A quick fix/configuration would be to allow a configuration parameter in the
> plugin, like "ignoreLicenseFileNameCase" which defaults to false (for
> backward compatibility). The
> org.codehaus.mojo.license.DownloadLicensesMojo#getLicenseFileName(License
> license) can then be changed to something like:
> private String getLicenseFileName( License license )
> throws MalformedURLException
> {
> ....
> if (ignoreLicenseFileNameCase)
> {
> return licenseFileName.toLowerCase();
> }
> return licenseFileName;
> }
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email