Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'hudson-test-framework/pom.xml')
-rw-r--r--hudson-test-framework/pom.xml355
1 files changed, 185 insertions, 170 deletions
diff --git a/hudson-test-framework/pom.xml b/hudson-test-framework/pom.xml
index ef2a0527..8a4c5189 100644
--- a/hudson-test-framework/pom.xml
+++ b/hudson-test-framework/pom.xml
@@ -14,178 +14,193 @@
#
#************************************************************************** -->
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.eclipse.hudson.main</groupId>
- <artifactId>hudson</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <artifactId>hudson-test-framework</artifactId>
- <name>Hudson :: Test Framework</name>
- <description>
- Contains common classes for testing.
- </description>
-
- <properties>
- <htmlunit.version>2.6-hudson-3</htmlunit.version>
- <embedded-rhino-debugger.version>1.2</embedded-rhino-debugger.version>
- <netx.version>0.5-hudson-2</netx.version>
- <gmaven-plugin.version>1.3</gmaven-plugin.version>
- <gmaven-provider.version>1.7</gmaven-provider.version>
- </properties>
-
- <dependencies>
- <dependency>
- <!--
- put hudson.war in the classpath. we can't pull in the war artifact directly
- because Maven excludes all wars from classpath automatically. so we need a jar artifact.
- -->
- <groupId>org.eclipse.hudson.main</groupId>
- <artifactId>hudson-war</artifactId>
- <version>${project.version}</version>
- <classifier>war-for-test</classifier>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- Fixme - temporary -->
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.hudson.main</groupId>
+ <artifactId>hudson</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>hudson-test-framework</artifactId>
+ <name>Hudson :: Test Framework</name>
+ <description>
+ Contains common classes for testing.
+ </description>
+
+ <properties>
+ <htmlunit.version>2.6-hudson-3</htmlunit.version>
+ <embedded-rhino-debugger.version>1.2</embedded-rhino-debugger.version>
+ <netx.version>0.5-hudson-2</netx.version>
+ <gmaven-plugin.version>1.3</gmaven-plugin.version>
+ <gmaven-provider.version>1.7</gmaven-provider.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <!--
+ put hudson.war in the classpath. we can't pull in the war artifact directly
+ because Maven excludes all wars from classpath automatically. so we need a jar artifact.
+ -->
+ <groupId>org.eclipse.hudson.main</groupId>
+ <artifactId>hudson-war</artifactId>
+ <version>${project.version}</version>
+ <classifier>war-for-test</classifier>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jdk14</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
- <dependency>
- <groupId>org.hudsonci.plugins</groupId>
- <artifactId>jna-native-support-plugin</artifactId>
- <version>1.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.hudson.main</groupId>
- <artifactId>hudson-inject</artifactId>
- <classifier>tests</classifier>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.hudson.main</groupId>
- <artifactId>rest-plugin</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.hudson.main</groupId>
- <artifactId>hudson-cli</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.hudson.main</groupId>
- <artifactId>maven-plugin</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.jvnet.hudson</groupId>
- <artifactId>test-annotations</artifactId>
- <version>${test-annotations.version}</version>
- <scope>compile</scope><!-- in this module we need this as a compile scope, whereas in the parent it's test -->
- </dependency>
-
- <dependency>
- <groupId>org.hudsonci.tools</groupId>
- <artifactId>htmlunit</artifactId>
- <version>${htmlunit.version}</version>
- <exclusions>
- <exclusion>
- <!-- hides JDK DOM classes in Eclipse -->
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.jvnet.hudson</groupId>
- <artifactId>embedded-rhino-debugger</artifactId>
- <version>${embedded-rhino-debugger.version}</version>
- </dependency>
-
- <dependency>
- <!-- for testing JNLP launch. -->
- <groupId>org.jvnet.hudson</groupId>
- <artifactId>netx</artifactId>
- <version>${netx.version}</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>compile</scope>
- </dependency>
-
- </dependencies>
+ <!-- Fixme - temporary -->
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jvnet.hudson</groupId>
+ <artifactId>test-annotations</artifactId>
+ <version>${test-annotations.version}</version>
+ <scope>compile</scope><!-- in this module we need this as a compile scope, whereas in the parent it's test -->
+ </dependency>
+
+ <dependency>
+ <groupId>org.hudsonci.tools</groupId>
+ <artifactId>htmlunit</artifactId>
+ <version>${htmlunit.version}</version>
+ <exclusions>
+ <exclusion>
+ <!-- hides JDK DOM classes in Eclipse -->
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jvnet.hudson</groupId>
+ <artifactId>embedded-rhino-debugger</artifactId>
+ <version>${embedded-rhino-debugger.version}</version>
+ </dependency>
+
+ <dependency>
+ <!-- for testing JNLP launch. -->
+ <groupId>org.jvnet.hudson</groupId>
+ <artifactId>netx</artifactId>
+ <version>${netx.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.hudson.main</groupId>
+ <artifactId>hudson-core</artifactId>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.hudson.main</groupId>
+ <artifactId>hudson-inject</artifactId>
+ <classifier>tests</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.hudson.main</groupId>
+ <artifactId>hudson-inject</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jvnet.hudson</groupId>
+ <artifactId>hudson-maven-embedder</artifactId>
+ <version>3.2</version>
+ <type>jar</type>
+ <exclusions>
+ <exclusion><!-- we'll add our own patched version. see http://www.nabble.com/Issue-1680-td18383889.html -->
+ <groupId>jtidy</groupId>
+ <artifactId>jtidy</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ <exclusion>
+ <!-- we bundle our own version below -->
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ </exclusion>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.gmaven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>${gmaven-plugin.version}</version>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <version>${groovy.version}</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.gmaven.runtime</groupId>
- <artifactId>gmaven-runtime-1.7</artifactId>
- <version>${gmaven-plugin.version}</version>
- <exclusions>
+ <!-- prefer net.sourceforge.nekohtml:nekohtml:jar:1.9.13 so that we use consistent version across Hudson -->
<exclusion>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
+ <groupId>nekohtml</groupId>
+ <artifactId>nekohtml</artifactId>
</exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>${ant.version}</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>preset-packager</id>
- <phase>process-resources</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <source>${pom.basedir}/src/main/preset-data/package.groovy</source>
- <providerSelection>${gmaven-provider.version}</providerSelection>
- </configuration>
- </execution>
- <execution>
- <id>test-in-groovy</id>
- <goals>
- <goal>testCompile</goal>
- </goals>
- <configuration>
- <providerSelection>${gmaven-provider.version}</providerSelection>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <exclusion>
+ <groupId>nekohtml</groupId>
+ <artifactId>xercesMinimal</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>gmaven-plugin</artifactId>
+ <version>${gmaven-plugin.version}</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ <version>${groovy.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.gmaven.runtime</groupId>
+ <artifactId>gmaven-runtime-1.7</artifactId>
+ <version>${gmaven-plugin.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>${ant.version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>preset-packager</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <source>${pom.basedir}/src/main/preset-data/package.groovy</source>
+ <providerSelection>${gmaven-provider.version}</providerSelection>
+ </configuration>
+ </execution>
+ <execution>
+ <id>test-in-groovy</id>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ <configuration>
+ <providerSelection>${gmaven-provider.version}</providerSelection>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>

Back to the top