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

✨ Get deps fallback for .war/.ear files if no jars found #695

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

eemcmullan
Copy link
Contributor

No description provided.

Signed-off-by: Emily McMullan <[email protected]>
@eemcmullan eemcmullan changed the title Get deps fallback if no jars found Get deps fallback for .war/.ear files if no jars found Aug 28, 2024
@eemcmullan eemcmullan changed the title Get deps fallback for .war/.ear files if no jars found ✨ Get deps fallback for .war/.ear files if no jars found Aug 28, 2024
Copy link
Member

@aufi aufi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmle
Copy link
Contributor

jmle commented Sep 2, 2024

The only problem here is the case when there are multiple poms inside the WAR file, which is something that can happen. In that case, this solution would give a partial list of dependencies, since we are stopping after finding the first pom. Ideally we would find all poms and concat their respective deps

@pranavgaikwad
Copy link
Contributor

@jmle What happens in cases where the POMs have a parent - child relation? Does the fallback parser care if it cannot fully resolve the parent or children modules?

Signed-off-by: Emily McMullan <[email protected]>
@eemcmullan
Copy link
Contributor Author

@jmle updated to get all poms

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.

4 participants