bundled ant update (IDEA-314815)

GitOrigin-RevId: 69b890c4eb45b94757507c1f9f37387a8c8ee5f3
This commit is contained in:
Eugene Zhuravlev
2024-02-22 11:38:42 +01:00
committed by intellij-monorepo-bot
parent b34baba629
commit 85ead7f248
64 changed files with 1060 additions and 114 deletions

View File

@@ -8,6 +8,7 @@ Adam Sotona
Adrian Nistor
Adrien Grand
Aleksandr Ishutin
Aleksei Zotov
Alex
Alex Rosen
Alexander Grund
@@ -66,6 +67,7 @@ Chris Hegarty
Chris Povirk
Christian Knorr
Christian Schmidt
Christoph Dreis
Christoph Gysin
Christoph Wilhelms
Christophe Labouisse
@@ -234,6 +236,7 @@ Justyna Horwat
Karl Jansen
Keiron Liddle
Keith Visco
Keith W. Campbell
Kevin Connor Arpe
Kevin Greiner
Kevin Jackson
@@ -308,6 +311,7 @@ Miha
Mike Davis
Mike Roberts
Mike Williams
Mikolaj Izdebski
Miroslav Zaťko
Mounir El Hajj
Nathan Beyer
@@ -351,6 +355,7 @@ Philip Hourihane
Phillip Wells
Pierre Delisle
Pierre Dittgen
Piotr P. Karwasz
Preston Bannister
Ralf Hergert
Rami Ojares
@@ -388,6 +393,7 @@ Russell Gold
Ryan Bennitt
Sam Ruby
Sandra Metz
Santosh R. Dhariwal
Scott Carlson
Scott Ellsworth
Scott Johnson
@@ -421,12 +427,14 @@ Takashi Okamoto
TAMURA Kent
Taoufik Romdhane
Tariq Master
Taylor Smock
Thomas Aglassinger
Thomas Butz
Thomas Christen
Thomas Christensen
Thomas Haas
Thomas Quas
Thomas Starlinger
Tim Boemker
Tim Drury
Tim Fennell
@@ -442,6 +450,7 @@ Tom Dimock
Tom Eugelink
Tom May
Tomasz Bech
Tomasz Kowalczewski
Tomáš Zezula
Tony Gravagno
Trejkaz Xaoza

View File

@@ -1554,3 +1554,62 @@ S3vUQ3zGioMMYLvbNe8rAP3VC5fJ7H80spv/z05JfO7c4hutU8D0ykQ0ZNuWdL79
3rZzxBZRMmQz3CJrMw==
=vLW3
-----END PGP PUBLIC KEY BLOCK-----
pub rsa4096 2022-12-11 [SC]
0A123C1ED3F13A6A0140E166C71FB765CD9DE313
uid [ultimate] Jaikiran Pai (CODE SIGNING KEY) <jaikiran@apache.org>
sig 3 C71FB765CD9DE313 2022-12-11 Jaikiran Pai (CODE SIGNING KEY) <jaikiran@apache.org>
sub rsa4096 2022-12-11 [E]
sig C71FB765CD9DE313 2022-12-11 Jaikiran Pai (CODE SIGNING KEY) <jaikiran@apache.org>
-----BEGIN PGP PUBLIC KEY BLOCK-----
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
LeEX5gFFptuqic/l8R9a4+g=
=AEKY
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -1,5 +1,5 @@
Apache Ant
Copyright 1999-2021 The Apache Software Foundation
Copyright 1999-2023 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).

View File

