mojohaus/license-maven-plugin

license:check-file-header wrongly fails build

Open

#54 opened on Jul 20, 2016

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Java (127 forks)auto 404
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..

Contributor guide