diff options
Diffstat (limited to 'mocca-1.2.11/BKUWebStart/pom.xml')
-rw-r--r-- | mocca-1.2.11/BKUWebStart/pom.xml | 301 |
1 files changed, 0 insertions, 301 deletions
diff --git a/mocca-1.2.11/BKUWebStart/pom.xml b/mocca-1.2.11/BKUWebStart/pom.xml deleted file mode 100644 index 02e65f53..00000000 --- a/mocca-1.2.11/BKUWebStart/pom.xml +++ /dev/null @@ -1,301 +0,0 @@ -<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> - <artifactId>bku</artifactId> - <groupId>at.gv.egiz</groupId> - <version>1.2.11</version> - </parent> - <modelVersion>4.0.0</modelVersion> - <groupId>at.gv.egiz</groupId> - <artifactId>BKUWebStart</artifactId> - <packaging>jar</packaging> - <name>BKU Web Start</name> - <version>1.2.11</version> - <url>http://mocca.egovlabs.gv.at/</url> - <description>Bürgerkartenumgebung</description> - - <build> - <plugins> - - <!-- Include the BKULocal war artifact in the BKUWebStart jar - | BKULauncher resolves resource and copies it to jetty's webapp dir - | - | don't: overlay BKULocal with maven-war-plugin - | don't: unpack BKULocal dependency (jetty and webstart classloaders interfere) --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>copy-resources</id> - <goals> - <goal>copy-dependencies</goal> - </goals> - <configuration> - <includeArtifactIds>BKULocal</includeArtifactIds> - <includeGroupIds>at.gv.egiz</includeGroupIds> - <excludes>META-INF/</excludes> - <outputDirectory>${project.build.directory}/classes</outputDirectory> - <stripVersion>true</stripVersion> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-buildnumber-plugin</artifactId> - <groupId>org.codehaus.mojo</groupId> - <executions> - <execution> - <phase>validate</phase> - <goals> - <goal>create</goal> - </goals> - </execution> - </executions> - <configuration> - <doCheck>false</doCheck> - <doUpdate>false</doUpdate> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-jar-plugin</artifactId> - <groupId>org.apache.maven.plugins</groupId> - <configuration> - <archive> - <manifest> - <addDefaultImplementationEntries>true</addDefaultImplementationEntries> - </manifest> - <manifestEntries> - <Implementation-Build>${project.version}-r${buildNumber}</Implementation-Build> - </manifestEntries> - </archive> - <verbose>true</verbose> - </configuration> - </plugin> - - <plugin> - <artifactId>webstart-maven-plugin</artifactId> - <groupId>org.codehaus.mojo.webstart</groupId> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>jnlp-inline</goal> - </goals> - </execution> - </executions> - <configuration> - <excludeTransitive>false</excludeTransitive> - <jnlp> - <inputTemplateResourcePath>${project.basedir}/src/main/jnlp</inputTemplateResourcePath> - <inputTemplate>template-unstable.xml</inputTemplate> - <outputFile>mocca.jnlp</outputFile> - <mainClass>at.gv.egiz.bku.webstart.Launcher</mainClass> - </jnlp> - <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> - <pack200>false</pack200> - <gzip>false</gzip> - <outputJarVersions>false</outputJarVersions> - <unsignAlreadySignedJars>true</unsignAlreadySignedJars> - <verbose>true</verbose> - </configuration> - </plugin> - - </plugins> - </build> - - <profiles> - <profile> - <!-- development profile --> - <id>local-webstart</id> - <build> - <plugins> - <plugin> - <artifactId>webstart-maven-plugin</artifactId> - <groupId>org.codehaus.mojo.webstart</groupId> - <configuration> - <jnlp> - <inputTemplate>template-local.xml</inputTemplate> - <outputFile>mocca-local.jnlp</outputFile> - </jnlp> - </configuration> - </plugin> - </plugins> - </build> - </profile> - - <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> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>jnlp-inline</goal> - </goals> - </execution> - </executions> - <configuration> - <excludeTransitive>false</excludeTransitive> - <jnlp> - <inputTemplateResourcePath>${project.basedir}/src/main/jnlp</inputTemplateResourcePath> - <inputTemplate>template.xml</inputTemplate> - <outputFile>mocca.jnlp</outputFile> - <mainClass>at.gv.egiz.bku.webstart.Launcher</mainClass> - </jnlp> - <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> - <pack200>false</pack200> - <gzip>false</gzip> - <outputJarVersions>false</outputJarVersions> - <unsignAlreadySignedJars>true</unsignAlreadySignedJars> - <verbose>true</verbose> - </configuration> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>non-webstart</id> - <build> - <plugins> - <plugin> - <artifactId>maven-jar-plugin</artifactId> - <groupId>org.apache.maven.plugins</groupId> - <configuration> - <archive> - <manifest> - <addClasspath>true</addClasspath> - <mainClass>at.gv.egiz.bku.webstart.Launcher</mainClass> - </manifest> - <manifestEntries> - <mode>development</mode> - <url>${pom.url}</url> - <SplashScreen-Image>at/gv/egiz/bku/webstart/splash.png</SplashScreen-Image> - </manifestEntries> - </archive> - </configuration> - </plugin> - </plugins> - </build> - <!-- TODO somehow provide javaws.jar on manifest class-path --> - </profile> - </profiles> - - <dependencies> - <!-- ATTENTION update of application descriptor (jnlp file) is special... - | The JNLP Client must use the Last-Modified header field returned by - | the Web Server to determine if a newer JNLP file is present on the Web - | server. - | Don't assume changes to the descriptor (changes in dependencies) to - | appear directly on the client descriptor (even if 'update available' - | was shown to user). - | Note: Download via browser ensures the updated jnlp file is used. --> - <dependency> - <groupId>at.gv.egiz</groupId> - <artifactId>BKULocal</artifactId> - <version>${project.version}</version> - <type>war</type> - <!-- make dependency not transitive --> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>at.gv.egiz</groupId> - <artifactId>BKUCertificates</artifactId> - <version>1.1</version> - </dependency> - <dependency> - <groupId>iaik</groupId> - <artifactId>iaik_jce_full_signed</artifactId> - <scope>compile</scope> - </dependency> - <!-- - <dependency> - <artifactId>utils</artifactId> - <groupId>at.gv.egiz</groupId> - <version>1.2.7-SNAPSHOT</version> - <exclusions> - <exclusion> - <artifactId>iaik_ecc_signed</artifactId> - <groupId>iaik</groupId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </dependency> - --> - - <!-- Jetty 6.1.15+ required, see - | http://jira.codehaus.org/browse/JETTY-843 - |--> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty</artifactId> - <version>6.1.19</version> - </dependency> - <!-- JSP support - | http://jira.codehaus.org/browse/JETTY-827 - | jsp-2.1-jetty-6.1.19 depends on the required jsp-2.1-glassfish jars (?) - | - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jsp-2.1-jetty</artifactId> - <version>6.1.19</version> - </dependency--> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>1.5.8</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - <version>1.5.8</version> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <scope>compile</scope> - </dependency> - - <!-- javax.jnlp.* --> - <dependency> - <groupId>jre</groupId> - <artifactId>javaws</artifactId> - <version>6.0</version> - <type>jar</type> - <scope>system</scope> - <systemPath>${java.home}/lib/javaws.jar</systemPath> - </dependency> - </dependencies> -</project> |