Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.11
-
None
-
None
Description
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.
[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.
Attachments
Issue Links
- relates to
-
MCHECKSTYLE-225 headerLocation no longer sets checkstyle.header.file
- Closed