@@ -1,3 +1,160 @@
Changes from Ant 1.10.13 TO Ant 1.10.14
=======================================
Changes that could break older environments:
-------------------------------------------
* Resource#compareTo now invokes getName rather than toString as the
later may be costly (for example in the case of a StringResource).
Bugzilla Report 66496
* When using Java 18 or higher, Ant will no longer use Java SecurityManager
because it has been deprecated for removal and by default is disallowed
to be set at runtime https://openjdk.org/jeps/411.
This will mean that the "<permissions>" type is no longer functional when
using Java 18 or higher.
Furthermore, when using Java 18 or higher, if the build executes
tasks that call "java.lang.System.exit()" and if those tasks aren't
running in a forked VM of their own, then such tasks will now kill
the entire Ant build process. It is recommended that such tasks be
updated to launch in a forked JVM so that the System.exit() call
will not impact the JVM in which Ant process runs.
Fixed bugs:
-----------
* log only the stylesheet name in the xslt task.
Github Pull Request #199
* junitlauncher task's "test" and "listener" elements which take
a "outputDir" property were incorrectly resolving the outputDir
against the current working directory instead of the project's
basedir. This has now been fixed.
Bugzilla Report 66504
* regexmapper would, in some cases, incorrectly consume backslash characters
from the "to" attribute, resulting in missing backslashes in the output.
This is now fixed.
Bugzilla Report 66468
* <fixcrlf>, <replace> and <replaceregexp> now try to preserve the
file permissions of the files they modify.
Bugzilla Report 66522
* junitlauncher task would fail if a forked test timed out even
if haltOnFailure was set to false. This is now fixed.
Bugzilla Report 66411
* fixes a bug in org.apache.tools.zip.ZipOutputStream where, even
when "zip64Mode" is set to "always", ZipOutputStream may not create
a CEN extra field data for the entry.
Bugzilla Report 66873
* legacy-xml listener of junitlauncher task wouldn't report certain
failures involving junit jupiter dynamic tests. This has now been
fixed.
Github Pull Request #122
Other changes:
--------------
* <fork> element of the junitlauncher task now has a new optional "java"
attribute which can be used to point to a different Java installation
for runnning the forked tests.
Bugzilla Report 66464
* made sure <echoproperties> sorts the echoed properties on JDK9+ as well.
Bugzilla Report 66588
* org.apache.tools.ant.taskdefs.Recorder class now introduces a
setLogLevel(LogLevel level) method.
Bugzilla Report 66238
* The <fork> element of junitlaunchertask now allows a "forkMode"
attribute. forkMode=perTestClass can now be used to launch
each test class in a separate forked JVM.
Bugzilla Report 65176
Changes from Ant 1.10.12 TO Ant 1.10.13
=======================================
Changes that could break older environments:
-------------------------------------------
* <get> has a new attribute authenticateOnRedirect that can be used to
prevent Ant from sending the configured credentials when following a
redirect. It is false by default, which means builds that rely on
credentials being used on the redirected URI may break.
Github Pull Request #173
Fixed bugs:
-----------
* the PropertyEnumerator change introduced in 1.10.9 proved to be not
fully backwards compatible when combined with certain custom
PropertyHelper implementations - for example when using AntXtras.
Bugzilla Report 65799
* legacy-xml reporter of the junitlauncher task now escapes ]]> when writing CDATA.
Bugzilla Report 65833
* <scp> may leak connections when trying to preserve the last modified
timestamps of files transferred recursively from a server.
Bugzilla Report 66001
* tstamp task would in certain cases parse the SOURCE_DATE_EPOCH environment variable
value to an incorrect date. This has now been fixed.
Github Pull Request #186
* fetch.xml didn't set up non-default repositories properly and thus
failed to download JAI.
Github Pull Request #191
* When building and installing Ant distribution from source, the build script
would change permissions on unrelated files in the destination directory.
This is now fixed and such unrelated files in the destination directory
will be left untouched.
Bugzilla Report 66164
* parsing tar entries with multiple NUL bytes in their name would
include garbage bytes as the name included all bytes up to the last
NUL rather than the first.
Github Pull Request #194
* loadresource might log warnings even though quiet was set to true
Bugzilla Report 65647
* javac task would add paths constructs containing wildcards to the
internally created argument file where wildcards are not allowed
Bugzilla Report 65621
Other changes:
--------------
* added an implementation of the MIME Mail sender based on the
repackaged Jakarta Mail package rather than javax Mail.
Github Pull Request #161
* The "listener" element in the junitlauncher task now supports
an "extension" attribute to control the filename extension
of the generated output file from the listener.
Github Pull Request #168
* <ftp> now supports FTPs.
Github Pull Request #170
* DirectoryScanner avoids listing directory contents when it known it
will never use the information retrieved. This may improve
performance in some special cases.
Bugzilla Report 66048
* <manifest> will now create the parent directory of the manifestFile
attribute if it doesn't exist.
Bugzilla Report 66231
* org.apache.tools.ant.BuildLogger now has a new method getMessageOutputLevel()
which returns the currently set message output level.
Changes from Ant 1.10.11 TO Ant 1.10.12
=======================================

View File

@@ -62,6 +62,10 @@
<first>Aleksandr</first>
<last>Ishutin</last>
</name>
<name>
<first>Aleksei</first>
<last>Zotov</last>
</name>
<name>
<first>Alex</first>
<last></last>
@@ -292,6 +296,10 @@
<first>Christian</first>
<last>Schmidt</last>
</name>
<name>
<first>Christoph</first>
<last>Dreis</last>
</name>
<name>
<first>Christoph</first>
<last>Gysin</last>
@@ -975,6 +983,11 @@
<first>Keith</first>
<last>Visco</last>
</name>
<name>
<first>Keith</first>
<middle>W.</middle>
<last>Campbell</last>
</name>
<name>
<first>Kevin</first>
<middle>Connor</middle>
@@ -1276,6 +1289,10 @@
<first>Mike</first>
<last>Williams</last>
</name>
<name>
<first>Mikolaj</first>
<last>Izdebski</last>
</name>
<name>
<first>Miroslav</first>
<last>Zaťko</last>
@@ -1452,6 +1469,10 @@
<first>Pierre</first>
<last>Dittgen</last>
</name>
<name>
<first>Piotr</first>
<middle>P.</middle>
<last>Karwasz</last>
<name>
<first>Preston</first>
<last>Bannister</last>
@@ -1601,6 +1622,11 @@
<first>Sandra</first>
<last>Metz</last>
</name>
<name>
<first>Santosh</first>
<middle>R.</middle>
<last>Dhariwal</last>
</name>
<name>
<first>Scott</first>
<last>Carlson</last>
@@ -1735,6 +1761,10 @@
<first>Tariq</first>
<last>Master</last>
</name>
<name>
<first>Taylor</first>
<last>Smock</last>
</name>
<name>
<first>Thomas</first>
<last>Aglassinger</last>
@@ -1759,6 +1789,10 @@
<first>Thomas</first>
<last>Quas</last>
</name>
<name>
<first>Thomas</first>
<last>Starlinger</last>
</name>
<name>
<first>Tim</first>
<last>Boemker</last>
@@ -1820,6 +1854,10 @@
<first>Tomasz</first>
<last>Bech</last>
</name>
<name>
<first>Tomasz</first>
<last>Kowalczewski</last>
</name>
<name>
<first>Tomáš</first>
<last>Zezula</last>

395
lib/ant/fetch.xml Normal file
View File

