Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Prakash2012-01-21 02:20:08 +0000
committerWinston Prakash2012-01-21 02:20:08 +0000
commit06cfc03c77ae53bed2984bc8376f53a876926ab2 (patch)
treef4e508096de4c3226b50c9da670d1d83bbf1cc58 /hudson-test-framework/pom.xml
parentc0430fb0af1f25366e79f3ae97da31aef1a06638 (diff)
downloadorg.eclipse.hudson.core-06cfc03c77ae53bed2984bc8376f53a876926ab2.tar.gz
org.eclipse.hudson.core-06cfc03c77ae53bed2984bc8376f53a876926ab2.tar.xz
org.eclipse.hudson.core-06cfc03c77ae53bed2984bc8376f53a876926ab2.zip
Remove the dependency of maven plugin on the Test Framework. It will be moved to test harness
Diffstat (limited to 'hudson-test-framework/pom.xml')
-rw-r--r--hudson-test-framework/pom.xml305
1 files changed, 146 insertions, 159 deletions
diff --git a/hudson-test-framework/pom.xml b/hudson-test-framework/pom.xml
index 1805a16f..766324e8 100644
--- a/hudson-test-framework/pom.xml
+++ b/hudson-test-framework/pom.xml
@@ -17,175 +17,162 @@
<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>
+ <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>
+ <groupId>org.eclipse.hudson.main</groupId>
+ <artifactId>hudson-war</artifactId>
+ <type>war</type>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jdk14</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
<!-- Fixme - temporary -->
-
- <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</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</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>
+ <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>
+ <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>
+ <groupId>org.jvnet.hudson</groupId>
+ <artifactId>embedded-rhino-debugger</artifactId>
+ <version>${embedded-rhino-debugger.version}</version>
+ </dependency>
- <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>
+ <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>
+ </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>
+ <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