You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope this is the right place to start this discussion.
The ClearlyDefined coordinate system is a great way to have something that is not specific to a technology. The provider definition as a String seems to be limited with the explosion of services/suppliers to host dependency (Bintray, GitHub packages, …)
1) type : "maven" example:
The provider value mavencentral corresponds to the repository hosted at https://repo1.maven.org/maven2/.
I did not checked if other provider values are possible. If we take the Gradle built-in shorthand notations, there is also:
github.com isn't the only git provider. There are other big open source providers (gitlab, bitbucket, …) and again every organization/company can have its own git server.
...
The provider String value is convenient but limited. Is there a list of the accepted values?
When a repository is not part of the list is could be replaced by a provider_url attribute, to support cases where a dependency comes from a small unknown repository.
I hope this is the right place to start this discussion.
The ClearlyDefined coordinate system is a great way to have something that is not specific to a technology. The
provider
definition as a String seems to be limited with the explosion of services/suppliers to host dependency (Bintray, GitHub packages, …)1) type : "maven" example:
The provider value
mavencentral
corresponds to the repository hosted athttps://repo1.maven.org/maven2/
.I did not checked if other provider values are possible. If we take the Gradle built-in shorthand notations, there is also:
jcenter
google
If we look at the list of top indexed repositories made by the mvnrepository.com website, we also additional possible values:
springio-libs-release
springio-plugins-release
sonatype-releases
jboss-ea
jboss-releases
jenkins-releases
But there is no way all possible values can be defined as a String constant.
Company or organization can defined their own maven repository and use it as part of their build.
2) type : "npm" example:
The value
npmjs
correspond to the url:npmjs
Yarn is often using an other repository:
yarnpkg
3) type : "git" example:
github.com isn't the only git provider. There are other big open source providers (gitlab, bitbucket, …) and again every organization/company can have its own git server.
...
The
provider
String value is convenient but limited. Is there a list of the accepted values?When a repository is not part of the list is could be replaced by a
provider_url
attribute, to support cases where a dependency comes from a small unknown repository.This might be related to #119
The text was updated successfully, but these errors were encountered: