Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Add info about license tasks.

Dawid Weiss4707fa2322bd
diff --git a/help/ant.txt b/help/ant.txt
index b201c7ec26c..2d3e0a37cdc 100644
--- a/help/ant.txt
+++ b/help/ant.txt
@@ -25,8 +25,9 @@ ant compile => gradlew classes [better: gradlew assemble]
ant validate => gradlew check
ant test => gradlew test
-ant jar-checksums => TODO
-ant clean-jars => NO REPLACEMENT
+ant jar-checksums => gradlew updateChecksums
+ant check-licenses => gradlew licenses [better: gradlew check -x test]
+ant clean-jars => (NO REPLACEMENT)
ant precommit => gradlew check -x test
diff --git a/help/dependencies.txt b/help/dependencies.txt
index 4490d730953..94d3598131f 100644
--- a/help/dependencies.txt
+++ b/help/dependencies.txt
@@ -72,7 +72,7 @@ the time of writing, jackson-databind has the following entry:
com.fasterxml.jackson.core:jackson-databind:2.10.0 (3 constraints: 931a7796)
-and gradlew why --hash=931a7796 prints:
+and "gradlew why --hash=931a7796" prints:
com.fasterxml.jackson.core:jackson-databind:2.10.0
projects -> 2.10.0
@@ -122,3 +122,17 @@ dependencies {
Note the brackets - they are important and prevent accidental
mistakes of applying the exclusion to the wrong scope.
+
+
+Updating dependency checksum and licenses
+-----------------------------------------
+
+The last step is to make sure the licenses, notice files and checksums
+are in place for any new dependencies. This command will print what's
+missing and where:
+
+gradlew licenses
+
+To update JAR checksums use:
+
+gradlew updateChecksums