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

YAKS fails due to inability to retrieve surefire-junit4-2.22.2 #477

Closed
gerrym7 opened this issue Aug 25, 2023 · 1 comment · Fixed by #478
Closed

YAKS fails due to inability to retrieve surefire-junit4-2.22.2 #477

gerrym7 opened this issue Aug 25, 2023 · 1 comment · Fixed by #478
Labels
enhancement New feature or request

Comments

@gerrym7
Copy link

gerrym7 commented Aug 25, 2023

Direct access to external public repositories is forbidden in our restrictive environment and access to external artifacts can only be accessed through proxied repositories in our private Artifactory. I made an attempt to include an entry in the yaks-config.yaml that points to our Artifactory with the appropriate proxied repository, yet YAKS continues its attempt to retrieve the JUnit Runner directly from the external central (https://repo.maven.apache.org/maven2).

This is currently a blocker for us as it's extremely unlikely our organization will make a firewall exception to get around this issue. Is there a way around this?

@christophd christophd added the enhancement New feature or request label Aug 30, 2023
@christophd
Copy link
Member

surefire-junit4 is a Maven plugin and therefore the Maven project configuration must add a custom pluginRepository. At the moment YAKS is only able to set custom arbitrary repositories for resolving dependency artifacts.

I think this would be a good enhancement to also set custom plugin repositories for Maven.

christophd added a commit to christophd/yaks that referenced this issue Aug 30, 2023
Enable users to define custom Maven plugin repositories
christophd added a commit to christophd/yaks that referenced this issue Aug 31, 2023
Enable users to define custom Maven plugin repositories
christophd added a commit that referenced this issue Aug 31, 2023
Enable users to define custom Maven plugin repositories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants