File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,15 +202,16 @@ test "$FETCH_HEAD" = "$(git merge-base $FETCH_HEAD $HEAD)" ||
202202# Ensure license headers are up-to-date.
203203test " $SKIP_LICENSE_UPDATE " -o -z " $licenseName " -o " $licenseName " = " N/A" || {
204204 mvn license:update-project-license license:update-file-header &&
205- git add LICENSE.txt ||
206- die ' Failed to update copyright blurbs '
205+ git add LICENSE.txt || die ' Failed to update copyright blurbs.
206+ You can skip the license update using the --skip-license-update flag. '
207207 no_changes_pending ||
208208 die ' Copyright blurbs needed an update -- commit changes and try again.
209209Or if the license headers are being added erroneously to certain files,
210210exclude them by setting license.excludes in your POM; e.g.:
211211
212212 <license.excludes>**/script_templates/**</license.excludes>
213- '
213+
214+ Alternately, try again with the --skip-license-update flag.'
214215}
215216
216217# Prepare new release without pushing (requires the release plugin >= 2.1).
You can’t perform that action at this time.
0 commit comments