-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 local Nexus server #977
Comments
I can't connect to Central either. Getting lots of "Could not connect to Central search. Analysis failed." messages. Is Artifactory an alternative option? |
Yes, Nexus Pro would be required to use the current Nexus Analyzer instead of Central. An artifactory instance is not viable yet as we have not created an Artifactory Analyzer. Note - if you are using Maven or Gradle there is very little gain from leaving the Central Analyzer enabled. If you are using Ant or the CLI - the Central Analyzer does pull in additional information that can assist with the identification process. |
To actually configure the Nexus Analyzer (which requires the Pro version) see the configuration documentation - specifically |
@jeremylong just to clarify, if we already use the Additionally for the Nexus Analyzer. Are both v2 and v3 Sonatype Nexus supported? |
ATM - there is very little gain from using the Central or Nexus analyzer if you are using the Maven or Gradle plugins to execute dependency-check. I believe Nexus v2 and Nexus Pro v3 work. From v2 to v3 Sonatype moved the API that was being used to the pro version. |
May I know how I can pass the credentials to the nexus analyzer from the CLI tool to use Nexus Pro instead of Central analyzer. Regards, |
@HKPSS looks like that we built this using Nexus 2 without authentication; others users have told us Nexus Pro 3 works as well. However, we did not implement any authentication to Nexus. If you are using the Maven or Gradle plugins you can disable the Central Analyzer and the only thing you will loose is validation that the JARs are the valid ones published in your Nexus (i.e. the HTML report they will have a green checkbox) and you will have a link to directly download the dependency. If you are using the CLI, Ant, or Jenkins plugins to scan and analyze the dependencies then the Central (or Nexus) analyzer can add additional information that reduces false positive/negatives. If the authentication to Nexus Pro v3 is something you need soon - PRs are always welcome. |
@jeremylong I don't have a Nexus Pro v3, but I do have a Nexus OSS v2 that requires authentication at my disposal. Will look into creating a PR that would make the NexusAnalyzer capable of at least authenticating to Nexus repository v2, assuming that it will also work for Pro v3. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I experience a number of timeouts from Central atm.
https://jeremylong.github.io/DependencyCheck/data/index.html states that
thx,
Roman
The text was updated successfully, but these errors were encountered: