Robert Scholte created MCHECKSTYLE-219:
------------------------------------------
Summary: 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
Priority: Critical
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)