Browse Source

control the location of the output jars

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466870 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 18 years ago
parent
commit
01b41e4197
2 changed files with 14 additions and 5 deletions
  1. +1
    -0
      src/etc/poms/ant-launcher/pom.xml
  2. +13
    -5
      src/etc/poms/ant/pom.xml

+ 1
- 0
src/etc/poms/ant-launcher/pom.xml View File

@@ -31,5 +31,6 @@
<testSourceDirectory>../../../../src/testcases</testSourceDirectory>
<outputDirectory>../../../../target/ant-launcher/classes</outputDirectory>
<testOutputDirectory>../../../../target/ant-launcher/testcases</testOutputDirectory>
<directory>../../../../target/ant-launcher</directory>
</build>
</project>

+ 13
- 5
src/etc/poms/ant/pom.xml View File

@@ -6,8 +6,8 @@
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.0-SNAPSHOT</version>
<description>ant.jar contains the ant framework, except a few classes which are in ant-launcher it
also contains the implementation and API of the core tasks and types. </description>
<name>org.apache.tools.ant</name>
<description>Apache Ant</description>
<dependencies>
<dependency>
<!-- the implementation jar of the xerces jar will be used by ant to parse
@@ -45,6 +45,12 @@
<filter>.build.timestamp.properties</filter>
</filters>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
@@ -57,8 +63,9 @@
<configuration>
<tasks>
<tstamp/>
<touch file=".build.timestamp.properties" />
<echo file=".build.timestamp.properties" append="false"
<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>
</configuration>
@@ -71,7 +78,7 @@
</goals>
<configuration>
<tasks>
<delete file=".build.timestamp.properties" />
<delete file="${project.build.directory}/.build.timestamp.properties" />
</tasks>
</configuration>
</execution>
@@ -134,5 +141,6 @@
</resources>
<outputDirectory>../../../../target/ant/classes</outputDirectory>
<testOutputDirectory>../../../../target/ant/testcases</testOutputDirectory>
<directory>../../../../target/ant</directory>
</build>
</project>

Loading…
Cancel
Save