-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command Line flag to alter the list of included files to check #536
Comments
have you tried the following?
and if done from windows, quoted instead...
|
It doesn't work, includes from the cli do not get used by the plugin, either with |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
An alternative proposal could be to have a top-level variable that would list the files to consider instead of the whole content of the current folder... |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I will try to make a PR proposing to have a top-level variable that would list the files to consider instead of the whole content of the current folder... |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
…iles usage: mvn license:check -Dlicense.filesToCheck="src/main/org/acme/MyClass.java,src/main/org/acme/MyEnum.java"
Describe the feature
Using the plugin to check only a set of files (via precommit). It works fine with the legacy way of declaring include files.
But if I move my configuration inside the proposed
<LicenseSets><LicenseSet></LicenseSet></LicenseSets>
sectionusing the
LicenseSet.includes
proposed alternative doesn't work and all files are checked.Any alternative you've considered ?
Keep the legacy configuration but it has deprecation warnings
The text was updated successfully, but these errors were encountered: