Browse Source

Complete antrun plugin update fix unit task dependencies

master
Gintas Grigelionis 6 years ago
parent
commit
103fc3dd5a
3 changed files with 20 additions and 14 deletions
  1. +8
    -2
      src/etc/poms/ant-junit/pom.xml
  2. +2
    -3
      src/etc/poms/ant-netrexx/pom.xml
  3. +10
    -9
      src/etc/poms/ant/pom.xml

+ 8
- 2
src/etc/poms/ant-junit/pom.xml View File

@@ -54,6 +54,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<version>2.12.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
@@ -67,7 +73,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<copy todir="${project.build.outputDirectory}/org/apache/tools/ant/taskdefs/optional/junit/xsl">
<fileset dir="${project.build.scriptSourceDirectory}">
<include name="junit-frames.xsl"/>
@@ -76,7 +82,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<include name="junit-noframes-saxon.xsl"/>
</fileset>
</copy>
</tasks>
</target>
</configuration>
</execution>
</executions>


+ 2
- 3
src/etc/poms/ant-netrexx/pom.xml View File

@@ -85,16 +85,15 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<configuration>
<tasks>
<target>
<ant dir="${basedir}/../../../.." antfile="fetch.xml" target="netrexx">
<property name="dest" value="optional"/>
</ant>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>


+ 10
- 9
src/etc/poms/ant/pom.xml View File

@@ -92,13 +92,13 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<tstamp/>
<mkdir dir="${project.build.directory}"/>
<touch file="${project.build.directory}/.build.timestamp.properties"/>
<echo file="${project.build.directory}/.build.timestamp.properties" append="false"
message="TODAY=${TODAY}"/>
</tasks>
</target>
</configuration>
</execution>
<execution>
@@ -108,14 +108,14 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<get src="http://apache.mirrors.spacedump.net//ant/binaries/apache-ant-1.10.5-bin.zip"
dest="${project.build.directory}/ant.zip"/>
<delete dir="${project.build.directory}/ant.zip"/>
<delete dir="${project.build.directory}/ant-home"/>
<unzip src="${project.build.directory}/ant.zip" dest="${project.build.directory}/ant-home">
<cutdirsmapper dirs="1"/>
</unzip>
</tasks>
</target>
</configuration>
</execution>
<execution>
@@ -125,7 +125,7 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<jar jarfile="${project.build.testOutputDirectory}/org/apache/tools/ant/taskdefs/test2-antlib.jar">
<manifest>
<attribute name="Extension-name"
@@ -147,7 +147,8 @@
<include name="taskdefs/test2.antlib.xml"/>
</zipfileset>
</jar>
</tasks>
<echoproperties prefix="maven."/>
</target>
</configuration>
</execution>
<execution>
@@ -157,9 +158,9 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<delete file="${project.build.directory}/.build.timestamp.properties"/>
</tasks>
</target>
</configuration>
</execution>
</executions>


Loading…
Cancel
Save