pom.xml 1.7 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.198-SNAPSHOT</version>
7 8 9 10 11 12
    <relativePath>../pom.xml</relativePath>
  </parent>
  
  <artifactId>jnlp-agent</artifactId>
  <packaging>jar</packaging>
  <name>Hudson JNLP slave agent</name>
13 14 15 16 17

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
18
        <version>2.2</version>
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
        <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>
    </plugins>
  </build>

41 42 43 44
  <dependencies>
    <dependency>
      <groupId>org.jvnet.hudson.main</groupId>
      <artifactId>remoting</artifactId>
45
      <version>${project.version}</version>
46
      <scope>compile</scope><!-- always rely on JDK15 version during compilation, even if we are targeting 1.4 -->
47 48 49
    </dependency>
  </dependencies>
</project>