Initial commit
This commit is contained in:
25
hashcracker-installer/.gitignore
vendored
Normal file
25
hashcracker-installer/.gitignore
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/build/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
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>
|
||||
52
hashcracker-installer/src/main/izpack/install.xml
Normal file
52
hashcracker-installer/src/main/izpack/install.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<izpack:installation version="5.0"
|
||||
xmlns:izpack="http://izpack.org/schema/installation"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://izpack.org/schema/installation http://izpack.org/schema/5.0/izpack-installation-5.0.xsd">
|
||||
|
||||
<info>
|
||||
<appname>HashCracker</appname>
|
||||
<appversion>1.0</appversion>
|
||||
<!-- <appsubpath>myapp</appsubpath>-->
|
||||
<javaversion>11</javaversion>
|
||||
</info>
|
||||
|
||||
|
||||
<locale>
|
||||
<langpack iso3="eng"/>
|
||||
</locale>
|
||||
|
||||
<guiprefs width="800" height="600" resizable="no">
|
||||
<splash>images/peas_load.gif</splash>
|
||||
<laf name="substance">
|
||||
<os family="windows" />
|
||||
<os family="unix" />
|
||||
<param name="variant" value="mist-silver" />
|
||||
</laf>
|
||||
<laf name="substance">
|
||||
<os family="mac" />
|
||||
<param name="variant" value="mist-aqua" />
|
||||
</laf>
|
||||
<modifier key="useHeadingPanel" value="yes" />
|
||||
</guiprefs>
|
||||
|
||||
<panels>
|
||||
<panel classname="TargetPanel"/>
|
||||
<!--
|
||||
<panel classname="PacksPanel"/>
|
||||
-->
|
||||
<panel classname="InstallPanel"/>
|
||||
<panel classname="FinishPanel"/>
|
||||
</panels>
|
||||
|
||||
<packs>
|
||||
<pack name="Test Core" required="yes">
|
||||
<singlefile src="" target="">
|
||||
<
|
||||
</singlefile>
|
||||
<description>The core files needed for the application</description>
|
||||
<fileset dir="plain" targetdir="${INSTALL_PATH}" override="true"/>
|
||||
<parsable targetfile="${INSTALL_PATH}/test.properties"/>
|
||||
</pack>
|
||||
</packs>
|
||||
|
||||
</izpack:installation>
|
||||
Reference in New Issue
Block a user