@@ -0,0 +1,395 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
=======================================================================
Build file to fetch optional libraries for Apache Ant
=======================================================================
-->
<project name="fetch" default="all" basedir=".">
<description>
This build file downloads JAR files that optional Ant tasks use,
and installs them in a location that is accessible the next time Ant runs.
You can choose three locations, by going -Ddest=LOCATION on the command line
-Ddest=user user lib dir ${user.home}/.ant/lib
-Ddest=system ant lib dir ${ant.home}/lib
-Ddest=optional optional dir $${basedir}/lib/optional (for Ant developers)
You may also need to set proxy settings. On Java 1.5, Ant tries to get
this from the OS, unless you use the -noproxy option.
Proxies can be configured manually setting the JVM proxy values in the
ANT_OPTS environment variable.
For example, to set the proxy up in the tcsh shell, the command would
be something like:
For csh/tcsh:
setenv ANT_OPTS "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
For bash:
export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
For Windows, set the environment variable in the appropriate dialog box
and open a new console. or, by hand
set ANT_OPTS = -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080
</description>
<!-- Give user a chance to override without editing this file
(and without typing -D each time it compiles it) -->
<property file="${user.home}/.ant/ant.properties"/>
<property name="lib.dir" location="lib"/>
<property name="optional.dir" location="${lib.dir}/optional"/>
<property name="userlib.dir" location="${user.home}/.ant/lib"/>
<!-- Load in our properties table -->
<property file="${lib.dir}/libraries.properties"/>
<!-- Temporary cache for working files -->
<property name="temp.dir" location="${user.home}/.ant/tempcache"/>
<property name="keep.temp.dir" value="true"/>
<import file="get-m2.xml"/>
<target name="pick-dest">
<fail>
<condition>
<not>
<isset property="dest"/>
</not>
</condition>ERROR
Set -Ddest=LOCATION on the command line
-Ddest=user user lib dir ${user.home}/.ant/lib
-Ddest=system ant lib dir ${ant.home}/lib
-Ddest=optional optional dir $${basedir}/lib/optional (for Ant developers)
</fail>
<condition property="dest.dir"
value="${lib.dir}">
<equals arg1="${dest}" arg2="system"/>
</condition>
<condition property="dest.dir"
value="${optional.dir}">
<equals arg1="${dest}" arg2="optional"/>
</condition>
<condition property="dest.dir"
value="${userlib.dir}">
<equals arg1="${dest}" arg2="user"/>
</condition>
<fail unless="dest.dir">Unknown destination : ${dest}</fail>
<echo>Downloading to ${dest.dir}</echo>
<property name="m2.dest.dir" value="${dest.dir}"/>
</target>
<target name="macros" depends="pick-dest,get-m2"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">
<fail>
Cannot execute multiple targets due to the bug in Maven Ant tasks
<condition>
<contains string="${ant.project.invoked-targets}" substring=","/>
</condition>
</fail>
<macrodef name="f2">
<attribute name="project"/>
<attribute name="archive" default="@{project}"/>
<attribute name="repository" default="${m2.repo}"/>
<attribute name="id" default="central"/>
<sequential>
<fail>
Unknown archive @{archive} -no property @{archive}.version defined in ${lib.dir}/libraries.properties.
<condition>
<not>
<isset property="@{archive}.version"/>
</not>
</condition>
</fail>
<resolver:resolve>
<resolver:remoterepo url="@{repository}" id="@{id}"/>
<dependencies id="@{archive}.path">
<dependency groupId="@{project}"
artifactId="@{archive}"
version="${@{archive}.version}"
scope="runtime">
<!-- exclude dependencies of ant-antunit (they should be in optional scope) -->
<exclusion groupId="org.apache.ant" artifactId="ant"/>
<exclusion groupId="org.apache.ant" artifactId="ant-launcher"/>
</dependency>
</dependencies>
<!-- create a path containing all these resolved dependencies -->
<path refid="@{archive}.path"/>
</resolver:resolve>
<!-- now we are left with the problem of getting the files into our directory -->
<copy todir="${dest.dir}">
<path refid="@{archive}.path"/>
<flattenmapper/>
</copy>
</sequential>
</macrodef>
</target>
<target name="nonm2-macros" depends="pick-dest">
<macrodef name="get-ftp-file">
<attribute name="host"/>
<attribute name="port" default="21"/>
<attribute name="remotedir"/>
<attribute name="filename"/>
<attribute name="localdir" default="${dest.dir}"/>
<attribute name="user" default="anonymous"/>
<attribute name="pw" default="anonymous"/>
<sequential>
<ftp server="@{host}" port="@{port}" userid="@{user}" password="@{pw}" passive="true"
remotedir="@{remotedir}" action="get" depends="true" preserveLastModified="true"
skipFailedTransfers="true">
<fileset dir="@{localdir}">
<include name="@{filename}"/>
</fileset>
</ftp>
</sequential>
</macrodef>
</target>
<!-- any init stuff -->
<target name="init" depends="macros"/>
<target name="init-no-m2" depends="nonm2-macros"/>
<target name="init-cache">
<available property="temp.cache.already.exists" file="${temp.dir}" type="dir"/>
<condition property="user.wants.temp.cache">
<and>
<isset property="keep.temp.dir"/>
<not>
<or>
<equals arg1="${keep.temp.dir}" arg2="false" casesensitive="false"/>
<equals arg1="${keep.temp.dir}" arg2="no" casesensitive="false"/>
<equals arg1="${keep.temp.dir}" arg2="off" casesensitive="false"/>
</or>
</not>
</and>
</condition>
<condition property="delete.temp.cache">
<and>
<not>
<isset property="temp.cache.already.exists"/>
</not>
<not>
<isset property="user.wants.temp.cache"/>
</not>
</and>
</condition>
</target>
<target name="-setup-temp-cache" depends="init-cache" unless="temp.cache.already.exists"
description="Set up temporary cache for downloaded files">
<mkdir dir="${temp.dir}"/>
</target>
<target name="-cleanup-temp-cache" depends="init-cache" if="delete.temp.cache"
description="Get rid of the temporary cache directory">
<delete dir="${temp.dir}"/>
</target>
<target name="diag" depends="init">
<echoproperties/>
</target>
<target name="antunit"
description="load AntUnit library"
depends="init">
<f2 project="org.apache.ant" archive="ant-antunit"/>
</target>
<target name="ivy"
description="load Ivy dependency manager"
depends="init">
<f2 project="org.apache.ivy" archive="ivy"/>
</target>
<target name="logging"
description="load logging libraries (Commons and Log4j)"
depends="init">
<f2 project="log4j"/>
<f2 project="commons-logging" archive="commons-logging-api"/>
</target>
<target name="junit"
description="load JUnit libraries"
depends="init">
<f2 project="junit"/>
<f2 project="org.hamcrest" archive="hamcrest-library"/>
</target>
<target name="junitlauncher"
description="load junitlauncher libraries"
depends="init">
<f2 project="org.junit.platform" archive="junit-platform-launcher" />
</target>
<target name="junit-engine-jupiter"
description="load junit jupiter engine libraries (necessary only for internal Ant project tests)"
depends="init">
<f2 project="org.junit.jupiter" archive="junit-jupiter-engine" />
<f2 project="org.junit.jupiter" archive="junit-jupiter-params" />
</target>
<target name="junit-engine-vintage"
description="load junit vintage engine libraries (necessary only for internal Ant project tests)"
depends="init">
<f2 project="org.junit.vintage" archive="junit-vintage-engine" />
</target>
<target name="xml"
description="load full XML libraries (Xalan and xml-resolver)"
depends="init">
<f2 project="xalan"/>
<f2 project="xalan" archive="serializer"/>
<f2 project="xml-resolver"/>
</target>
<target name="networking"
description="load networking libraries (commons-net and JSch)"
depends="init">
<f2 project="commons-net"/>
<f2 project="com.jcraft" archive="jsch"/>
</target>
<target name="regexp"
description="load regexp libraries"
depends="init">
<f2 project="jakarta-regexp"/>
<f2 project="oro"/>
</target>
<target name="antlr"
description="load ANother Tool for Language Recognition (ANTLR)"
depends="init">
<f2 project="antlr"/>
</target>
<target name="bcel"
description="load Byte Code Engineering Library (BCEL)"
depends="init">
<f2 project="org.apache.bcel" archive="bcel"/>
</target>
<target name="jdepend"
description="load JDepend libraries"
depends="init">
<f2 project="jdepend"/>
</target>
<target name="bsf"
description="load Bean Scripting Framework"
depends="init">
<f2 project="bsf"/>
</target>
<target name="jruby"
description="load JRuby"
depends="bsf">
<f2 project="org.jruby" archive="jruby"/>
</target>
<target name="beanshell"
description="load BeanShell support"
depends="bsf">
<f2 project="org.beanshell" archive="bsh"/>
</target>
<target name="jython"
description="load Jython"
depends="bsf">
<f2 project="org.python" archive="jython"/>
</target>
<target name="rhino"
description="load Rhino"
depends="bsf">
<f2 project="org.mozilla" archive="rhino"/>
</target>
<target name="graal.js"
description="load Graal.js">
<f2 project="org.graalvm.js" archive="js"/>
<f2 project="org.graalvm.js" archive="js-scriptengine"/>
</target>
<target name="script"
description="load script languages (except Jython)"
depends="bsf,jruby,beanshell,rhino,graal.js"/>
<target name="debugging"
description="internal Ant debugging"
depends="init">
<f2 project="which"/>
</target>
<target name="javamail"
description="load Java Mail"
depends="init">
<f2 project="com.sun.mail" archive="javax.mail"/>
</target>
<target name="jakartamail"
description="load Jakarta Mail"
depends="init">
<!-- We only need this one dependency as per
the project doc https://eclipse-ee4j.github.io/mail/
This alone should bring in all necessary dependencies (including the API
jars and the activation jars -->
<f2 project="com.sun.mail" archive="jakarta.mail"/>
</target>
<target name="jspc"
description="load Jasper"
depends="init">
<f2 project="tomcat" archive="jasper-compiler"/>
<f2 project="tomcat" archive="jasper-runtime"/>
<f2 project="javax.servlet" archive="servlet-api"/>
</target>
<target name="jai"
description="load Java Advanced Imaging"
depends="init">
<f2 project="javax.media" archive="jai-core" id="jboss"
repository="https://repository.jboss.org/nexus/content/groups/public/"/>
<f2 project="com.sun.media" archive="jai-codec" id="jboss"
repository="https://repository.jboss.org/nexus/content/groups/public/"/>
</target>
<target name="netrexx"
description="load NetRexx compiler"
depends="init-no-m2">
<get src="https://netrexx.org/files/NetRexxC-${netrexx.version}.jar"
dest="${dest.dir}" skipexisting="true"/>
</target>
<target name="xz"
description="load XZ for Java"
depends="init">
<f2 project="org.tukaani" archive="xz"/>
</target>
<target name="all"
description="load all the libraries (except jython)"
depends="antunit,ivy,logging,junit,junitlauncher,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,script,
javamail,jakartamail,jspc,jai,xz,junit-engine-vintage,junit-engine-jupiter,netrexx"/>
</project>

121
lib/ant/get-m2.xml Normal file
View File

@@ -0,0 +1,121 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
=======================================================================
Build file to fetch maven2 tasks; extracted from (Ant's) fetch.xml
=======================================================================
-->
<project name="get-m2" default="get-m2" basedir=".">
<description>
This build file downloads the Maven2 Ant tasks,
and installs them in the location specified by the m2.dest.dir property.
You may need to set proxy settings. On Java1.5, Ant tries to get
this from the OS, unless you use the -noproxy option.
Proxies can be configured manually setting the JVM proxy values in the
ANT_OPTS environment variable.
For example, to set the proxy up in the tcsh shell, the command would be
something like:
For csh/tcsh:
setenv ANT_OPTS "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
For bash:
export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
For Windows, set the environment variable in the appropriate dialog box
and open a new console. or, by hand
set ANT_OPTS = -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080
</description>
<property file="get-m2.properties" />
<property name="m2.antlib.resource"
value="org/apache/maven/resolver/ant/antlib.xml" />
<property name="m2.antlib.uri"
value="antlib:org.apache.maven.resolver.ant" />
<macrodef name="require">
<attribute name="property" />
<sequential>
<fail unless="@{property}">$${@{property}} not specified</fail>
</sequential>
</macrodef>
<target name="probe-m2">
<require property="m2.dest.dir" />
<require property="m2.jar.name" />
<!-- Look for M2 ant tasks in our classpath-->
<property name="m2.artifact" location="${m2.dest.dir}/${m2.jar.name}" />
<available property="m2.antlib.found" resource="${m2.antlib.resource}" />
<condition property="m2.antlib.typefound">
<typefound name="${m2.antlib.uri}:artifact" />
</condition>
<available property="m2.artifact.found" file="${m2.artifact}" type="file" />
</target>
<target name="download-m2" depends="probe-m2" unless="m2.artifact.found">
<require property="m2.antlib.url" />
<echo>Downloading to ${m2.dest.dir}</echo>
<mkdir dir="${m2.dest.dir}" />
<!-- fetch M2 ant tasks into our repository, if it is not there-->
<get src="${m2.antlib.url}"
dest="${m2.artifact}"
verbose="true"
usetimestamp="false" />
</target>
<target name="dont-validate-m2-checksum" depends="probe-m2"
if="m2.artifact.found">
<property name="checksum.equal" value="true" />
</target>
<target name="validate-m2-checksum"
depends="download-m2,dont-validate-m2-checksum"
if="m2.sha1.checksum" unless="m2.artifact.found">
<checksum file="${m2.artifact}"
algorithm="SHA"
property="${m2.sha1.checksum}"
verifyProperty="checksum.equal" />
</target>
<target name="checksum-mismatch" depends="validate-m2-checksum"
if="m2.sha1.checksum" unless="${checksum.equal}">
<delete file="${m2.artifact}" />
<fail>
Failed to verify the downloaded file ${m2.antlib.url}" against the checksum
coded into libraries.properties.
The local copy has been deleted, for security reasons
</fail>
</target>
<target name="checksum-match" depends="checksum-mismatch"
unless="m2.antlib.found">
<taskdef classpath="${m2.artifact}" resource="${m2.antlib.resource}"
uri="${m2.antlib.uri}" />
</target>
<target name="get-m2" depends="checksum-match"
description="Download the Maven Artifact Resolver Ant tasks" />
</project>

Binary file not shown.

View File

@@ -27,13 +27,13 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-antlr</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + ANTLR</name>
<description>antlr specific task.
The implementation forks a java process, therefore the antlr jar file is only needed at runtime</description>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>

Binary file not shown.

View File

@@ -27,25 +27,25 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-bcel</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + BCEL</name>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
<version>6.5.0</version>
<version>6.7.0</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -27,19 +27,19 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-bsf</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + BSF</name>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -26,19 +26,19 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-log4j</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Log4J</name>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -27,19 +27,19 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-oro</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Apache Oro</name>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -26,19 +26,19 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-regexp</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Apache Regexp</name>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -26,19 +26,19 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-resolver</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Apache Resolver</name>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -26,26 +26,32 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-xalan2</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Xalan 2</name>
<description>contains Xalan2-specific features</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.2</version>
<version>2.7.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>serializer</artifactId>
<version>2.7.3</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -26,20 +26,20 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-commons-logging</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Commons Logging</name>
<description>Ant Listener based on commons-logging</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -26,26 +26,26 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-commons-net</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Commons Net</name>
<description>ftp, rexec and telnet tasks</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.8.0</version>
<version>3.9.0</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -27,20 +27,20 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-imageio</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + ImageIO</name>
<description>imageio task and corresponding types.</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -27,13 +27,13 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-jai</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JAI</name>
<description>image task and corresponding types.
</description>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
This POM has been created manually by the Ant Development Team.
Please contact us if you are not satisfied with the data contained in this POM.
URL : https://ant.apache.org
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-jakartamail</artifactId>
<version>1.10.14</version>
<name>Apache Ant + JakartaMail</name>
<description>implementation of the mail task based on Jakarta EE mail.
Required to send emails to SMTP servers using user/password combinations
or to send mail over SSL</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<!-- This brings in the necessary dependencies.
See https://eclipse-ee4j.github.io/mail/ -->
<groupId>com.sun.mail</groupId>
<artifactId>jakarta.mail</artifactId>
<version>2.0.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<includes>
<include>org/apache/tools/ant/taskdefs/email/JakartaMimeMailer*</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<index>true</index>
<manifest>
<addExtensions>true</addExtensions>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>../../../..</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
</resources>
<sourceDirectory>../../../../src/main</sourceDirectory>
<testSourceDirectory>../../../../src/testcases</testSourceDirectory>
<outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory>
<testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory>
<directory>../../../../target/${project.artifactId}</directory>
</build>
</project>

Binary file not shown.

View File

@@ -26,13 +26,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-javamail</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JavaMail</name>
<description>implementation of the mail task based on javamail.
Required to send emails to SMTP servers using user/password combinations
@@ -41,15 +41,15 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<!-- This brings in the necessary dependencies.
See https://eclipse-ee4j.github.io/mail/ -->
<groupId>com.sun.mail</groupId>
<artifactId>jakarta.mail</artifactId>
<version>1.6.4</version>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -27,13 +27,13 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-jdepend</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JDepend</name>
<description>task jdepend invoking the jdepend parser. There is also a version 2.9.1 of the
jdepend parser available on the maven repository</description>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -26,13 +26,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-jmf</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JMF</name>
<description>contains the sound task and a soundplayer listener
download the dependency from https://java.sun.com/products/java-media/jmf/</description>
@@ -40,7 +40,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -26,13 +26,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-jsch</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JSch</name>
<description>contains the sshexec and scp tasks
</description>
@@ -40,7 +40,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -26,38 +26,38 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JUnit</name>
<description>contains the junit and junirreport tasks</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.12.0</version>
<version>2.12.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.2</version>
<version>2.7.3</version>
<scope>test</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -26,26 +26,26 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junit4</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JUnit 4</name>
<description>contains JUnit 4.x support</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -26,38 +26,44 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junitlauncher</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + JUnit 5</name>
<description>contains JUnit 5.x support</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.2.0</version>
<version>1.10.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.2.0</version>
<version>5.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.2.0</version>
<version>5.10.0</version>
<scope>test</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -27,13 +27,13 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant Launcher</name>
<build>
<plugins>

Binary file not shown.

View File

@@ -26,13 +26,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-netrexx</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + NetRexx</name>
<description>NetRexxC task
dependency can be downloaded from https://www.ibm.com/software/awdtools/netrexx/download.html</description>
@@ -40,7 +40,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<!-- Processed too early, before maven-antrun-plugin gets a chance to work:

View File

@@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<packaging>pom</packaging>
<description>master POM</description>
<licenses>
@@ -95,6 +95,7 @@
<module>ant-imageio</module>
<module>ant-jai</module>
<module>ant-javamail</module>
<module>ant-jakartamail</module>
<module>ant-jdepend</module>
<module>ant-jmf</module>
<module>ant-jsch</module>
@@ -111,7 +112,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>

Binary file not shown.

View File

@@ -27,20 +27,20 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-swing</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + Swing</name>
<description>a listener and a splash task based on Swing</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -27,26 +27,26 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant Test Utilities</name>
<description>test utility classes</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -26,26 +26,26 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-xz</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant + XZ for Java</name>
<description>contains the xz compression support</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.tukaani</groupId>
<artifactId>xz</artifactId>
<version>1.8</version>
<version>1.9</version>
<scope>compile</scope>
</dependency>
</dependencies>

Binary file not shown.

View File

@@ -27,13 +27,13 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.10.12</version>
<version>1.10.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<url>https://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<name>Apache Ant Core</name>
<properties>
<modules.exclude>org/apache/tools/ant/taskdefs/modules/</modules.exclude>
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.10.12</version>
<version>1.10.14</version>
<scope>compile</scope>
</dependency>
<dependency>
@@ -64,7 +64,7 @@
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.12.0</version>
<version>2.12.2</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -160,7 +160,7 @@
<exclude>org/apache/tools/ant/launch/</exclude>
<exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude>
<exclude>org/apache/tools/ant/listener/Log4jListener*</exclude>
<exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude>
<exclude>org/apache/tools/ant/taskdefs/email/*MimeMailer*</exclude>
<exclude>${modules.exclude}</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/NetRexxC*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/Xalan2TraceSupport*</exclude>

Binary file not shown.

View File

@@ -16,42 +16,46 @@
# This file declares the libraries for use in a given release of the components
# If you change this, change the checksum to match
m2.version=2.1.3
m2.url=https://archive.apache.org/dist/maven/ant-tasks
m2.artifact-name=maven-ant-tasks
m2.jar.name=${m2.artifact-name}-${m2.version}.jar
m2.version=1.4.0
m2.url=https://repo1.maven.org/maven2/org/apache/maven/resolver
m2.artifact-name=maven-resolver-ant-tasks
m2.jar.name=${m2.artifact-name}-${m2.version}-uber.jar
#this is the URL of the antlib library, that is pulled down for everything else.
m2.antlib.url=${m2.url}/${m2.version}/binaries/${m2.jar.name}
m2.antlib.url=${m2.url}/${m2.artifact-name}/${m2.version}/${m2.jar.name}
#this is the sha1 checksum of the artifact
m2.sha1.checksum=b09be554228d66d208e5fef5266844aacf443abc
m2.sha1.checksum=c4642858aa22465650ad2a469b24e22696177441
# Repository to use by default for fetching dependencies.
m2.repo=https://repo1.maven.org/maven2/
# hashes of libraries loaded over insecure connections
netrexx.sha256=1f99f054e9b1e412d29823088f3fa7cfce90a7af25d907a60a6d7908a6b97ea4
.sha256=2443dfe8d8974a38a390ee55c2757396f3e2350d4b18cc8dc489709bf5593b61
# Versions of different libraries. Please keep in alphabetical order, except
# when a specific dependency forces them to be out-of-order
ivy.version=2.5.0
ivy.version=2.5.1
ant-antunit.version=1.4.1
antlr.version=2.7.7
bcel.version=6.5.0
bcel.version=6.7.0
bsf.version=2.4.0
bsh.version=2.0b5
commons-net.version=3.8.0
commons-net.version=3.9.0
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
# into the source distribution. Also update the hamcrest dependency
# version in src/etc/poms/pom.xml.
hamcrest-core.version=1.3
hamcrest-library.version=${hamcrest-core.version}
jai-core.version=1.1.3
jai-codec.version=1.1.3
jakarta.mail.version=1.6.4
netrexx.version=2.05
# Later 1.6 versions call themselves "jakarta.mail" but do not use the namespace yet
javax.mail.version=1.6.2
jakarta.mail.version=2.0.1
jakarta-regexp.version=1.4
# Later versions of Tomcat provide a jspc task
jasper-compiler.version=4.1.36
@@ -60,24 +64,28 @@ 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
# into the source distribution. Also update the junit dependency's version
# in src/etc/poms/pom.xml.
junit.version=4.13.2
rhino.version=1.7.14
junit-platform-launcher.version=1.10.0
# Only used for internal tests in Ant project
junit-vintage-engine.version=5.2.0
junit-vintage-engine.version=5.10.0
# Only used for internal tests in Ant project
junit-jupiter-engine.version=5.2.0
junit-jupiter-engine.version=5.10.0
# Only used for internal tests in Ant project
junit-jupiter-params.version=${junit-jupiter-engine.version}
jsch.version=0.1.55
jython.version=2.7.2
jython.version=2.7.3
# log4j 1.2.15 requires JMS and a few other Sun jars that are not in the m2 repo
log4j.version=1.2.14
oro.version=2.0.8
servlet-api.version=2.3
which.version=1.0
xalan.version=2.7.2
xalan.version=2.7.3
serializer.version=${xalan.version}
xml-resolver.version=1.2
xz.version=1.8
xz.version=1.9
# paired
jacl.version=1.2.6
tcljava.version=${jacl.version}

48
lib/ant/patch.xml Normal file
View File

@@ -0,0 +1,48 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
=======================================================================
Use Apache Ant to generate a patch file for Apache Ant.
=======================================================================
-->
<project name="create-patch" default="patchpackage" basedir=".">
<property environment="env"/>
<property name="patch.package" value="patch.tar.gz"/>
<property name="patch.file" value="patch.txt"/>
<condition property="git.found">
<or>
<available file="git" filepath="${env.PATH}"/>
<available file="git.exe" filepath="${env.PATH}"/>
<available file="git.exe" filepath="${env.Path}"/>
</or>
</condition>
<target name="createpatch">
<fail unless="git.found"
message="You need a version of git to create the patch"/>
<exec executable="git" output="${patch.file}">
<arg value="diff"/>
</exec>
</target>
<target name="patchpackage" depends="createpatch">
<gzip src="${patch.file}" destfile="${patch.file}.gz"/>
</target>
</project>

Binary file not shown.