Open tharakadesilva opened 1 month ago
Just noting, snapshot artifacts will never work for maven_installs that use a lockfile since the version (0.3.0-20240503.081128-2) and SHA of the snapshot jar can change without changing the artifact version (0.3.0-SNAPSHOT), which would make the lockfile incorrect.
Since the maven resolver requires a lock file we would have to add a feature for the maven resolver to not require the lockfile before looking at supporting snapshot repos.
In Artifactory, we have a repository called
maven
and inside maven, we can assume we have a library undermaven/my/org/my-library/0.3.0-SNAPSHOT
.In this index, we have the following files:
However, when we try to refer to it with something like
maven.artifact("my.org", "my-library", "0.3.0-SNAPSHOT")
, we are getting:This was resolved with Coursier and the lock file was generated.
Additional Information:
Bazel Version: 6.5.0 rules_jvm_eternal Version: 6.1 Operating System: MacOS