You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

343 lines
17 KiB

  1. # -----------------------------------------------------------------------------
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. # -----------------------------------------------------------------------------
  17. # build.properties.sample
  18. #
  19. # This is an example "build.properties" file, used to customize building
  20. # Tomcat for your local environment. It defines the location of all external
  21. # modules that Tomcat depends on. Copy this file to "build.properties"
  22. # in the top-level source directory, and customize it as needed.
  23. # -----------------------------------------------------------------------------
  24. # ----- Version Control Flags -----
  25. version.major=9
  26. version.minor=0
  27. version.build=53
  28. version.patch=0
  29. version.suffix=
  30. # ----- Reproducible builds -----
  31. # Uncomment and set to current time for reproducible builds
  32. # Note: The value is in seconds (unlike milliseconds used by System.currentTimeMillis()).
  33. #2021-09-06T12:00:00Z
  34. #ant.tstamp.now=1630929600
  35. # ----- Source control flags -----
  36. git.branch=9.0.x
  37. # ----- Build control flags -----
  38. # Note enabling validation uses Checkstyle which is LGPL licensed
  39. ant.version.required=1.9.10
  40. execute.validate=false
  41. execute.download=true
  42. execute.test.nio=true
  43. execute.test.nio2=true
  44. # Still requires APR/native library to be present
  45. execute.test.apr=true
  46. # Stop testing if a failure occurs
  47. test.haltonfailure=false
  48. # Activate AccessLog during testing
  49. test.accesslog=false
  50. # Display the tests output on the console
  51. test.verbose=true
  52. # Number of parallel threads to use for testing. The recommended value is one
  53. # thread per core.
  54. # Note: Cobertura code coverage currently requires this to be set to 1. Setting
  55. # a value above one will disable code coverage if enabled.
  56. test.threads=1
  57. # Note the Cobertura code coverage tool is GPLv2 licensed
  58. test.cobertura=false
  59. # Note the FindBugs is LGPL licensed
  60. execute.findbugs=false
  61. # Some platforms (e.g. OSX El Capitan) require IPv4 to be the default for the
  62. # multicast tests to work
  63. java.net.preferIPv4Stack=false
  64. # Location of GPG executable (used only for releases)
  65. gpg.exec=/path/to/gpg
  66. # Code signing of Windows installer
  67. # See https://infra.apache.org/digicert-use.html for setup instructions
  68. do.codesigning=false
  69. codesigning.alias=Tomcat-PMC-cert-2021-04
  70. codesigning.digest=SHA-512
  71. codesigning.storetype=DIGICERTONE
  72. # Set codesigning.storepass in build.properties with the following syntax
  73. #codesigning.storepass=<api-key>|/path/to/Certificate_pkcs12.p12|<password>
  74. # ----- Settings to use when downloading files -----
  75. trydownload.httpusecaches=true
  76. # ----- Default Base Path for Dependent Packages -----
  77. # Please note this path must be absolute, not relative,
  78. # as it is referenced with different working directory
  79. # contexts by the various build scripts.
  80. base.path=${user.home}/tomcat-build-libs
  81. compile.debug=true
  82. # Do not pass -deprecation (-Xlint:deprecation) flag to javac
  83. compile.deprecation=false
  84. base-apache.loc.1=https://dlcdn.apache.org
  85. base-apache.loc.2=https://archive.apache.org/dist
  86. base-commons.loc.1=${base-apache.loc.1}/commons
  87. base-commons.loc.2=${base-apache.loc.2}/commons
  88. base-tomcat.loc.1=${base-apache.loc.1}/tomcat
  89. base-tomcat.loc.2=${base-apache.loc.2}/tomcat
  90. base-gh.loc=https://github.com
  91. base-sf.loc=https://downloads.sourceforge.net
  92. # repo.maven.apache.org is the same as repo2.maven.org
  93. base-maven.loc=https://repo.maven.apache.org/maven2
  94. # Mirror, was used when there were problems with the main SF downloads site
  95. # base-sf.loc=https://sunet.dl.sourceforge.net
  96. # ----- Webservices - JAX RPC -----
  97. jaxrpc-lib.version=1.1-rc4
  98. jaxrpc-lib.checksum.enabled=true
  99. jaxrpc-lib.checksum.algorithm=MD5|SHA-1
  100. jaxrpc-lib.checksum.value=4bebba22a4cdb9f68e16c45129770333|fe9371d33dc3e1646d4d13bde19614283eb998b1
  101. jaxrpc-lib.home=${base.path}/jaxrpc-${jaxrpc-lib.version}
  102. jaxrpc-lib.jar=${jaxrpc-lib.home}/geronimo-spec-jaxrpc-${jaxrpc-lib.version}.jar
  103. jaxrpc-lib.loc=${base-maven.loc}/geronimo-spec/geronimo-spec-jaxrpc/${jaxrpc-lib.version}/geronimo-spec-jaxrpc-${jaxrpc-lib.version}.jar
  104. # ----- Webservices - WSDL4J -----
  105. wsdl4j-lib.version=1.6.3
  106. wsdl4j-lib.checksum.enabled=true
  107. wsdl4j-lib.checksum.algorithm=MD5|SHA-1
  108. wsdl4j-lib.checksum.value=cfc28d89625c5e88589aec7a9aee0208|6d106a6845a3d3477a1560008479312888e94f2f
  109. wsdl4j-lib.home=${base.path}/wsdl4j-${wsdl4j-lib.version}
  110. wsdl4j-lib.jar=${wsdl4j-lib.home}/wsdl4j-${wsdl4j-lib.version}.jar
  111. wsdl4j-lib.loc=${base-maven.loc}/wsdl4j/wsdl4j/${wsdl4j-lib.version}/wsdl4j-${wsdl4j-lib.version}.jar
  112. # ----- Eclipse JDT, version 4.7 or later -----#
  113. # See https://cwiki.apache.org/confluence/display/TOMCAT/Managing+Tomcat%27s+Dependency+on+the+Eclipse+JDT+Core+Batch+Compiler
  114. #
  115. # Checksum is from "SHA512 Checksums for 4.20" link at
  116. # https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/
  117. # https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/checksum/eclipse-4.20-SUMSSHA512
  118. #
  119. jdt.version=4.20
  120. jdt.release=R-4.20-202106111600
  121. jdt.checksum.enabled=true
  122. jdt.checksum.algorithm=SHA-512
  123. jdt.checksum.value=ab441acf5551a7dc81c353eaccb3b3df9e89a48987294d19e39acdb83a5b640fcdff7414cee29f5b96eaa8826647f1d5323e185018fe33a64c402d69c73c9158
  124. jdt.home=${base.path}/ecj-${jdt.version}
  125. jdt.jar=${jdt.home}/ecj-${jdt.version}.jar
  126. # The download will be moved to the archive area eventually. We are taking care of that in advance.
  127. jdt.loc.1=http://archive.eclipse.org/eclipse/downloads/drops4/${jdt.release}/ecj-${jdt.version}.jar
  128. jdt.loc.2=http://download.eclipse.org/eclipse/downloads/drops4/${jdt.release}/ecj-${jdt.version}.jar
  129. # ----- Tomcat native library -----
  130. tomcat-native.version=1.2.31
  131. tomcat-native.src.checksum.enabled=true
  132. tomcat-native.src.checksum.algorithm=SHA-512
  133. tomcat-native.src.checksum.value=2aaa93f0acf3eb780d39faeda3ece3cf053d3b6e2918462f7183070e8ab32232e035e9062f7c07ceb621006d727d3596d9b4b948f4432b4f625327b72fdb0e49
  134. tomcat-native.win.checksum.enabled=true
  135. tomcat-native.win.checksum.algorithm=SHA-512
  136. tomcat-native.win.checksum.value=c88aad31f4e3c860e73a28903de0b4bb2c1d46851e48711ae9a86e6da98fe20db03c6e44957e97bbf1916decc1aba048e907b2072539b1b5da4aea2b88d8a39d
  137. tomcat-native.home=${base.path}/tomcat-native-${tomcat-native.version}
  138. tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
  139. tomcat-native.loc.1=${base-tomcat.loc.1}/tomcat-connectors/native/${tomcat-native.version}/source/tomcat-native-${tomcat-native.version}-src.tar.gz
  140. tomcat-native.loc.2=${base-tomcat.loc.2}/tomcat-connectors/native/${tomcat-native.version}/source/tomcat-native-${tomcat-native.version}-src.tar.gz
  141. tomcat-native.win.1=${base-tomcat.loc.1}/tomcat-connectors/native/${tomcat-native.version}/binaries/tomcat-native-${tomcat-native.version}-openssl-1.1.1l-win32-bin.zip
  142. tomcat-native.win.2=${base-tomcat.loc.2}/tomcat-connectors/native/${tomcat-native.version}/binaries/tomcat-native-${tomcat-native.version}-openssl-1.1.1l-win32-bin.zip
  143. # ----- NSIS, version 3.0 or later -----
  144. nsis.version=3.06.1
  145. nsis.checksum.enabled=true
  146. nsis.checksum.algorithm=MD5|SHA-1
  147. nsis.checksum.value=15a0bb6e74be90ef4f11fa7befd0399a|f188416fe435cad991adbdc2e3eedc482a68fa75
  148. nsis.home=${base.path}/nsis-${nsis.version}
  149. nsis.exe=${nsis.home}/makensis.exe
  150. nsis.arch.dir=x86-unicode/
  151. nsis.installoptions.dll=${nsis.home}/Plugins/${nsis.arch.dir}InstallOptions.dll
  152. nsis.nsexec.dll=${nsis.home}/Plugins/${nsis.arch.dir}nsExec.dll
  153. nsis.nsisdl.dll=${nsis.home}/Plugins/${nsis.arch.dir}NSISdl.dll
  154. nsis.system.dll=${nsis.home}/Plugins/${nsis.arch.dir}System.dll
  155. nsis.nsdialogs.dll=${nsis.home}/Plugins/${nsis.arch.dir}nsDialogs.dll
  156. nsis.loc=${base-sf.loc}/nsis/nsis-${nsis.version}.zip
  157. # ----- Commons Daemon, version 1.2.0 or later -----
  158. commons-daemon.version=1.2.4
  159. # checksum for commons-daemon-1.2.4-bin.tar.gz
  160. commons-daemon.bin.checksum.enabled=true
  161. commons-daemon.bin.checksum.algorithm=SHA-512
  162. commons-daemon.bin.checksum.value=66c33091fa51b6845ce45f326708419ef20ecd4a60bc175b94620a708f398843d9d53cfa8bfd2f5ab924c30b7034af602cb65e3e1cf164a5f687353f755919fe
  163. # checksums for commons-daemon-1.2.4-native-src.tar.gz, commons-daemon-1.2.4-bin-windows.zip
  164. commons-daemon.native.src.checksum.enabled=true
  165. commons-daemon.native.src.checksum.algorithm=SHA-512
  166. commons-daemon.native.src.checksum.value=655f5b106238f6ac7f6e42dd32acfc553b302aa2c248b839528abdc9872bad5c80da3ef15399a7ff8c414427aafea9c4e9656b2887d98be4584f3926ac02ca23
  167. commons-daemon.native.win.checksum.enabled=true
  168. commons-daemon.native.win.checksum.algorithm=SHA-512
  169. commons-daemon.native.win.checksum.value=9c2bc010828826acbde5613aaf2de303471b33f2cb655b0ac91574e27123b8bcbe59e987d9e47d5835c171a5db31922b1458ed2e4fef840fd06c048f61f1e62b
  170. commons-daemon.home=${base.path}/commons-daemon-${commons-daemon.version}
  171. commons-daemon.jar=${commons-daemon.home}/commons-daemon-${commons-daemon.version}.jar
  172. commons-daemon.native.win.home=${commons-daemon.home}/windows
  173. commons-daemon.native.win.mgr.exe=${commons-daemon.native.win.home}/prunmgr.exe
  174. commons-daemon.native.src.tgz=${commons-daemon.home}/commons-daemon-${commons-daemon.version}-native-src.tar.gz
  175. commons-daemon.native.win.zip=${commons-daemon.home}/commons-daemon-${commons-daemon.version}-bin-windows-signed.zip
  176. commons-daemon.bin.loc.1=${base-commons.loc.1}/daemon/binaries/commons-daemon-${commons-daemon.version}-bin.tar.gz
  177. commons-daemon.bin.loc.2=${base-commons.loc.2}/daemon/binaries/commons-daemon-${commons-daemon.version}-bin.tar.gz
  178. commons-daemon.native.src.loc.1=${base-commons.loc.1}/daemon/source/commons-daemon-${commons-daemon.version}-native-src.tar.gz
  179. commons-daemon.native.src.loc.2=${base-commons.loc.2}/daemon/source/commons-daemon-${commons-daemon.version}-native-src.tar.gz
  180. commons-daemon.native.win.loc.1=${base-commons.loc.1}/daemon/binaries/windows/commons-daemon-${commons-daemon.version}-bin-windows.zip
  181. commons-daemon.native.win.loc.2=${base-commons.loc.2}/daemon/binaries/windows/commons-daemon-${commons-daemon.version}-bin-windows.zip
  182. # ----- JUnit Unit Test Suite, version 4.11 or later -----
  183. junit.version=4.13.2
  184. junit.checksum.enabled=true
  185. junit.checksum.algorithm=MD5|SHA-1
  186. junit.checksum.value=d98a9a02a99a9acd22d7653cbcc1f31f|8ac9e16d933b6fb43bc7f576336b8f4d7eb5ba12
  187. junit.home=${base.path}/junit-${junit.version}
  188. junit.jar=${junit.home}/junit-${junit.version}.jar
  189. junit.loc=${base-maven.loc}/junit/junit/${junit.version}/junit-${junit.version}.jar
  190. # ----- Hamcrest Library, used by JUnit, version 1.3 or later ----
  191. hamcrest.version=2.2
  192. hamcrest.checksum.enabled=true
  193. hamcrest.checksum.algorithm=SHA-512
  194. hamcrest.checksum.value=6b1141329b83224f69f074cb913dbff6921d6b8693ede8d2599acb626481255dae63de42eb123cbd5f59a261ac32faae012be64e8e90406ae9215543fbca5546
  195. hamcrest.home=${base.path}/hamcrest-${hamcrest.version}
  196. hamcrest.jar=${hamcrest.home}/hamcrest-${hamcrest.version}.jar
  197. hamcrest.loc=${base-maven.loc}/org/hamcrest/hamcrest/${hamcrest.version}/hamcrest-${hamcrest.version}.jar
  198. # ----- EasyMock, version 3.2 or later -----
  199. easymock.version=4.3
  200. easymock.checksum.enabled=true
  201. easymock.checksum.algorithm=MD5|SHA-1
  202. easymock.checksum.value=f4d141b8c32c022def9089ee4f890c90|b0dbe2df1a71b8115835561f46a8f06cb168a94f
  203. easymock.home=${base.path}/easymock-${easymock.version}
  204. easymock.jar=${easymock.home}/easymock-${easymock.version}.jar
  205. easymock.loc=${base-maven.loc}/org/easymock/easymock/${easymock.version}/easymock-${easymock.version}.jar
  206. # ----- cglib, used by EasyMock, version 2.2 or later -----
  207. cglib.version=3.3.0
  208. cglib.checksum.enabled=true
  209. cglib.checksum.algorithm=SHA-512
  210. cglib.checksum.value=faa1d2121e87ae69e179e3aae217accd0834e0da716b91a029fd526e192612e71675f2740bedf48e23ef1edc45f672a2be1b3e78bbfb1ad59c96dd3d2feeedba
  211. cglib.home=${base.path}/cglib-${cglib.version}
  212. cglib.jar=${cglib.home}/cglib-nodep-${cglib.version}.jar
  213. cglib.loc=${base-maven.loc}/cglib/cglib-nodep/${cglib.version}/cglib-nodep-${cglib.version}.jar
  214. # ----- objenesis, used by EasyMock, version 1.2 or later -----
  215. objenesis.version=3.2
  216. objenesis.checksum.enabled=true
  217. objenesis.checksum.algorithm=MD5|SHA-1
  218. objenesis.checksum.value=5c1ee20481a06561af295034ea89c4b4|7fadf57620c8b8abdf7519533e5527367cb51f09
  219. objenesis.home=${base.path}/objenesis-${objenesis.version}
  220. objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar
  221. objenesis.loc=${base-maven.loc}/org/objenesis/objenesis/${objenesis.version}/objenesis-${objenesis.version}.jar
  222. # ----- UnboundID, used by unit tests, version 5.1.4 or later -----
  223. unboundid.version=6.0.0
  224. unboundid.checksum.enabled=true
  225. unboundid.checksum.algorithm=MD5|SHA-1
  226. unboundid.checksum.value=98eba1bb435221d20c6766774cde97cb|c17a6ca8b9923ff3fc3461ebbcd9a598df4955be
  227. unboundid.home=${base.path}/unboundid-${unboundid.version}
  228. unboundid.jar=${unboundid.home}/unboundid-ldapsdk-${unboundid.version}.jar
  229. unboundid.loc=${base-maven.loc}/com/unboundid/unboundid-ldapsdk/${unboundid.version}/unboundid-ldapsdk-${unboundid.version}.jar
  230. # ----- Checkstyle, version 6.16 or later -----
  231. checkstyle.version=8.43
  232. checkstyle.checksum.enabled=true
  233. checkstyle.checksum.algorithm=SHA-512
  234. checkstyle.checksum.value=339614235601ce88ca4e2aab5f52599b3e8bc242f7384ee17629190f498c6f9ac48aa4eed06be914b1db9ebd2eea821ae6ac254f96865070f266be5bfb65e3dd
  235. checkstyle.home=${base.path}/checkstyle-${checkstyle.version}
  236. checkstyle.jar=${checkstyle.home}/checkstyle-${checkstyle.version}-all.jar
  237. checkstyle.loc=${base-gh.loc}/checkstyle/checkstyle/releases/download/checkstyle-${checkstyle.version}/checkstyle-${checkstyle.version}-all.jar
  238. # ----- Cobertura code coverage tool -----
  239. cobertura.version=2.1.1
  240. cobertura.checksum.enabled=true
  241. cobertura.checksum.algorithm=MD5|SHA-1
  242. cobertura.checksum.value=4f46638aa8e4d89565c038092398ea06|99cb44d36555feedcedc46263c23c2f5394ef342
  243. cobertura.home=${base.path}/cobertura-${cobertura.version}
  244. cobertura.jar=${cobertura.home}/cobertura-${cobertura.version}.jar
  245. cobertura.loc=${base-sf.loc}/cobertura/cobertura-${cobertura.version}-bin.tar.gz
  246. # ----- SpotBugs (originally FindBugs) -----
  247. findbugs.version=4.2.3
  248. findbugs.checksum.enabled=true
  249. findbugs.checksum.algorithm=MD5|SHA-1
  250. findbugs.checksum.value=6eb4a01355a5770f02e136c80182baa6|37daf40c76f11f7ae31894ab8d8fefd7fcb9d07b
  251. findbugs.home=${base.path}/spotbugs-${findbugs.version}
  252. findbugs.jar=${findbugs.home}/lib/spotbugs-ant.jar
  253. findbugs.loc=${base-maven.loc}/com/github/spotbugs/spotbugs/${findbugs.version}/spotbugs-${findbugs.version}.tgz
  254. # ----- bnd, version 5.3.0 or later -----
  255. # ----- provides OSGI metadata for JARs -----
  256. bnd.version=5.3.0
  257. # checksums for biz.aQute.bnd-5.3.0.jar
  258. bnd.checksum.enabled=true
  259. bnd.checksum.algorithm=MD5|SHA-1
  260. bnd.checksum.value=7cba73481ee6e72b182ba5c13801aafe|10ec0974db02f810e9345b218f4de4abe898ab04
  261. bnd.home=${base.path}/bnd-${bnd.version}
  262. bnd.jar=${bnd.home}/biz.aQute.bnd-${bnd.version}.jar
  263. bnd.loc=${base-maven.loc}/biz/aQute/bnd/biz.aQute.bnd/${bnd.version}/biz.aQute.bnd-${bnd.version}.jar
  264. # ----- OSGi annotations bundle, version 1.0.0 or later -----
  265. # ----- required to avoid Javadoc error when using bnd annotations -----
  266. osgi-annotations.version=1.1.0
  267. osgi-annotations.checksum.enabled=true
  268. osgi-annotations.checksum.algorithm=MD5|SHA-1
  269. osgi-annotations.checksum.value=4777cc8253100d514365205d59bbef60|534cecc7af8d22a3f0919a6a8e42fe5822f6e6e1
  270. osgi-annotations.home=${base.path}/osgi-annotations-${osgi-annotations.version}
  271. osgi-annotations.jar=${osgi-annotations.home}/org.osgi.annotation.bundle-${osgi-annotations.version}.jar
  272. osgi-annotations.loc=${base-maven.loc}/org/osgi/org.osgi.annotation.bundle/${osgi-annotations.version}/org.osgi.annotation.bundle-${osgi-annotations.version}.jar
  273. # ----- JSign, version 4.0 or later -----
  274. jsign.version=4.0
  275. # checksums for JSign 4.0
  276. jsign.checksum.enable=true
  277. jsign.checksum.algorithm=MD5|SHA-1
  278. jsign.checksum.value=50982facf864df4f08a051b43f7d2e42|3d203fbffdc45e837f98b7c9c5d311b615661a75
  279. jsign.home=${base.path}/jsign-${jsign.version}
  280. jsign.jar=${jsign.home}/jsign-${jsign.version}.jar
  281. jsign.loc=${base-maven.loc}/net/jsign/jsign/${jsign.version}/jsign-${jsign.version}.jar
  282. # ----- Derby, used by unit tests -----
  283. derby.version=10.14.2.0
  284. # checksums for Derby 10.14.2.0
  285. derby.checksum.enabled=true
  286. derby.checksum.algorithm=MD5|SHA-1
  287. derby.checksum.value=3ddcc1d435344d39d0122dbc2f39a746|7efad40ef52fbb1f08142f07a83b42d29e47d8ce
  288. derby-tools.checksum.enabled=true
  289. derby-tools.checksum.algorithm=MD5|SHA-1
  290. derby-tools.checksum.value=3189a1d586f98f0d203fb5f3e5d88fbe|338d5a54b4089c80414fe0ecb3899d521da69b26
  291. derby.home=${base.path}/derby-${derby.version}
  292. derby.jar=${derby.home}/derby-${derby.version}.jar
  293. derby.loc=${base-maven.loc}/org/apache/derby/derby/${derby.version}/derby-${derby.version}.jar
  294. derby-tools.jar=${derby.home}/derby-tools-${derby.version}.jar
  295. derby-tools.loc=${base-maven.loc}/org/apache/derby/derbytools/${derby.version}/derbytools-${derby.version}.jar