[
https://jira.codehaus.org/browse/MLICENSE-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Connolly moved MOJO-1623 to MLICENSE-17:
------------------------------------------------
Complexity: (was: Intermediate)
Fix Version/s: (was: license-maven-plugin-1.0-beta-1)
1.0-beta-1
Component/s: (was: license)
Key: MLICENSE-17 (was: MOJO-1623)
Project: Mojo's License Maven Plugin (was: Mojo)
> license-maven-plugin should take into account case sensitivity with
> downloaded license file names
> -------------------------------------------------------------------------------------------------
>
> Key: MLICENSE-17
> URL: https://jira.codehaus.org/browse/MLICENSE-17
> Project: Mojo's License Maven Plugin
> Issue Type: Improvement
> Environment: Version 1.0-alpha-1-jboss-1 of
> org.codehaus.mojo:license-maven-plugin
> Reporter: Jaikiran
> Assignee: Paul Gier
> Fix For: 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.
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