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

No dependencies submitted when Maven outputDirectory set to a non-default value #48

Open
peter-murray opened this issue Oct 19, 2023 · 1 comment
Assignees

Comments

@peter-murray
Copy link
Contributor

If the POM utilizes a non-default outputDirectory the current execution of the dependency tree generation will use this non default location that the action will look for the results in.

Fetching the output directory setting will require dumping and parsing the effective POM which will add over head in the execution time. The depgraph-maven-plugin does have support for explicitly setting the output directory for the dependency tree files that are being parsed.

For a sensible interim (maybe long term fix) set the outputDirectory to target (the default maven setting, unless overridden) so as to provide a consistent place to fetch the dependency data from.

@peter-murray peter-murray self-assigned this Nov 22, 2023
@peter-murray
Copy link
Contributor Author

This was added in 3.0.3 to hard code the output directory to target when running the action

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