RE: Multiproject --> not from top directory?
Dan, thanks! > > First, make sure to add maven.multiproject.type to all > submodules If a a module depends on another module, add the > dependetn module to its list (ie, the finaly module, should > have the dependencies list to include all other modules) > > > Then from root, call maven multiproject:install > > maven will traverse to all sub module and execute > ${maven.multiproject.type}:install > which must depsosite its artifact to the local repository. > > The last module will need to retreive all built artifact from > local repo. > > good luck. > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject --> not from top directory?
First, make sure to add maven.multiproject.type to all submodules If a a module depends on another module, add the dependetn module to its list (ie, the finaly module, should have the dependencies list to include all other modules) Then from root, call maven multiproject:install maven will traverse to all sub module and execute ${maven.multiproject.type}:install which must depsosite its artifact to the local repository. The last module will need to retreive all built artifact from local repo. good luck. On Wed, 15 Dec 2004 10:05:41 +0100, Maczka Michal <[EMAIL PROTECTED]> wrote: > try something like: > > maven.multiproject.basedir=../ > maven.multiproject.exclude=moduleWhichAssemblesTheFinalApp/project.xml > > Michal > > > -Original Message- > > From: Aleksandr Shneyderman [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 14, 2004 7:28 PM > > To: [EMAIL PROTECTED] > > Subject: Multiproject --> not from top directory? > > > > > > > > I have a project that consists of multiple submodules > > All of the modules are on the same level. One module is > > the one that assembles the final app. > > > > How do I tell multiproject to look for dependent modules > > in ${basedir}/../dep-mod-A, ${basedir}/../dep-mod-B > > and so on? > > > > Thanks, > > Alex. > > > > > > - > > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiproject --> not from top directory?
try something like: maven.multiproject.basedir=../ maven.multiproject.exclude=moduleWhichAssemblesTheFinalApp/project.xml Michal > -Original Message- > From: Aleksandr Shneyderman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 14, 2004 7:28 PM > To: [EMAIL PROTECTED] > Subject: Multiproject --> not from top directory? > > > > I have a project that consists of multiple submodules > All of the modules are on the same level. One module is > the one that assembles the final app. > > How do I tell multiproject to look for dependent modules > in ${basedir}/../dep-mod-A, ${basedir}/../dep-mod-B > and so on? > > Thanks, > Alex. > > > - > 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]