|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Continuum 1.1 / 1.2 and multiple modulesHi,
I've seen a lot of threads about this subject and I would like a very simple answer : I've got a project with this structure : root -parent ----->pom.xml -moduleA ----->pom.xml -moduleB ----->pom.xml Does Continuum 1.1 and 1.2 can manage this structure ? It seems that it does not understand relative path (ie ../moduleA and ../moduleB) Thanks for your help |
|
|
Re: Continuum 1.1 / 1.2 and multiple modulesOn Fri, Nov 14, 2008 at 6:37 PM, silver95 <ccarpediem@...> wrote:
> Does Continuum 1.1 and 1.2 can manage this structure ? > It seems that it does not understand relative path (ie ../moduleA and > ../moduleB) Based on my tests, Continuum 1.2 _can_ handle this "flat" structure when adding the project and building all projects in the group. Limitations I'm aware of: - you can't use the release process at the group level - a recursive build from the parent won't work See this issue for more info and a sample project: http://jira.codehaus.org/browse/CONTINUUM-1850 -- Wendy |
|
|
Re: Continuum 1.1 / 1.2 and multiple modulesWendy,
If you read the final conclusion, you mentionnned that you didn't reproduce this problem with final 1.2. It seems that you let --non-recursive on the parent pom. How did you manage to build the entire group without removing this option ? 2008/11/15 Wendy Smoak <wsmoak@...> > On Fri, Nov 14, 2008 at 6:37 PM, silver95 <ccarpediem@...> wrote: > > > Does Continuum 1.1 and 1.2 can manage this structure ? > > It seems that it does not understand relative path (ie ../moduleA and > > ../moduleB) > > Based on my tests, Continuum 1.2 _can_ handle this "flat" structure > when adding the project and building all projects in the group. > > Limitations I'm aware of: > - you can't use the release process at the group level > - a recursive build from the parent won't work > > See this issue for more info and a sample project: > http://jira.codehaus.org/browse/CONTINUUM-1850 > > -- > Wendy > -- Cordialement Fabien Tillay |
|
|
Re: Continuum 1.1 / 1.2 and multiple modulesSi I'm gonna reformulate my question :
Is it possible with Continuum 1.1 or 1.2 to build a parent pom recursively : - With this structure Root -parent ----->pom.xml -moduleA ----->pom.xml -moduleB ----->pom.xml - With this structure Root -pom.xml -moduleA ----->pom.xml -moduleB ----->pom.xml Thanks Le 15 nov. 08 à 02:51, Wendy Smoak a écrit : > On Fri, Nov 14, 2008 at 6:37 PM, silver95 <ccarpediem@...> > wrote: > >> Does Continuum 1.1 and 1.2 can manage this structure ? >> It seems that it does not understand relative path (ie ../moduleA and >> ../moduleB) > > Based on my tests, Continuum 1.2 _can_ handle this "flat" structure > when adding the project and building all projects in the group. > > Limitations I'm aware of: > - you can't use the release process at the group level > - a recursive build from the parent won't work > > See this issue for more info and a sample project: > http://jira.codehaus.org/browse/CONTINUUM-1850 > > -- > Wendy |
|
|
Re: Continuum 1.1 / 1.2 and multiple modules2008/11/15 Fabien Tillay <ccarpediem@...>:
> Si I'm gonna reformulate my question : > Is it possible with Continuum 1.1 or 1.2 to build a parent pom recursively : > > - With this structure > > Root > -parent > ----->pom.xml > -moduleA > ----->pom.xml > -moduleB > ----->pom.xml > > > > - With this structure > > Root > -pom.xml > -moduleA > ----->pom.xml > -moduleB > ----->pom.xml > Yes use this structure (when adding the project use the checkbox with "For multi modules project, load only root as recursive build" or "Pour les projets multi modules, charger uniquement la racine comme une construction récursive" in the Molière language :-) ). I use at work wihout any issue. -- Olivier > > Thanks > > Le 15 nov. 08 à 02:51, Wendy Smoak a écrit : > >> On Fri, Nov 14, 2008 at 6:37 PM, silver95 <ccarpediem@...> wrote: >> >>> Does Continuum 1.1 and 1.2 can manage this structure ? >>> It seems that it does not understand relative path (ie ../moduleA and >>> ../moduleB) >> >> Based on my tests, Continuum 1.2 _can_ handle this "flat" structure >> when adding the project and building all projects in the group. >> >> Limitations I'm aware of: >> - you can't use the release process at the group level >> - a recursive build from the parent won't work >> >> See this issue for more info and a sample project: >> http://jira.codehaus.org/browse/CONTINUUM-1850 >> >> -- >> Wendy > > |
|
|
Re: Continuum 1.1 / 1.2 and multiple modulesI clicked the "Build all projects" button on the 'Project Group
Summary' tab, which built all the projects in the Continuum project group in the correct order. -- Wendy On Sat, Nov 15, 2008 at 3:40 AM, Fabien Tillay <ccarpediem@...> wrote: > Wendy, > > If you read the final conclusion, you mentionnned that you didn't reproduce > this problem with final 1.2. > It seems that you let --non-recursive on the parent pom. > How did you manage to build the entire group without removing this option ? |
|
|
Re: Continuum 1.1 / 1.2 and multiple modulesOn Sat, Nov 15, 2008 at 6:09 AM, Fabien Tillay <ccarpediem@...> wrote:
> Si I'm gonna reformulate my question : > Is it possible with Continuum 1.1 or 1.2 to build a parent pom recursively : > > - With this structure > > Root > -parent > ----->pom.xml > -moduleA > ----->pom.xml > -moduleB > ----->pom.xml No, you can't do a recursive build from the parent with this structure. When you add a project with this structure, Continuum checks out the following: /path/to/working-copies/1/pom.xml /path/to/working-copies/2/pom.xml /path/to/working-copies/3/pom.xml Assuming '1' is the parent pom, if you change to that directory and type 'mvn install', it will fail because ../moduleA and ../moduleB do not exist. However as I mentioned, using the 'Build all projects' button does work. -- Wendy |
| Free embeddable forum powered by Nabble | Forum Help |