Browse Source

modify also ant-nodeps to be able to build the corresponding jar

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466882 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 18 years ago
parent
commit
b563772482
2 changed files with 69 additions and 8 deletions
  1. +68
    -8
      src/etc/poms/ant-nodeps/pom.xml
  2. +1
    -0
      src/etc/poms/pom.xml

+ 68
- 8
src/etc/poms/ant-nodeps/pom.xml View File

@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>ant</groupId>
<artifactId>ant-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.7.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>ant</groupId> <groupId>ant</groupId>
<artifactId>ant-nodeps</artifactId> <artifactId>ant-nodeps</artifactId>
@@ -17,11 +24,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<!-- the implementation jar of the xerces jar will be used by ant to parse <!-- the implementation jar of the xerces jar will be used by ant to parse
XML files, particularly the build files, if the JDK does not provide a parser XML files, particularly the build files, if the JDK does not provide a parser
xercesImpl.jar is provided with ant --> xercesImpl.jar is provided with ant -->
<groupId>xerces</groupId>
<artifactId>xerces-impl</artifactId>
<version>2.8.1</version>
<optional>true</optional>
<scope>runtime</scope>
<groupId>xerces</groupId>
<artifactId>xerces-impl</artifactId>
<version>2.8.1</version>
<optional>true</optional>
<scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<!-- xml-apis contains the org.w3c.dom package <!-- xml-apis contains the org.w3c.dom package
@@ -34,6 +41,59 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<optional>true</optional> <optional>true</optional>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.2</source>
<target>1.2</target>
<includes>
<include>org/apache/tools/ant/taskdefs/optional/**</include>
<include>org/apache/tools/ant/types/optional/**</include>
<include>org/apache/tools/ant/util/depend/*</include>
<include>org/apache/tools/ant/util/optional/**</include>
<include>org/apache/tools/ant/util/java15/**</include>
<include>org/apache/tools/ant/util/regexp/Jdk14Regexp*</include>
</includes>
<excludes>
<exclude>org/apache/tools/ant/taskdefs/optional/TraXLiaison*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/junit/**</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/perforce/**</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/Script*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/script/**</exclude>
<exclude>org/apache/tools/ant/util/optional/Script*</exclude>
<exclude>org/apache/tools/ant/types/optional/*Script*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/StyleBook*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/NetRexxC*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/ejb/Ejbc*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/ejb/DDCreator*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/ejb/WLRun*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/ejb/WLStop*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/net/Telnet*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/net/FTP*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/net/RExec*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/scm/AntStarTeam*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/starteam/*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/ANTLR*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/sound/*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/image/*</exclude>
<exclude>org/apache/tools/ant/types/optional/image/*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/jdepend/*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/splash/*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/ssh/*</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
<sourceDirectory>../../../../src/main</sourceDirectory>
<testSourceDirectory>../../../../src/testcases</testSourceDirectory>
<outputDirectory>../../../../target/ant-nodeps/classes</outputDirectory>
<testOutputDirectory>../../../../target/ant-nodeps/testcases</testOutputDirectory>
<directory>../../../../target/ant-nodeps</directory>
</build>
</project> </project>

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

@@ -49,6 +49,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<modules> <modules>
<module>ant-launcher</module> <module>ant-launcher</module>
<module>ant</module> <module>ant</module>
<module>ant-nodeps</module>
</modules> </modules>
<dependencies> <dependencies>
<dependency> <dependency>


Loading…
Cancel
Save