I'm using the Maven Webstart plugin to create a JNLP bundle. I've got
this working so that it produces a zip file containing the .jnlp file,
my application .jar file and all dependent .jar files. I've also got it
signing the jars and have tested the resulting bundle by unzipping it
and putting it on a web server. It all works fine.

I'm now trying to integrate this JNLP bundle into a web application
using the Maven dependency plugin as described here:
http://mojo.codehaus.org/webstart/webstart-maven-plugin/examples/war_bun
dle_1.html This says that the dependency plugin will "retrieve the JNLP
bundles and unpack them into the web application project". 

My problem is: How do I configure Maven to install/deploy the JNLP
bundle so that the dependency plugin can access it? I've tried using the
following configuration but it doesn't install/deploy the zip file:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <executions>
        <execution>
            <phase>install</phase>
            <goals>
                <goal>assembly</goal>
            </goals>
            <configuration>
                <configuration>
                    <file>${basedir}/target/iceclaims-gui.zip</file>
                    <groupId>itf</groupId>
                    <artifactId>iceclaims-gui</artifactId>
                    <version>3.1.1-beta-1-SNAPSHOT</version>
                    <packaging>zip</packaging>
                    <generatePom>true</generatePom>
                </configuration>
            </configuration>
        </execution>
    </executions>
</plugin>

Thanks for reading

Peter Butler



_______________________________________________________________________
The information contained in this e-mail is confidential and may be privileged. 
It is intended for the addressee only. If you are not the intended recipient, 
please delete this e-mail immediately. The contents of this e-mail must not be 
disclosed or copied without the sender's consent. The statements and opinions 
expressed in this message are those of the author and do not necessarily 
reflect those of the company. The company does not take any responsibility for 
the views of the author.

Registered Office: IT-Freedom Limited, 9 Minster Court, Tuscam Way, Camberley, 
Surrey GU15 3YY 
Registered in England, Number: 04500346
_______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to