You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marc Chételat ML <ml...@chetelat.net> on 2006/09/10 14:38:47 UTC

Maven 2: applet and war

Hi all,

One of our new project require that we have an applet in one web 
application.
Our directory structure is :

root folder
|
|--- applet (pom.xml > jar)
|--- webapp-war (pom.xml using war-maven-plugin)
|--- ...

Each module has its proper pom.xml file and the question is how to 
integrate the generated applet.jar in the webapp.war under the path 
/applet ? Copy the applet.jar during the "package" (with a dependency) 
phase would be the best way?

Thanks in advance for any helps !
ML



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


Re: Maven 2: applet and war

Posted by Geoffrey De Smet <ge...@gmail.com>.
There's a handy mojo dependency-maven-plugin for this, which I also use 
for my webstart client application, see bottom of:

http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html

With kind regards,
Geoffrey De Smet


Marc Chételat ML wrote:
> Hi all,
> 
> One of our new project require that we have an applet in one web 
> application.
> Our directory structure is :
> 
> root folder
> |
> |--- applet (pom.xml > jar)
> |--- webapp-war (pom.xml using war-maven-plugin)
> |--- ...
> 
> Each module has its proper pom.xml file and the question is how to 
> integrate the generated applet.jar in the webapp.war under the path 
> /applet ? Copy the applet.jar during the "package" (with a dependency) 
> phase would be the best way?
> 
> Thanks in advance for any helps !
> ML


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