pom.xml 2.0 KB
Newer Older
1 2 3 4 5
<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.jvnet.hudson.main</groupId>
    <artifactId>pom</artifactId>
6
    <version>1.282-SNAPSHOT</version>
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    <relativePath>../pom.xml</relativePath>
  </parent>
  
  <artifactId>maven-agent</artifactId>
  <packaging>jar</packaging>
  <name>Hudson Maven CLI agent</name>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>Main</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>
26 27 28 29 30 31 32 33
      <plugin>
        <!-- compile with 1.2 so that we can report JDK version errors nicely -->
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.2</source>
          <target>1.2</target>
        </configuration>
      </plugin>
34 35 36 37 38 39
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>never</forkMode>
        </configuration>
      </plugin>
40 41 42 43 44 45 46
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.jvnet.hudson.main</groupId>
      <artifactId>maven-interceptor</artifactId>
47
      <version>${project.version}</version>
48 49 50 51 52 53 54 55 56 57
    </dependency>
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <version>1.1</version>
    </dependency>
    <!-- test dependencies -->
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
58
      <version>${maven.version}</version>
59 60
      <scope>test</scope>
    </dependency>
K
kohsuke 已提交
61 62 63
    <dependency>
      <groupId>org.jvnet.hudson.main</groupId>
      <artifactId>remoting</artifactId>
64
      <version>${project.version}</version>
K
kohsuke 已提交
65 66
      <scope>test</scope>
    </dependency>
67 68
  </dependencies>
</project>