PageRenderTime 26ms CodeModel.GetById 18ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/hudson-remoting/pom.xml

http://github.com/hudson/hudson
XML | 151 lines | 124 code | 13 blank | 14 comment | 0 complexity | 24608ffa4bde45a19254f0d5b4e42307 MD5 | raw file
  1<!-- The MIT License Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Daniel Dyer, Stephen Connolly Permission is hereby granted, 
  2  free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software 
  3  without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
  4  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 
  5  and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT 
  6  WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
  7  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 
  8  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -->
  9
 10<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">
 11  <modelVersion>4.0.0</modelVersion>
 12  <parent>
 13    <groupId>org.jvnet.hudson.main</groupId>
 14    <artifactId>hudson</artifactId>
 15    <version>2.2.2-SNAPSHOT</version>
 16  </parent>
 17
 18  <artifactId>hudson-remoting</artifactId>
 19  <packaging>jar</packaging>
 20  <name>Hudson :: Remoting Layer</name>
 21  <description>
 22    Contains the bootstrap code to bridge separate JVMs into a single semi-shared space.
 23    Reusable outside Hudson.
 24  </description>
 25
 26  <properties>
 27    <asm-all.version>2.2.3</asm-all.version>
 28  </properties>
 29
 30  <build>
 31    <plugins>
 32      <plugin>
 33        <groupId>org.codehaus.mojo</groupId>
 34        <artifactId>findbugs-maven-plugin</artifactId>
 35        <configuration>
 36          <threshold>High</threshold>
 37        </configuration>
 38      </plugin>
 39
 40      <plugin>
 41        <groupId>org.apache.maven.plugins</groupId>
 42        <artifactId>maven-pmd-plugin</artifactId>
 43        <configuration>
 44          <!--rulesets> <ruleset>ruleset.xml</ruleset> </rulesets -->
 45          <targetJdk>1.5</targetJdk>
 46        </configuration>
 47      </plugin>
 48
 49      <plugin>
 50        <groupId>org.apache.maven.plugins</groupId>
 51        <artifactId>maven-jar-plugin</artifactId>
 52        <configuration>
 53          <archive>
 54            <manifest>
 55              <mainClass>hudson.remoting.Launcher</mainClass>
 56            </manifest>
 57          </archive>
 58        </configuration>
 59        <executions>
 60          <execution>
 61            <goals>
 62              <goal>sign</goal>
 63            </goals>
 64            <configuration>
 65              <!-- during the development, debug profile defined in ../pom.xml will cause the jars to be signed by a self-certified dummy public 
 66                key. For release, you should define the real values in ~/.m2/settings.xml -->
 67              <alias>${hudson.sign.alias}</alias>
 68              <storepass>${hudson.sign.storepass}</storepass>
 69              <keystore>${hudson.sign.keystore}</keystore>
 70            </configuration>
 71          </execution>
 72        </executions>
 73      </plugin>
 74
 75      <plugin>
 76        <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
 77        <artifactId>maven-antrun-extended-plugin</artifactId>
 78        <executions>
 79          <execution>
 80            <!-- rejar args4j contents -->
 81            <id>process-classes</id>
 82            <phase>process-classes</phase>
 83            <goals>
 84              <goal>run</goal>
 85            </goals>
 86            <configuration>
 87              <tasks>
 88                <resolveArtifact artifactId="args4j" property="args4j.jar" />
 89                <unjar src="${args4j.jar}" dest="target/classes" />
 90              </tasks>
 91            </configuration>
 92          </execution>
 93        </executions>
 94      </plugin>
 95    </plugins>
 96  </build>
 97
 98  <dependencies>
 99    <!-- test dependencies -->
100    <dependency>
101      <groupId>junit</groupId>
102      <artifactId>junit</artifactId>
103      <scope>test</scope>
104    </dependency>
105
106    <dependency>
107      <groupId>asm</groupId>
108      <artifactId>asm-all</artifactId>
109      <version>${asm-all.version}</version>
110      <scope>test</scope>
111    </dependency>
112
113    <dependency>
114      <groupId>args4j</groupId>
115      <artifactId>args4j</artifactId>
116      <scope>provided</scope>
117    </dependency>
118
119    <dependency>
120      <groupId>commons-codec</groupId>
121      <artifactId>commons-codec</artifactId>
122    </dependency>
123
124    <dependency>
125      <groupId>commons-io</groupId>
126      <artifactId>commons-io</artifactId>
127      <scope>test</scope>
128    </dependency>
129  </dependencies>
130
131  <profiles>
132    <profile>
133      <id>hudson</id>
134      <build>
135        <plugins>
136           <plugin>
137              <groupId>org.codehaus.mojo</groupId>
138               <artifactId>cobertura-maven-plugin</artifactId>
139            </plugin>
140        </plugins>
141      </build>
142    </profile>
143    <profile>
144      <id>release</id>
145      <properties>
146        <!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. -->
147        <build.version>${project.version}</build.version>
148      </properties>
149    </profile>
150  </profiles>
151</project>