-
Notifications
You must be signed in to change notification settings - Fork 48
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
RFE: support other maven repos #9
Comments
This is planned, and needs to be done on the service side. This should be as easy as adding it to https://github.com/victims/victims-web/blob/master/src/victims_web/config.py#L89 either in prod or as defaults. I need to test if Charon falls over with r.j.o/maven.redhat. |
Although I think an optional |
+1 |
This issue has been fixed in the service side, and the Red Hat repository has been added. I propose adding an optional 'repository' field to reports if the report is a library not from Maven central. |
At VersionEye we stopped adding more maven repositories to the crawling framework because we got issues with that. Non official maven repositories can overwrite official artefacts and provide a different hash value. Plus they can publish non official releases of official artifacts like TestNG. This are just some of the issues we had to face at VersionEye. @dfj Why is RedHat not publishing to Maven Central? With the right Maven plugin it's a 1 command deployment. |
I think Red Hat does not publish to maven central because we don't want to rely on a third party for our builds to work.
|
Most of the time we won't need to include the repository field as versions are available in Maven central as well other repositories. However we should include it where the dependency is only found in a third party repository. |
What do you think about adding support for maven repos other than central, e.g. maven.repository.redhat.com? As an example implementation off the top of my head, you could allow multiple "affected" elements. language-module: java could then have an optional "repository" element specifying the repo URL; if this is omitted, maven central would be assumed as a default.
The text was updated successfully, but these errors were encountered: