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

Possibility to exclude own dependencies in download-licenses goal #40

Closed
Matze2 opened this issue May 25, 2016 · 2 comments
Closed

Possibility to exclude own dependencies in download-licenses goal #40

Matze2 opened this issue May 25, 2016 · 2 comments
Assignees
Milestone

Comments

@Matze2
Copy link
Contributor

Matze2 commented May 25, 2016

Our own artifacts do not have any license information which leads to false warnings like
[WARNING] POM for dependency : has an invalid license URL: null
[WARNING] No license information available for: :

While this is only a cosmetic issue it might happen that real warnings about missing license of foreign components get overseen.

It would be nice to have some exclude possibilities similar to add-third-party.
For us having <excludedGroups> and <excludedLicenses> (if this is possible) would help a lot.

Thank you very much that development continues for this useful plugin!

@Matze2
Copy link
Contributor Author

Matze2 commented Jun 10, 2016

I gave it a quick try and added an "excludedGroups" property in AbstractDownloadLicensesMojo class and adjusted the getter and it immediately worked that we could exclude our own groups by regexp pattern for download-licenses goal.
So the existing code is already 99% prepared for that.

@tchemit tchemit added this to the 1.11 milestone Jan 3, 2017
@tchemit tchemit self-assigned this Jan 3, 2017
@tchemit tchemit closed this as completed in f58f282 Jan 3, 2017
@tchemit
Copy link
Contributor

tchemit commented Jan 3, 2017

@Matze2 Ok I have just implements for (include/exclude) for scopes, groupIds and artifactIds.

Have a look to it ISSUE-40 for configuration.

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

No branches or pull requests

2 participants