How about this:

  main
     module1
     module2
  project 1
    maven.multiproject.basedir=../..
 
maven.multiprject.include=main/module1/project.xml,main/module2/project.xml
  project 2
    maven.multiproject.basedir=../..
 
maven.multiproject.include=main/module1/project.xml,main/module2/project.xml

-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: dinsdag 22 maart 2005 8:41
To: Maven Users List
Subject: Re: Multiproject with scatter projects


Let me rephase it

  main
     module1
     module2
  project 1
    maven.multiproject.basedir=../main
    maven.multiprject.include=module1/project.xml,module2/project.xml
  project 2
    maven.multiproject.basedir=../main
    maven.multiproject.include=module1/project.xml,module2/project.xml


It looks trouble some to me ;(

more suggestions are greatly appreciated.

-D

On Mon, 21 Mar 2005 19:22:58 +0100, Milos Kleint <[EMAIL PROTECTED]> wrote:
> it shoudl work as advised by Wim, if the **/project.xml patter doens't
> work for you, specify the projects to be included manually. or use the
> generic include, and specify explicitly which projects to exclude.
> 
> maven.multiproject.basedir=../some/kind/of/commonly/shared/root
> maven.multiproject.includes=module1/project.xml,module2/project.xml,
> module1/submodule/project.xml
> 
> regards
> 
> Milos Kleint
> 
> On Mon, 21 Mar 2005 10:16:23 -0800, dan tran <[EMAIL PROTECTED]> wrote:
> > This does not work for my case, where
> >
> > the main project has it own tree,  and it depends on 2 other trees which
happens
> > to reside on the same dir level to the main one.
> >
> > One of the other tree, dendends on the other one.
> >
> > How would I configure the multiproject plugin configurration on the main
project
> > to recognize the other trees?
> >
> > Advice is greatly appreciated.
> >
> > -Dan
> >
> > On Mon, 21 Mar 2005 08:31:55 +0100, Deblauwe, Wim
> > <[EMAIL PROTECTED]> wrote:
> > > You don't need that tree structure. I also have all my modules on the
same
> > > level. I use the multiproject plugin, but you need to make sure you
set the
> > > multiproject basedir correctly.
> > >
> > > maven.multiproject.basedir=../relative/upto/basedir/of/all/modules
> > > maven.multiproject.includes=**/project.xml
> > >
> > >
> > > -----Original Message-----
> > > From: dan tran [mailto:[EMAIL PROTECTED]
> > > Sent: zaterdag 19 maart 2005 2:56
> > > To: Maven Users List
> > > Subject: Multiproject with scatter projects
> > >
> > > Hello every one,
> > >
> > > I have this use case and I try to solve it with multiproject plugin
and
> > > reactor
> > > so far no luck
> > >
> > > I have this structure
> > >
> > >   Project B    depends on  C inherit from A
> > >
> > >   Project A
> > >      Project D depends on  B and C
> > >
> > >   Project C inherits from A
> > >
> > > All must be on the same level, I am not allowed to create another
project
> > > on the parent of A, B, C
> > >
> > > Project A the root of inheritant and is the main entry into the build
> > >
> > > How do I solve this with multiproeject plugin and or maven reactor,
> > >
> > > It seems both solutions required that I must have this tree structure
> > >
> > >   Project A
> > >     Project B
> > >     Project C
> > >     Project D
> > >
> > > but I am not allowed to refactor it that way ;(
> > >
> > > Any suggestions are greatly appreciated
> > >
> > > -Dan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > - - - - - - - DISCLAIMER- - - - - - - -
> > > Unless indicated otherwise, the information contained in this message
is
> > > privileged and confidential, and is intended only for the use of the
> > > addressee(s) named above and others who have been specifically
authorized to
> > > receive it. If you are not the intended recipient, you are hereby
notified
> > > that any dissemination, distribution or copying of this message and/or
> > > attachments is strictly prohibited. The company accepts no liability
for any
> > > damage caused by any virus transmitted by this email. Furthermore, the
> > > company does not warrant a proper and complete transmission of this
> > > information, nor does it accept liablility for any delays. If you have
> > > received this message in error, please contact the sender and delete
the
> > > message. Thank you.
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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]

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.

Reply via email to