Skip to content
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

Test to specify licenseSet includes from CLI #878

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathieu
Copy link

@mathieu mathieu commented Jan 8, 2025

Added an IT test to reproduce the solution provided in #536. In the tri-license-set-with-includes integration test we have 3 licenseSets and would only need to format the Unformatted2.java file via the command line.

On needs to update the license-maven-plugin/src/it/tri-license-set-with-includes/invoker.properties files to test others ways of setting this.

It fails for me with the following variations:

invoker.goals=license:format -Dlicense.licenseSets.licenseSet.includes=src/main/java/com/mycila/it/Unformatted2.java
invoker.goals=license:format -Dlicense.licenseSet.includes=src/main/java/com/mycila/it/Unformatted2.java
invoker.goals=license:format -Dlicense.includes=src/main/java/com/mycila/it/Unformatted2.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant