pom.xml 3.0 KB
Newer Older
1 2
<?xml version="1.0"?>
<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">
3 4 5
  <parent>
    <artifactId>pom</artifactId>
    <groupId>org.jvnet.hudson.main</groupId>
6
    <version>1.267-SNAPSHOT</version>
7 8 9
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jvnet.hudson.main</groupId>
10 11
  <artifactId>hudson-test-harness</artifactId>
  <name>Test harness for Hudson and plugins</name>
12 13 14 15 16 17 18 19 20

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>never</forkMode>
        </configuration>
      </plugin>
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
      <plugin>
        <groupId>org.codehaus.groovy.maven</groupId>
        <artifactId>gmaven-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <goals>
              <goal>execute</goal>
            </goals>
            <configuration>
              <source>${pom.basedir}/src/main/preset-data/package.groovy</source>
            </configuration>
          </execution>
        </executions>
        <dependencies>
          <dependency>
37
            <groupId>ant</groupId>
38
            <artifactId>ant</artifactId>
39
            <version>1.6.5</version>
40 41 42
          </dependency>
        </dependencies>
      </plugin>
43 44
    </plugins>
  </build>
45 46 47
  
  <dependencies>
    <dependency>
48 49 50 51
      <!--
        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.
      -->
52
      <groupId>${project.groupId}</groupId>
53
      <artifactId>hudson-war</artifactId>
54
      <version>${project.version}</version>
55
      <classifier>war-for-test</classifier>
56 57 58 59 60 61
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>jetty</artifactId>
      <version>6.1.11</version>
    </dependency>
62 63 64 65 66
    <dependency>
      <groupId>org.jvnet.mock-javamail</groupId>
      <artifactId>mock-javamail</artifactId>
      <version>1.7</version>
    </dependency>
67
    <!--dependency>
K
kohsuke 已提交
68 69 70
      <groupId>org.openqa.selenium.client-drivers</groupId>
      <artifactId>selenium-java-client-driver</artifactId>
      <version>1.0-beta-1</version>
71
    </dependency-->
72
    <dependency>
73
      <groupId>org.jvnet.hudson</groupId>
74
      <artifactId>htmlunit</artifactId>
K
kohsuke 已提交
75
      <version>2.2-hudson-5</version>
76
    </dependency>
77 78 79 80 81 82
    <dependency>
      <!-- for testing JNLP launch. -->
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>netx</artifactId>
      <version>0.5-hudson-1</version>
    </dependency>
83 84 85 86 87 88
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
    </dependency>
  </dependencies>
K
kohsuke 已提交
89 90 91 92 93 94 95

  <repositories>
    <repository>
      <id>selenium</id>
      <url>http://archiva.openqa.org/repository/releases/</url>
    </repository>
  </repositories>
96
</project>