mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
190 lines
6.8 KiB
XML
190 lines
6.8 KiB
XML
<!--
|
|
The MIT License
|
|
|
|
Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Daniel Dyer, 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.
|
|
-->
|
|
|
|
<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.jenkins-ci.main</groupId>
|
|
<artifactId>pom</artifactId>
|
|
<version>1.416-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>remoting</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Jenkins remoting layer</name>
|
|
<description>
|
|
Contains the bootstrap code to bridge separate JVMs into a single semi-shared space.
|
|
Reusable outside Jenkins.
|
|
</description>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<!-- version specified in grandparent pom -->
|
|
<configuration>
|
|
<threshold>High</threshold>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<!-- version specified in grandparent pom -->
|
|
<configuration>
|
|
<!--rulesets>
|
|
<ruleset>ruleset.xml</ruleset>
|
|
</rulesets-->
|
|
<targetJdk>1.5</targetJdk>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<!-- version specified in grandparent pom -->
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>hudson.remoting.Launcher</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!--
|
|
during the development, debug profile defined in ../pom.xml will cause
|
|
the jars to be signed by a self-certified dummy public key.
|
|
|
|
For release, you should define the real values in ~/.m2/settings.xml
|
|
-->
|
|
<alias>${hudson.sign.alias}</alias>
|
|
<storepass>${hudson.sign.storepass}</storepass>
|
|
<keystore>${hudson.sign.keystore}</keystore>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
|
|
<artifactId>maven-antrun-extended-plugin</artifactId>
|
|
<!-- version specified in grandparent pom -->
|
|
<executions>
|
|
<execution>
|
|
<id>generate-resources</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<tstamp>
|
|
<format property="now" pattern="MM/dd/yyyy HH:mm" unit="hour" />
|
|
</tstamp>
|
|
<property name="build.type" value="private" /> <!-- override for "rc" build -->
|
|
<pathconvert property="version.rc">
|
|
<path path="${project.version}" />
|
|
<chainedmapper><flattenmapper /><globmapper from="*-SNAPSHOT" to="*-RC" /></chainedmapper>
|
|
</pathconvert>
|
|
<condition property="build.version" value="${version.rc} (${now})">
|
|
<equals arg1="${build.type}" arg2="rc" />
|
|
</condition>
|
|
<property name="build.version" value="${project.version} (${build.type}-${now}-${user.name})" />
|
|
<!-- default to release version -->
|
|
<!-- put the version file -->
|
|
<mkdir dir="target/classes/hudson/remoting" />
|
|
<echo file="target/classes/hudson/remoting/hudson-version.properties">version=${build.version}
|
|
</echo>
|
|
<mkdir dir="target/classes/jenkins/remoting"/>
|
|
<echo file="target/classes/jenkins/remoting/jenkins-version.properties">version=${build.version}
|
|
</echo>
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<!-- rejar args4j contents -->
|
|
<id>process-classes</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<resolveArtifact artifactId="args4j" property="args4j.jar" />
|
|
<unjar src="${args4j.jar}" dest="target/classes" />
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<!-- test dependencies -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm-all</artifactId>
|
|
<version>2.2.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>args4j</groupId>
|
|
<artifactId>args4j</artifactId>
|
|
<version>2.0.16</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>1.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<properties>
|
|
<!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. -->
|
|
<build.version>${project.version}</build.version>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|