mojohaus/license-maven-plugin
View on GitHublicense:check-file-header wrongly fails build
Open
#54 opened on Jul 20, 2016
file-headerhelp wanted
Repository metrics
- Stars
- (115 stars)
- PR merge metrics
- (PR metrics pending)
Description
http://www.mojohaus.org/license-maven-plugin/check-file-header-mojo.html
Perhaps a misunderstanding, but I understood license:check-file-header -Dlicense.failOnMissingHeader=true -Dlicense.failOnNotUptodateHeader=true to be similar to other plugins which will not update the source code, but instead check for compliance according to the rules of the plugin. So, when I invoke it, if any files in my source tree would require a license header update, then the build should fail. Instead, it is failing even when license:update-file-header makes no changes to any source files..