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

Configure URL for maven central #427

Closed
natan-abolafya opened this issue Dec 10, 2024 · 4 comments
Closed

Configure URL for maven central #427

natan-abolafya opened this issue Dec 10, 2024 · 4 comments
Labels

Comments

@natan-abolafya
Copy link

Hi. We have started hitting the maven sometimes being down issue, i.e: jeremylong/DependencyCheck#7234

Looks like using central is now the default (though I think the documentation needs an update?) and recommended. I was wondering if there is a way to configure dependencycheck so it uses our nexus proxy for example. I am not even sure if Nexus really supports the tools needed for this but I thought it's worth to ask.

I could see that there is some sort of config https://github.com/jeremylong/DependencyCheck/blob/main/utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java#L666 but I couldn't really figure out setting an arbitrary config.

@jeremylong
Copy link
Collaborator

Consider looking at the documentation:

analyzers.nexusEnabled = true
analyzers.nexusUrl = 'https://internal.nexus/services/local'

@natan-abolafya
Copy link
Author

:)

That is for Nexus Analyser which we don't have right now. We just have the OSS version. I was just thinking the maven proxy the Nexus has.

Just in case we upgrade to Nexus Pro, does that also override the central URL?

@jeremylong
Copy link
Collaborator

I don't think nexus proxies the search.

@natan-abolafya
Copy link
Author

OK, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants