On Tue, 2007-10-02 at 10:25 +0100, Kevin Stembridge wrote:
>
> Hi Erik,
> I was interested in the part that configures your webstart plugin and
> also any dependencies that you have declared in that same pom.
No dependencies are defined here, but the module that contains
no.objectware.wg.siman.application.App is defined as a module.
>From projectServer/pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-alpha-2-SNAPSHOT</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>jnlp</goal>
</goals>
</execution>
</executions>
<configuration>
<libPath>lib</libPath>
<jnlp>
<outputFile>SimanServer.jnlp</outputFile>
<mainClass>no.objectware.wg.siman.application.App</mainClass>
</jnlp>
<sign>
<keystore>${project.build.directory}/keystore</keystore>
<keypass>m2m2m2</keypass>
<storepass>m2m2m2</storepass>
<alias>Siman certificate</alias>
<validity>365</validity>
<dnameCn>wg.objectware.no</dnameCn>
<dnameOu>None</dnameOu>
<dnameO>siman</dnameO>
<dnameL>Oslo</dnameL>
<dnameSt>Oslo</dnameSt>
<dnameC>NO</dnameC>
<verify>true</verify>
<keystoreConfig>
<delete>true</delete>
<gen>true</gen>
</keystoreConfig>
</sign>
<outputJarVersions>false</outputJarVersions>
<verbose>false</verbose>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>no.objectware.wg.siman.application.App</mainClass>
<packageName>no.objectware.wg.siman.application</packageName>
<addClasspath>true</addClasspath>
</manifest>
<manifestEntries>
<mode>development</mode>
<url>http://wiki.objectware.no/display/WG</url>
</manifestEntries>
</archive>
</configuration>
</plugin>
> Also, it looks like your webstart plugin is configured in a parent
> module. I'm not familiar with doing it this way, it may be fine, but I
> thought that it was normal to create a separate module for just the
> JNLP bundle that is a sibling of your application modules, e.g.
> projectServer/project-jnlp/
Can you elaborate?
My use case is simply that I have a multi-module project that I want to
download with jnlp and run.
--
Regards
Erik
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email