This was happening cause we never were using jnlp download servlet, the
project earlier was just using jnlp files only. 

This use versions of the jar in the jnlp. Configure project to use jnlp jars
which i could not find any where on maven so i added them to my local repo
but you should find them in Java\jdk1.6.0_13\sample\jnlp\servlet\jnlp.jar.

               <dependency>
                        <groupId>com.sun.jnlp</groupId>
                        <artifactId>jnlp-servlet</artifactId>
                        <version>1.0</version>
                </dependency>



then add this to web.xml

        <servlet>
                <servlet-name>JnlpDownloadServlet</servlet-name>
                <servlet-class>
                        jnlp.sample.servlet.JnlpDownloadServlet
                </servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>JnlpDownloadServlet</servlet-name>
                <url-pattern>/yourpattern/*</url-pattern>
        </servlet-mapping>

make sure you have your jnlp and jars and most importantly version.xml file
in application root in such way that /yourparttern will have them and your
are ready to go.


-- 
View this message in context: 
http://old.nabble.com/JNLP-webstart-maven-plugin-jar-version-issue-tp25932257p26273823.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to