summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaikiran Pai <jaikiran@apache.org>2021-10-13 09:18:19 +0530
committerJaikiran Pai <jaikiran@apache.org>2021-10-13 09:18:19 +0530
commitd11a6536dd696e775e225b231bdf2eaf8e7a75ae (patch)
tree24f2958bcc80879ba7f19bd646c94022c7ae5aa6
parentf8761a6b071af72108ee451458d42c57ca9e26ea (diff)
downloadant-d11a6536dd696e775e225b231bdf2eaf8e7a75ae.tar.gz
package only the exact jars in lib/optional of source distribution
-rw-r--r--build.xml6
-rw-r--r--lib/libraries.properties6
2 files changed, 10 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 35ba766f6..fe0efac04 100644
--- a/build.xml
+++ b/build.xml
@@ -1189,8 +1189,10 @@
<copy todir="${src.dist.lib}">
<fileset dir="${lib.dir}">
- <include name="optional/junit*.jar"/>
- <include name="optional/hamcrest*.jar"/>
+ <include name="optional/junit-3.8.2.jar"/>
+ <include name="optional/junit-4.13.1.jar"/>
+ <include name="optional/hamcrest-core-1.3.jar"/>
+ <include name="optional/hamcrest-library-1.3.jar"/>
<include name="README"/>
<include name="libraries.properties"/>
</fileset>
diff --git a/lib/libraries.properties b/lib/libraries.properties
index 9cfc16820..ec536522e 100644
--- a/lib/libraries.properties
+++ b/lib/libraries.properties
@@ -44,6 +44,9 @@ commons-logging.version=1.1
commons-logging-api.version=${commons-logging.version}
js.version=20.1.0
js-scriptengine.version=${js.version}
+# Note - When updating the hamcrest versions here, make sure to also update the
+# "src-dist" target in build.xml to copy the correct hamcrest jars
+# into the source distribution
hamcrest-core.version=1.3
hamcrest-library.version=${hamcrest-core.version}
jai-core.version=1.1.3
@@ -55,6 +58,9 @@ jasper-compiler.version=4.1.36
jasper-runtime.version=${jasper-compiler.version}
jdepend.version=2.9.1
jruby.version=1.6.8
+# Note - When updating the junit.version here, make sure to also update the
+# "src-dist" target in build.xml to copy the correct junit 4.x jar
+# into the source distribution
junit.version=4.13.1
rhino.version=1.7.11
junit-platform-launcher.version=1.2.0