[ 
https://jira.codehaus.org/browse/MCHECKSTYLE-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MCHECKSTYLE-219.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12
         Assignee: Robert Scholte

Fixed in [r1573147|http://svn.apache.org/r1573147]

> When no license is specified, ALv2 from maven-checkstyle-plugin is used
> -----------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-219
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-219
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.11
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>            Priority: Critical
>             Fix For: 2.12
>
>
> In practice most projects start without specifying a license by default. When 
> using the maven-checkstyle-plugin, it'll search on several locations for the 
> license, ending with looking in the checkstyle-plugin itself. Now the project 
> suddenly inherits the ALv2, which is just not correct.
> {noformat}
> [main] [DEBUG] headerLocation LICENSE.txt
> [main] [DEBUG] The resource 'LICENSE.txt' was not found with resourceLoader 
> org.codehaus.plexus.resource.loader.FileResourceLoader.
> [main] [DEBUG] URLResourceLoader: Exception when looking for 'LICENSE.txt' at 
> ''
> java.net.MalformedURLException: no protocol: LICENSE.txt
> ...
> [main] [DEBUG] The resource 'LICENSE.txt' was not found with resourceLoader 
> org.codehaus.plexus.resource.loader.URLResourceLoader.
> [main] [DEBUG] The resource 'LICENSE.txt' was not found with resourceLoader 
> org.codehaus.plexus.resource.loader.JarResourceLoader.
> [main] [DEBUG] The resource 'LICENSE.txt' was found as 
> jar:file:/E:/java-workspace/apache-maven-plugins/maven-checkstyle-plugin/target/local-repo/org/apache/maven/plugins/maven-checkstyle-plugin/2.12-SNAPSHOT/maven-checkstyle-plugin-2.12-SNAPSHOT.jar!/LICENSE.txt.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to