Initial commit
This commit is contained in:
94
hashcracker-installer/pom.xml
Normal file
94
hashcracker-installer/pom.xml
Normal file
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.tenvoorde</groupId>
|
||||
<artifactId>hashcracker-installer</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<packaging>izpack-jar</packaging>
|
||||
|
||||
<properties>
|
||||
<!-- Installer variables -->
|
||||
<staging.dir>${project.build.directory}/staging</staging.dir>
|
||||
<info.appName>HashCracker</info.appName>
|
||||
<!-- <info.appsubpath>my-killer-app/standard</info.appsubpath>-->
|
||||
<izpack.dir.app>${basedir}/src/main/izpack</izpack.dir.app>
|
||||
<staging.dir.app>${staging.dir}/appfiles</staging.dir.app>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.tenvoorde</groupId>
|
||||
<artifactId>hashcracker</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.izpack</groupId>
|
||||
<artifactId>izpack-maven-plugin</artifactId>
|
||||
<version>5.1.3</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<baseDir>${staging.dir.app}</baseDir>
|
||||
<installFile>${izpack.dir.app}/install.xml</installFile>
|
||||
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||
<finalName>${project.build.finalName}</finalName>
|
||||
<!-- <enableOverrideArtifact>true</enableOverrideArtifact>-->
|
||||
<mkdirs>true</mkdirs>
|
||||
<autoIncludeUrl>false</autoIncludeUrl>
|
||||
<autoIncludeDevelopers>false</autoIncludeDevelopers>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-cli</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<copy todir="${staging.dir}">
|
||||
<fileset dir="${izpack.dir.app}" />
|
||||
</copy>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.10</version>
|
||||
<configuration>
|
||||
<outputDirectory>${staging.dir}/lib</outputDirectory>
|
||||
<excludeTransitive>true</excludeTransitive>
|
||||
<stripVersion>true</stripVersion>
|
||||
<overWriteReleases>true</overWriteReleases>
|
||||
<overWriteSnapshots>true</overWriteSnapshots>
|
||||
<overWriteIfNewer>true</overWriteIfNewer>
|
||||
<excludeScope>system</excludeScope>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
Reference in New Issue
Block a user