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

Reworked to use maven resolver #2

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

Conversation

infvg
Copy link

@infvg infvg commented Oct 1, 2024

I've reworked the project to use maven-resolver as opposed to the depreciated sonatype aether.

One important change is that DefaultArtifact has been deleted - I've used org.eclipse.aether.artifact.DefaultArtifact as it provides the same functionality.

Testing:
All the original unit tests are passing.
Screenshot 2024-09-12 at 5 23 57 PM
Screenshot 2024-09-12 at 5 24 17 PM

Copy link

linux-foundation-easycla bot commented Oct 1, 2024

CLA Not Signed

@tdcmeehan
Copy link

Please squash commits

If implemented this will upgrade the project off of the deprecated
sonatype aether dependency to maven-resolver.

* update to latest resolver and maven (move off org.sonatype)
* keep all almost untouched (but mark deprecations)
@infvg infvg force-pushed the rework-maven branch 4 times, most recently from 44f5481 to 09619a3 Compare October 29, 2024 13:53
Copy link

@ZacBlanco ZacBlanco left a comment

Choose a reason for hiding this comment

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

Two minor issues, otherwise changes lgtm

resolver-integration/pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@ZacBlanco
Copy link

Just tacking on to add that I believe we'll need this update for the Java 21 work

resolver/pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
If merged, this PR will match the functionality that was previously
provided by the old sonatype version.

Remove downloadable check
Move project builder instantiation to speed up resolution
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