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

Add the option to retrieve remote licenses for projects defined in a … #2409

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

coheigea
Copy link
Contributor

@coheigea coheigea commented Dec 8, 2023

…maven pom

Similar to work I did to remotely retrieve licenses from Maven Central for dependencies in jars, this adds the same functionality when you're scanning a pom.xml instead. I moved the maven utilities from archive_parser into a separate file to maintain a cleaner separation.

You can reproduce with the project referenced on this issue #2266
Once PR is merged I'll look at getting the versions from the parent poms as well.

@coheigea coheigea force-pushed the coheigea/maven-license-pom branch 2 times, most recently from 7387c0b to 39e288d Compare December 8, 2023 14:04
…maven pom

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
@spiffcs
Copy link
Contributor

spiffcs commented Dec 12, 2023

You're so awesome - thank you so much @coheigea for the improvements on this part of the code

@spiffcs spiffcs merged commit e789e07 into anchore:main Dec 12, 2023
10 checks passed
@coheigea coheigea deleted the coheigea/maven-license-pom branch December 13, 2023 05:47
@willmurphyscode willmurphyscode added the enhancement New feature or request label Dec 21, 2023
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
… in a maven pom (anchore#2409)

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants