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

Ignore external Jars (ext:"jar") #262

Open
AvoMMH opened this issue Mar 7, 2023 · 0 comments
Open

Ignore external Jars (ext:"jar") #262

AvoMMH opened this issue Mar 7, 2023 · 0 comments

Comments

@AvoMMH
Copy link

AvoMMH commented Mar 7, 2023

Hey,
I have a project with some custom jars.
When I try to generate the report i get an error:

> Task :generateLicenseReport
Failed to retrieve artifacts for [group:, name:[name], version:, ext:pom]
org.gradle.internal.resolve.ArtifactNotFoundException: Could not find [name]-.pom (:[name]:).
Searched in the following locations:
    file:/C:/Project/lib/[name].pom

I tried excluding the dep manually with:

licenseReport {
    excludes = [":[name]:"]
    renderers = [new InventoryHtmlReportRenderer()]
    filters = [new LicenseBundleNormalizer()]
}

(I also tried it without the double dot)

TLDR: I have a custom jar, that I want to exclude from the report.

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

No branches or pull requests

1 participant