You can read this : http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf
Arnaud > -----Message d'origine----- > De : Galder Zamarreÿfffffffffff1o [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 3 mars 2005 21:45 > À : Maven Users List > Objet : Re: breaking a PROJECT up into multiple Maven Projects > > Have you had a look into the Maven Multiproject plugin? > > http://maven.apache.org/reference/plugins/multiproject/ > > --- "Mark D. Hansen" <[EMAIL PROTECTED]> wrote: > > I have a big-ish project that want to structure as multiple maven > > projects. I'm wondering is there is a standard "best > practice" way to > > do this. Below are details of my PROJECT. > > > > PROJECT is a J2EE application. It has a core set of functionality > > that runs under any J2EE implementation. It also has > components that > > are tweeked for specifica J2EE implementations (e.g., > WebSphere, BEA, > > etc). > > > > I've broken it into these Maven projects: > > myproj-core, myproj-was, myproj-bea. The directory structure looks > > like this: > > > > myproject > > myproject/myproj-core > > myproject/myproj-was > > myproject/myproj-bea > > > > Obviously, one of the dependencies for myproj-was and myproj-bea is > > myproj-core. How do I set this up in Maven? For example, > is there a > > way so that when I run "maven jar" on myproj-was, the > myproj-core.jar > > automatically gets rebuilt? And how do I put > myproj-core.jar on the > > myproj-was classpath? I have my own simple repository and > I could put > > myproj-core.jar in the repository and then list it as a > dependency for > > myproj-was. But, when I make a small change to myproj-core and > > rebuild the myproj-core.jar, then I have to keep updating the > > repository. This seems kludgy. Is there a better way? > > > > Thanks for any help on this. > > > > -- Mark > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]