orchestra-installer
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.ow2.orchestra.installer.izpack</groupId> <artifactId>orchestra-installer</artifactId> <version>4.9.1</version> </dependency>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - EasyBeans - Copyright (C) 2009 Bull S.A.S. - Contact: easybeans@ow2.org - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - USA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $Id$ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <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"> <parent> <groupId>org.ow2.orchestra.installer.izpack</groupId> <artifactId>orchestra-installer-izpack</artifactId> <version>4.9.1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>orchestra-installer</artifactId> <packaging>pom</packaging> <name>Orchestra :: Installer :: IzPack :: Installer</name> <dependencies> <dependency> <groupId>org.codehaus.izpack</groupId> <artifactId>izpack-standalone-compiler</artifactId> <version>${izpack.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.ow2.orchestra.installer.izpack</groupId> <artifactId>izpack-geolocation-notifier</artifactId> <version>${project.version}</version> </dependency> </dependencies> <properties> <staging.dir>${project.build.directory}/installResources</staging.dir> </properties> <build> <defaultGoal>package</defaultGoal> <plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>create-staging-area</id> <phase>process-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${staging.dir}</outputDirectory> <resources> <resource> <directory>${basedir}/src/izpack</directory> <filtering>true</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy binaries</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.ow2.orchestra.installer.izpack</groupId> <artifactId>izpack-geolocation-notifier</artifactId> <version>${project.version}</version> <type>jar</type> <classifier>jar-with-dependencies</classifier> <overWrite>true</overWrite> <outputDirectory>${staging.dir}/res</outputDirectory> <destFileName>orchestra-sender.jar</destFileName> </artifactItem> <artifactItem> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.8.1</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${staging.dir}/res/ant</outputDirectory> <destFileName>ant.jar</destFileName> </artifactItem> <artifactItem> <groupId>org.apache.ant</groupId> <artifactId>ant-launcher</artifactId> <version>1.8.1</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${staging.dir}/res/ant</outputDirectory> <destFileName>ant-launcher.jar</destFileName> </artifactItem> <artifactItem> <groupId>org.apache.ant</groupId> <artifactId>ant-nodeps</artifactId> <version>1.8.1</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${staging.dir}/res/ant</outputDirectory> <destFileName>ant-nodeps.jar</destFileName> </artifactItem> <artifactItem> <groupId>org.apache.maven</groupId> <artifactId>maven-ant-tasks</artifactId> <version>2.1.3</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${staging.dir}/res/ant</outputDirectory> <destFileName>maven-ant-tasks.jar</destFileName> </artifactItem> <artifactItem> <groupId>biz.aQute</groupId> <artifactId>bnd</artifactId> <version>0.0.384</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${staging.dir}/res/ant</outputDirectory> <destFileName>bnd.jar</destFileName> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>generate jnlp</id> <phase>generate-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <condition property="snapshot.repository" value="snapshots" else="releases"> <contains string="${project.version}" substring="SNAPSHOT" /> </condition> <copy file="src/resources/orchestra-installer.jnlp" tofile="${project.build.directory}/orchestra-installer-${project.version}.jnlp"> <filterset> <filter token="JARNAME" value="orchestra-installer-${project.version}-standard.jar" /> <filter token="JNLPNAME" value="orchestra-installer-${project.version}.jnlp" /> <filter token="CODEBASE" value="http://http://repository.ow2.org/nexus/content/repositories/${snapshot.repository}/org/ow2/orchestra/installer/izpack/orchestra-installer/${project.version}/" /> </filterset> </copy> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> <artifact> <file>${project.build.directory}/orchestra-installer-${project.version}.jnlp</file> <type>jnlp</type> </artifact> </artifacts> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.izpack</groupId> <artifactId>izpack-maven-plugin</artifactId> <version>1.0-alpha-5</version> <dependencies> <dependency> <groupId>org.codehaus.izpack</groupId> <artifactId>izpack-standalone-compiler</artifactId> <version>${izpack.version}</version> </dependency> </dependencies> <configuration> <izpackBasedir>${staging.dir}</izpackBasedir> </configuration> <executions> <execution> <id>standard-installer</id> <phase>package</phase> <goals> <goal>izpack</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jarsigner-plugin</artifactId> <executions> <execution> <id>sign</id> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <keystore>src/resources/OW2Store</keystore> <alias>ow2</alias> <storepass>ow2 easybeans</storepass> </configuration> </plugin> </plugins> </build> </project>