Skip to content

Remove the need for setting up a dummy repository#715

Merged
eyalbe4 merged 2 commits intojfrog:masterfrom
Marvelution:no-dummy-take-2
Apr 13, 2023
Merged

Remove the need for setting up a dummy repository#715
eyalbe4 merged 2 commits intojfrog:masterfrom
Marvelution:no-dummy-take-2

Conversation

@markrekveld
Copy link
Copy Markdown
Contributor

This PR is the continuation of the original PR #683 that was reverted because of authentication issues.

This PR adds setting authentication and proxy details if configured, the one missing bit looking at the provided issues in comment #683 (comment)

Background info:

The dummy repository is added to allow for the resolution of depedencies using the jfrog cli resolver configuration for Maven. Some maven build plugins, like the org.codehaus.mojo:versions-maven-plugin will try to resolve artifacts using this dummy repository but will always fail.

This PR implements a solution that allows maven build plugins to resolve artifacts using the jfrog cli resolver configuration by configuring the snapshot and release resolver repositories just like the ArtifactoryEclipseResolversHelper and ArtifactorySonatypeResolversHelper do.
Instead of configuring a dummy and "hoping" it gets proxied to resolver repositories.

@markrekveld markrekveld changed the title No dummy take 2 No dummy Repository Mar 2, 2023
@markrekveld
Copy link
Copy Markdown
Contributor Author

@omerzi I updated the dummy removal PR to also include authentication and proxy settings. Can you give it a review?

@eyalbe4 eyalbe4 self-requested a review April 5, 2023 09:41
@eyalbe4 eyalbe4 added safe to test Approve running integration tests on a pull request bug Create a report to help us improve labels Apr 13, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Apr 13, 2023
@eyalbe4 eyalbe4 changed the title No dummy Repository Remove the need for setting up a dummy repository Apr 13, 2023
@eyalbe4 eyalbe4 merged commit 8c4f8b0 into jfrog:master Apr 13, 2023
@markrekveld markrekveld deleted the no-dummy-take-2 branch May 12, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Create a report to help us improve

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants