maven_jar: Add support to consume snapshot dependencies

Change-Id: I9b1b6794218d6eeba29287eda271eb9fd052925d
This commit is contained in:
David Ostrovsky
2019-01-14 07:11:04 +01:00
parent a9064ca785
commit ad61c85d46
2 changed files with 34 additions and 1 deletions

View File

@@ -457,6 +457,19 @@ And corresponding WORKSPACE excerpt:
)
----
== Building against SNAPSHOT Maven JARs
To build against SNAPSHOT Maven JARs, the complete SNAPSHOT version must be used:
[source,python]
----
maven_jar(
name = "pac4j-core",
artifact = "org.pac4j:pac4j-core:3.5.0-SNAPSHOT-20190112.120241-16",
sha1 = "da2b1cb68a8f87bfd40813179abd368de9f3a746",
)
----
[[consume-jgit-from-development-tree]]
To consume the JGit dependency from the development tree, edit