view webstart-package/pom.xml @ 39:3201f93801d0

add a module that generates a webstart package
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 09 Oct 2011 08:15:11 +0200
parents
children fd71a5d17fd9
line wrap: on
line source

<?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>
        <groupId>de.codedo</groupId>
        <artifactId>conflict-editor-parent</artifactId>
        <version>1.0-SNAPSHOT</version>
    </parent>
    <artifactId>conflict-editor-webstart</artifactId>
    <packaging>pom</packaging>
    <name>WebStart package for Conflict Editor</name>

    <dependencies>
        <dependency>
            <groupId>de.codedo</groupId>
            <artifactId>conflict-editor</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo.webstart</groupId>
                <artifactId>webstart-maven-plugin</artifactId>
                <version>1.0-beta-2</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jnlp-inline</goal>
                        </goals>
                        <configuration>
                            <verbose>true</verbose>
                            <jnlp>
                                <inputTemplate>src/jnlp/template.vm</inputTemplate>
                                <outputFile>launch.jnlp</outputFile>
                                <mainClass>de.codedo.conflicteditor.gui.ConflictEditor</mainClass>
                            </jnlp>
                            <sign>
                                <keystore>${project.basedir}/src/jnlp/keystore</keystore>
                                <keypass>secret</keypass>
                                <storepass>secret</storepass>
                                <alias>conflicteditor</alias>
<!--                                 <validity>1800</validity> -->

                            <!-- <dnameCn>www.annyway.net</dnameCn> -->
                            <!-- <dnameOu>Development</dnameOu> -->
                            <!-- <dnameO>MA-Projects</dnameO> -->
                            <!-- <dnameL>Dortmund</dnameL> -->
                            <!-- <dnameSt>NRW</dnameSt> -->
                            <!-- <dnameC>DE</dnameC> -->

                            <!-- <verify>true</verify> -->
                            </sign>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>