Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2
-
Fix Version/s: 1.2
-
Labels:None
-
Number of attachments :
Description
Hi,
I'd like to have a goal that just checks if all files have a valid license in their header. If in any file the license is missing then the build should fail with an appropriate error message that contains the files which do not have a valid license header.
An alternative to creating a new goal could be to add a boolean parameter "failOnMissingHeader" to the update-file-header goal. If this flag is enabled a dryRun will be performed and the goal fails if any file is missing a header.
Kind regards,
Joern
Activity
Tony Chemit
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | In Progress [ 3 ] |
Tony Chemit
made changes -
| Status | In Progress [ 3 ] | Open [ 1 ] |
Tony Chemit
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 1.2 [ 18531 ] | |
| Resolution | Fixed [ 1 ] |
Good idea, I will soon code the new mojo and add the other boolean in existing mojo.