Hi Julien, Have you try to use the following dependencies mechanism:
- a war "Framework" depending on a jar "Framework" - a jar "ISF" depending on the jar "Framework" - a war "ISF" depending on the jar "ISF" and the war "Framework". Christophe ---------- Initial Header ----------- >From : "Julien Henry" [EMAIL PROTECTED] To : [email protected] Cc : Date : Mon, 10 Apr 2006 16:11:28 +0200 Subject : Setting up complex webapp > > Hi, > > I'm trying to make an existing complexe web application working with > Maven 2. The first module is called "Framework". It contains java > classes, JSP, xml, ... but it's not a webapp by itself. There are many > applications based on this framework. Currently, I'm just focussed on a > simple one. This application, called "ISF", contains classes, JSP, .... > ISF classes depend on Framework classes. > Today, deployment is done by Ant scripts. Java part of the framework is > store in a Jar file.. Java part of ISF is store in a Jar too. And > finally, all JSPs and other stuff are copied in the server directory. > > I tried different solution to make it working with Maven: > - I tried to build a JAR of Framework, and to build a WAR of ISF, with > Framework as dependency. But Framework JSP are finally in the JAR, > instead of being in the root of the final WAR. > - I tried to build a WAR of Framework, and to build a war of ISF, with > Framework as dependency. But compile of ISF failed, since ISF classes > need Framework classes. > > I'm a bit lost in the Maven world, and if someone could give me some tips... > > Thanks > > -- > > _________________________________________________________________________ > > Julien HENRY | **Capgemini Sud **| Nice > > www.fr.capgemini.com <http://www.capgemini.com/> > > Porte de l´Arénas - Entrée B | 455 Promenade des Anglais | 06200 Nice > > **Join the Collaborative Business Experience**** ** > _________________________________________________________________________ > > > This message contains information that may be privileged or confidential and > is the property of the Capgemini Group. It is intended only for the person to > whom it is addressed. If you are not the intended recipient, you are not > authorized to read, print, retain, copy, disseminate, distribute, or use > this message or any part thereof. If you receive this message in error, > please notify the sender immediately and delete all copies of this message. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
