pom.xml 4.7 KB
Newer Older
1
<?xml version="1.0"?>
K
kohsuke 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<!--
The MIT License

Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->

26
<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">
27 28 29
  <parent>
    <artifactId>pom</artifactId>
    <groupId>org.jvnet.hudson.main</groupId>
30
    <version>1.290-SNAPSHOT</version>
31 32 33
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jvnet.hudson.main</groupId>
34 35
  <artifactId>hudson-test-harness</artifactId>
  <name>Test harness for Hudson and plugins</name>
36 37 38 39 40 41

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
42 43
          <!-- override with -DforkMode=pertest if you have "unable to create thread problems" on Windows -->
          <forkMode>never</forkMode> 
44 45 46
          <!--<forkMode>once</forkMode>--><!-- fork is necessary for redirectTestOutputToFile -->
          <!--<reportFormat>plain</reportFormat>-->
          <!--<redirectTestOutputToFile>true</redirectTestOutputToFile>-->
47 48
        </configuration>
      </plugin>
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
      <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>
65
            <groupId>ant</groupId>
66
            <artifactId>ant</artifactId>
67
            <version>1.6.5</version>
68 69 70
          </dependency>
        </dependencies>
      </plugin>
71 72
    </plugins>
  </build>
73 74 75
  
  <dependencies>
    <dependency>
76 77 78 79
      <!--
        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.
      -->
80
      <groupId>${project.groupId}</groupId>
81
      <artifactId>hudson-war</artifactId>
82
      <version>${project.version}</version>
83
      <classifier>war-for-test</classifier>
84 85 86 87 88 89
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>jetty</artifactId>
      <version>6.1.11</version>
    </dependency>
90 91 92 93 94
    <dependency>
      <groupId>org.jvnet.mock-javamail</groupId>
      <artifactId>mock-javamail</artifactId>
      <version>1.7</version>
    </dependency>
95
    <!--dependency>
K
kohsuke 已提交
96 97 98
      <groupId>org.openqa.selenium.client-drivers</groupId>
      <artifactId>selenium-java-client-driver</artifactId>
      <version>1.0-beta-1</version>
99
    </dependency-->
100
    <dependency>
101
      <groupId>org.jvnet.hudson</groupId>
102
      <artifactId>htmlunit</artifactId>
103
      <version>2.2-hudson-9</version>
104
    </dependency>
K
kohsuke 已提交
105 106 107 108 109 110 111

    <dependency><!-- temporary, until we bump to new htmlunit -->
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>htmlunit-core-js</artifactId>
      <version>2.2-hudson-2</version>
    </dependency>
    
112 113 114 115
    <dependency>
      <!-- for testing JNLP launch. -->
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>netx</artifactId>
K
kohsuke 已提交
116
      <version>0.5-hudson-2</version>
117
    </dependency>
118 119 120 121 122
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
    </dependency>
H
huybrechts 已提交
123 124 125 126 127
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>2.4</version>
    </dependency>
128
  </dependencies>
K
kohsuke 已提交
129 130 131 132 133 134 135

  <repositories>
    <repository>
      <id>selenium</id>
      <url>http://archiva.openqa.org/repository/releases/</url>
    </repository>
  </repositories>
K
kohsuke 已提交
136
</project>