POM: |
Show
hide
<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</groupId>
<artifactId>extras</artifactId>
<version>1.7</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>ec2-launcher</artifactId>
<version>1.0</version>
<name>Wizard for running Hudson on EC2</name>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-3</version>
<executions>
<execution>
<goals>
<goal>attached</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<descriptorId>jar-with-dependencies</descriptorId>
<archive>
<manifest>
<mainClass>org.jvnet.hudson.ec2.launcher.gui.App</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-9</version>
<configuration>
<!-- enable release profile during the release and sign bits. -->
<prepareVerifyArgs>-P release,sign</prepareVerifyArgs>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.jvnet.hudson</groupId>
<artifactId>trilead-ssh2</artifactId>
<version>build212-hudson-2</version>
</dependency>
<dependency>
<groupId>bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>135</version>
</dependency>
<dependency>
<groupId>org.pietschy</groupId>
<artifactId>wizard</artifactId>
<version>0.1.12</version>
</dependency>
<dependency>
<groupId>net.java.dev.jets3t</groupId>
<artifactId>jets3t</artifactId>
<version>0.6.1</version>
</dependency>
<dependency>
<groupId>org.jvnet.hudson</groupId>
<artifactId>typica</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
<profiles>
<profile>
<!-- sign war -->
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<!-- sign the war -->
<execution>
<id>signWar</id>
<phase>verify</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<!--
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
-->
<signjar jar="target/${project.artifactId}-${project.version}-jar-with-dependencies.jar" alias="${hudson.sign.alias}" keystore="${hudson.sign.keystore}" storepass="${hudson.sign.storepass}" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>debug</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<hudson.sign.alias>hudson</hudson.sign.alias>
<hudson.sign.keystore>../../main/dummy.keystore</hudson.sign.keystore>
<hudson.sign.storepass>hudson</hudson.sign.storepass>
</properties>
</profile>
</profiles>
<repositories>
<repository>
<name>jets3t</name>
<id>jets3t</id>
<url>http://jets3t.s3.amazonaws.com/maven2</url>
</repository>
</repositories>
<scm>
<connection>scm:svn:https://guest@svn.dev.java.net/svn/hudson/tags/ec2-launcher-1.0</connection>
<developerConnection>scm:svn:https://svn.dev.java.net/svn/hudson/tags/ec2-launcher-1.0</developerConnection>
<url>https://hudson.dev.java.net/source/browse/hudson/tags/ec2-launcher-1.0</url>
</scm>
</project>
|