File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven not including WEB-INF/lib/jnlp-servlet.jar when creating webstart app Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Maven not including WEB-INF/lib/jnlp-servlet.jar when creating webstart app " Watch "Maven not including WEB-INF/lib/jnlp-servlet.jar when creating webstart app " New topic
Author

Maven not including WEB-INF/lib/jnlp-servlet.jar when creating webstart app

Fred Leclerc
Greenhorn

Joined: Aug 29, 2005
Posts: 3
Here is the problem, I use the maven nbm plugin to create a webstartable app (nbm:webstart-app) on CentOS 6.

If I am using java 1.7.0 update 2 - there is no WEB-INF/lib/ folder in the generated war file, subsequently, the $$codebase values are not modified by tomcat (version 6 in this case) and the application cannot be used.

BUT, if I use java 1.7.0 update 1 - the WEB-INF folder is created in the resulting war file and everything works file and the $$codebase problem is gone.

Any idea why this is so ?

Thanks
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

Have you run Maven with the -X option in each case and compared the output? That might give you some clue as to what is going wrong in the plugin. Other than that, you might have to debug the plugin to find out what the difference is.

(We ran into similar issues using 1.6.0_28, and thus went back to 1.6.0_26)


JBoss In Action
 
 
subject: Maven not including WEB-INF/lib/jnlp-servlet.jar when creating webstart app
 
Threads others viewed
a servlet inside jar can not be accessed on web sphere at workplace
using the display:table tag
Third party jar
Hibernate+GWT problem related to slf4j
The import cannot be resolved
developer file tools