diff options
author | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-01-26 16:22:56 +0000 |
---|---|---|
committer | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-01-26 16:22:56 +0000 |
commit | d89f36b67ea1d838a78523538a24e044518f3587 (patch) | |
tree | 6a8f6195d36ffa4971d47616ee674439a7e8a16d /mocca-1.2.11/BKUWebStartPackage | |
parent | f550e15e55aff5c2cd813e8be90efc9b1120bb13 (diff) | |
download | mocca-d89f36b67ea1d838a78523538a24e044518f3587.tar.gz mocca-d89f36b67ea1d838a78523538a24e044518f3587.tar.bz2 mocca-d89f36b67ea1d838a78523538a24e044518f3587.zip |
MOCCA 1.2.11 with SHA-2 enabled.
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/branches/mocca-1.2.11-sha2@599 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'mocca-1.2.11/BKUWebStartPackage')
14 files changed, 350 insertions, 0 deletions
diff --git a/mocca-1.2.11/BKUWebStartPackage/nbactions.xml b/mocca-1.2.11/BKUWebStartPackage/nbactions.xml new file mode 100644 index 00000000..b3a586c0 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/nbactions.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<actions> + <action> + <actionName>CUSTOM-assembly</actionName> + <displayName>assembly</displayName> + <goals> + <goal>assembly:assembly</goal> + </goals> + </action> + </actions> diff --git a/mocca-1.2.11/BKUWebStartPackage/pom.xml b/mocca-1.2.11/BKUWebStartPackage/pom.xml new file mode 100644 index 00000000..0b226785 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/pom.xml @@ -0,0 +1,160 @@ +<?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> + <parent> + <artifactId>bku</artifactId> + <groupId>at.gv.egiz</groupId> + <version>1.2.7-SNAPSHOT</version> + </parent> + <groupId>at.gv.egiz</groupId> + <artifactId>BKUWebStartPackage</artifactId> + <version>1.2.7-SNAPSHOT</version> + <packaging>pom</packaging> + <name>BKU Web Start Package</name> + <description>Bürgerkartenumgebung</description> + <url>http://mocca.egovlabs.gv.at/</url> + + <build> + <plugins> + <plugin> + <artifactId>webstart-maven-plugin</artifactId> + <groupId>org.codehaus.mojo.webstart</groupId> + <executions> + <execution> + <phase>process-resources</phase> + <goals> + <goal>jnlp-single</goal> + </goals> + </execution> + </executions> + <configuration> + <outputDirectoryName>webstart</outputDirectoryName> + + <excludeTransitive>false</excludeTransitive> + + <jnlpFiles> + <jnlpFile> + <templateFilename>template.xml</templateFilename> + <outputFilename>mocca.jnlp</outputFilename> + <jarResources> + <jarResource> + <groupId>at.gv.egiz</groupId> + <artifactId>BKUWebStart</artifactId> + <version>${project.version}</version> + <mainClass>at.gv.egiz.bku.webstart.Launcher</mainClass> + </jarResource> + </jarResources> + </jnlpFile> + </jnlpFiles> + + <sign> + <alias>test-applet signer</alias> + <keystore>${project.basedir}/src/main/jnlp/keystore.ks</keystore> + <storepass>storepass</storepass> + <keypass>keypass</keypass> + <verify>true</verify> + <keystoreConfig> + <delete>false</delete> + <gen>false</gen> + </keystoreConfig> + </sign> + + <unsign>true</unsign> + <verifyjar>false</verifyjar> + + <pack200>false</pack200> + <gzip>false</gzip> + <outputJarVersions>false</outputJarVersions> + <verbose>true</verbose> + + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + <configuration> + <descriptors> + <descriptor>${basedir}/src/main/assemblies/zip-webstart.xml</descriptor> + </descriptors> + </configuration> + </plugin> + + </plugins> + </build> + + <dependencies> + <dependency> + <artifactId>BKUWebStart</artifactId> + <groupId>at.gv.egiz</groupId> + <version>${project.version}</version> + </dependency> + </dependencies> + + <profiles> + <profile> + <id>pkcs11-sign</id> + <build> + <plugins> + <plugin> + <artifactId>webstart-maven-plugin</artifactId> + <groupId>org.codehaus.mojo.webstart</groupId> + <!-- use pkcs11-patched webstart-maven-plugin--> + <version>1.0-beta-1-mocca</version> + <configuration> + <sign> + <keystore>NONE</keystore> + <storetype>PKCS11</storetype> + <providerClass>iaik.pkcs.pkcs11.provider.IAIKPkcs11</providerClass> + <alias>a-sit</alias> + <storepass>${pkcs11-pass}</storepass> + <verify>true</verify> + <keystoreConfig> + <delete>false</delete> + <gen>false</gen> + </keystoreConfig> + </sign> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <!-- development profile --> + <id>local-webstart</id> + <build> + <plugins> + <plugin> + <artifactId>webstart-maven-plugin</artifactId> + <groupId>org.codehaus.mojo.webstart</groupId> + <configuration> + <jnlpFiles> + <jnlpFile> + <templateFilename>template-local.xml</templateFilename> + <outputFilename>mocca-local.jnlp</outputFilename> + <jarResources> + <jarResource> + <groupId>at.gv.egiz</groupId> + <artifactId>BKUWebStart</artifactId> + <version>${project.version}</version> + <mainClass>at.gv.egiz.bku.webstart.Launcher</mainClass> + </jarResource> + </jarResources> + </jnlpFile> + </jnlpFiles> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + </profiles> +</project>
\ No newline at end of file diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/assemblies/zip-webstart.xml b/mocca-1.2.11/BKUWebStartPackage/src/main/assemblies/zip-webstart.xml new file mode 100644 index 00000000..fa39bdf0 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/assemblies/zip-webstart.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2008 Federal Chancellery Austria and + Graz University of Technology + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<assembly> + <formats> + <format>zip</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <fileSets> + <fileSet> + <directory>${project.build.directory}/${project.build.finalName}/</directory> + <includes> + <include>webstart/**</include> + </includes> + <outputDirectory>/</outputDirectory> + </fileSet> + </fileSets> +</assembly> + + diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/keystore.ks b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/keystore.ks Binary files differnew file mode 100644 index 00000000..824c3a40 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/keystore.ks diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip128.png b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip128.png Binary files differnew file mode 100644 index 00000000..c36d8079 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip128.png diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip16.png b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip16.png Binary files differnew file mode 100644 index 00000000..96b580e9 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip16.png diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip24.png b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip24.png Binary files differnew file mode 100644 index 00000000..efd6dbeb --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip24.png diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip32.png b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip32.png Binary files differnew file mode 100644 index 00000000..e7efb020 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip32.png diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip48.png b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip48.png Binary files differnew file mode 100644 index 00000000..491fbcac --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/chip48.png diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/splash.png b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/splash.png Binary files differnew file mode 100644 index 00000000..597fbc60 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/splash.png diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/version.xml b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/version.xml new file mode 100644 index 00000000..5e160beb --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/img/version.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<jnlp-versions> + <resource> + <pattern> + <name>chip16.png</name> + <version-id>2.0</version-id> + </pattern> + <file>chip16.png</file> + </resource> + <resource> + <pattern> + <name>chip24.png</name> + <version-id>2.0</version-id> + </pattern> + <file>chip24.png</file> + </resource> + <resource> + <pattern> + <name>chip32.png</name> + <version-id>2.0</version-id> + </pattern> + <file>chip32.png</file> + </resource> + <resource> + <pattern> + <name>chip48.png</name> + <version-id>2.0</version-id> + </pattern> + <file>chip48.png</file> + </resource> + <resource> + <pattern> + <name>chip64.png</name> + <version-id>2.0</version-id> + </pattern> + <file>chip64.png</file> + </resource> + <resource> + <pattern> + <name>chip128.png</name> + <version-id>2.0</version-id> + </pattern> + <file>chip128.png</file> + </resource> + <resource> + <pattern> + <name>splash.png</name> + <version-id>2.0</version-id> + </pattern> + <file>splash.png</file> + </resource> +</jnlp-versions> diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/player.jnlp b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/player.jnlp new file mode 100644 index 00000000..da08ebc2 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/resources/player.jnlp @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Jump specific JNL file for launching the player --> +<player/>
\ No newline at end of file diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/template-local.xml b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/template-local.xml new file mode 100644 index 00000000..d17c2782 --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/template-local.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<jnlp spec="$jnlpspec" codebase="file:/home/clemens/workspace/bku/BKUWebStart/target/jnlp" href="$outputFile"> + + <information> + <title>${project.Description}</title> + <vendor>E-Government Innovationszentrum (EGIZ)</vendor> + <homepage href="${project.Url}"/> + <description>${project.Description} (BKU) MOCCA Web Start</description> + <description kind="short">${project.Description}</description> + <icon kind="shortcut" href="img/chip16.png" width="16" height="16"/> + <icon kind="shortcut" href="img/chip24.png" width="24" height="24"/> + <icon kind="shortcut" href="img/chip32.png" width="32" height="32"/> + <icon kind="shortcut" href="img/chip48.png" width="48" height="48"/> + <icon kind="default" href="img/chip16.png" width="16" height="16"/> + <icon kind="default" href="img/chip24.png" width="24" height="24"/> + <icon kind="default" href="img/chip32.png" width="32" height="32"/> + <icon kind="default" href="img/chip48.png" width="48" height="48"/> + <icon kind="splash" href="img/splash.png"/> + <shortcut online="true"> + <desktop/> + <menu submenu="e-Government"/> + </shortcut> + + <offline-allowed/> + + </information> + + <security> + <all-permissions/> + </security> + + <update check="timeout" policy="prompt-update"/> + + <resources> + <java version="1.6+" java-vm-args="-Djava.security.debug=access,failure"/> + <property name="jnlp.versionEnabled" value="false"/> + $dependencies + </resources> + + <application-desc main-class="$mainClass"/> +</jnlp>
\ No newline at end of file diff --git a/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/template.xml b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/template.xml new file mode 100644 index 00000000..06b024ec --- /dev/null +++ b/mocca-1.2.11/BKUWebStartPackage/src/main/jnlp/template.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + | To strip versions from jar filenames do + | for JAR in *jar; do mv JAR {JAR/-[0-9]*/.jar}; done + |--> +<jnlp spec="$jnlpspec" codebase="$$codebase" context="$$context" href="$$name"> + + <information> + <title>${project.Description}</title> + <vendor>E-Government Innovationszentrum (EGIZ)</vendor> + <homepage href="${project.Url}"/> + <description>${project.Description} (BKU) MOCCA Web Start</description> + <description kind="short">${project.Description}</description> + <icon kind="shortcut" href="img/chip16.png" width="16" height="16"/> + <icon kind="shortcut" href="img/chip24.png" width="24" height="24"/> + <icon kind="shortcut" href="img/chip32.png" width="32" height="32"/> + <icon kind="shortcut" href="img/chip48.png" width="48" height="48"/> + <icon kind="default" href="img/chip16.png" width="16" height="16"/> + <icon kind="default" href="img/chip24.png" width="24" height="24"/> + <icon kind="default" href="img/chip32.png" width="32" height="32"/> + <icon kind="default" href="img/chip48.png" width="48" height="48"/> + <icon kind="splash" href="img/splash.png"/> + <shortcut online="true"> + <desktop/> + <menu submenu="e-Government"/> + </shortcut> + + <offline-allowed/> + + </information> + + <security> + <all-permissions/> + </security> + + <update check="timeout" policy="prompt-update"/> + + <resources os="Mac OS X"> + <java version="1.6+" java-vm-args="-d32"/> + $dependencies + </resources> + + <resources> + <java version="1.6+"/> + $dependencies + </resources> + + <application-desc main-class="$mainClass"/> +</jnlp>
\ No newline at end of file |