Add support for artifact recipes as file #800
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
The plugin already support
recipeArtifactCoordinates
that will resolve artifact from a remote repository and it's transitive dependency. I would like to support loading recipes directly from the file system without having the artifact published to a remote repository.My use case imply that I don't want to add necessary maven repositories (via pom or settings) So I must resolve recipes locally.
I've just verified that tests are passing, but I didn't add any.
I've tested on a sample project
Right now
recipeArtifactCoordinates
takes precedence onrecipeArtifactFiles
when we can imagine support both by adding more classloader to the environmentWhat's changed?
See before
What's your motivation?
See before
Anyone you would like to review specifically?
@timtebeek
Have you considered any alternatives or workarounds?
Yes by publishing to a remote temporary repository and updating maven repository. But is not convenient on my use case that I don't want to use any custom settings or update poms.
Any additional context
The GSoC 2024 https://summerofcode.withgoogle.com/programs/2024/projects/anaMmWRR
Checklist