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

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

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.
-->

25 26 27
<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>
28
    <groupId>org.jenkins-ci.main</groupId>
29
    <artifactId>pom</artifactId>
30
    <version>1.402-SNAPSHOT</version>
31 32 33 34 35
    <relativePath>../pom.xml</relativePath>
  </parent>
  
  <artifactId>maven-agent</artifactId>
  <packaging>jar</packaging>
36
  <name>Jenkins Maven2 CLI agent</name>
37
  <description>
38
    Code that boots up Maven2 with Jenkins's remoting support in place.
S
Seiji Sogabe 已提交
39
    Used for the native maven support.
40
  </description>
41 42 43 44 45 46 47 48 49 50 51 52 53

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>Main</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>
54 55
      <plugin>
        <!-- compile with 1.2 so that we can report JDK version errors nicely -->
A
abayer 已提交
56
        <artifactId>maven-compiler-plugin</artifactId>
57 58 59 60 61
        <configuration>
          <source>1.2</source>
          <target>1.2</target>
        </configuration>
      </plugin>
62 63 64 65 66 67
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>never</forkMode>
        </configuration>
      </plugin>
68 69 70 71 72
    </plugins>
  </build>

  <dependencies>
    <dependency>
73
      <groupId>org.jenkins-ci.main</groupId>
74
      <artifactId>maven-interceptor</artifactId>
75
      <version>${project.version}</version>
S
Seiji Sogabe 已提交
76 77 78 79 80 81
      <exclusions>
        <exclusion>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-classworlds</artifactId>
        </exclusion>
      </exclusions>
82
    </dependency>
S
Seiji Sogabe 已提交
83
     
84 85 86 87 88
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <version>1.1</version>
    </dependency>
S
Seiji Sogabe 已提交
89 90 91 92 93
    
    <dependency>
      <groupId>org.apache.ant</groupId>
      <artifactId>ant</artifactId>
    </dependency>    
94 95 96 97 98 99 100
    <dependency>
      <!-- default dependency to 2.0.2 confuses IntelliJ. Otherwise this value doesn't really affect build or runtime. -->
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>3.1-rc1</version>
    </dependency>
    
101 102 103 104
    <!-- test dependencies -->
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
S
Seiji Sogabe 已提交
105 106 107 108 109 110 111 112
      <version>2.0.9</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <groupId>classworlds</groupId>
          <artifactId>classworlds</artifactId>
        </exclusion>
      </exclusions>
113
    </dependency>
K
kohsuke 已提交
114
    <dependency>
115
      <groupId>org.jenkins-ci.main</groupId>
K
kohsuke 已提交
116
      <artifactId>remoting</artifactId>
117
      <version>${project.version}</version>
K
kohsuke 已提交
118 119
      <scope>test</scope>
    </dependency>
120
  </dependencies>
K
kohsuke 已提交
121
</project>