On 10.5.2011 15:39, Brandon Atkinson wrote:
Can you share the version of the webstart plugin you are using, along
with the pom you are feeding it?
If you aren't already aware, you can determine the plugin version by
running:
mvn -Dplugin=webstart help:describe

My webstart plugin version is 1.0-alpha-1.

Here is my pom file, any ideas?

----

<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>uuno</groupId>
  <artifactId>uuno-webstart</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>war</packaging>
  <name>Uuno</name>

  <parent>
    <groupId>uuno</groupId>
    <artifactId>uuno</artifactId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>

  <dependencies>
    <dependency>
        <groupId>uuno</groupId>
        <artifactId>uuno-client</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </dependency>

    <dependency>
      <groupId>com.sun.java.jnlp</groupId>
      <artifactId>jnlp-servlet</artifactId>
      <version>5.0</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>

  <build>
    <finalName>uuno</finalName>
    <plugins>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>keytool-maven-plugin</artifactId>
        <executions>
           <execution>
              <phase>clean</phase>
              <goals>
                 <goal>clean</goal>
              </goals>
           </execution>
        </executions>
        <configuration>
           <keystore>${user.home}/uunostore.jks</keystore>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo.webstart</groupId>
        <artifactId>webstart-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <goals>
              <goal>jnlp-download-servlet</goal>
            </goals>
          </execution>
        </executions>

        <configuration>

          <jnlpFiles>
            <jnlpFile>
              <templateFilename>clientTemplate.vm</templateFilename>
              <outputFilename>uuno.jnlp</outputFilename>

              <jarResources>
                <jarResource>
                  <groupId>uuno</groupId>
                  <artifactId>uuno-client</artifactId>
                  <version>0.0.1-SNAPSHOT</version>
                  <mainClass>com.eshop.client.MainShell</mainClass>
                </jarResource>
              </jarResources>
            </jnlpFile>
          </jnlpFiles>

          <sign>
            <keystore>${user.home}/uunostore.jks</keystore>
            <keypass>password</keypass>
            <storepass>password</storepass>
            <alias>webstart</alias>

            <storetype>jks</storetype>
            <validity>365</validity>
            <dnameCn>Firstname Lastname</dnameCn>
            <dnameOu>OrganisationalUnit</dnameOu>
            <dnameO>Organisation</dnameO>
            <dnameL>Location</dnameL>
            <dnameSt>State</dnameSt>
            <dnameC>CountryCode</dnameC>

            <!-- KEYSTORE MANAGEMENT -->
            <keystoreConfig>
              <delete>true</delete>
              <gen>true</gen>
            </keystoreConfig>

            <verify>false</verify>
          </sign>
          <unsign>true</unsign>

          <verifyjar>false</verifyjar>

        </configuration>
      </plugin>

    </plugins>
  </build>

</project>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to