Yes exactly, I wasn't sure how well a more comlex diagram would appear in the 
mail :)

I'm using 2.0.2 if that helps.

Matt

-----Original Message-----
From: Alexandre Poitras [mailto:[EMAIL PROTECTED] 
Sent: 21. februar 2006 15:44
To: Maven Users List
Subject: Re: Multi-project woes

I am not sure I am understanding your point correctly. Is your setup like this ?

parent-project
|
---- subprojectA
|     |
|     ---- pom.xml
|
---- subprojectB
|     |
|     ---- pom.xml
|
---- pom.xml


On 2/21/06, Koranda Matthew James <[EMAIL PROTECTED]> wrote:
> I have made a multi-project setup with a standard structure:
>
> project
> --- subproject A
> --- subproject B
>
> The project itself is quite big and the subprojects are components 
> that are usable by the main project. I have added all of the common 
> information to the project pom.xml as follows:
>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>com.a.b</groupId>
>   <artifactId>main</artifactId>
>   <packaging>pom</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>Company</name>
>   <url>http://www.url.com</url>
>   <inceptionYear>2006</inceptionYear>
>   <modules>
>     <module>subprojectA</module>
>     <module>subprojectB</module>
>     .........
>
> And in the subprojects:
>
>   <groupId>com.a.b.subprojectA</groupId>
>   <artifactId>subprojectA</artifactId>
>   <packaging>jar</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>Subproject A</name>
>   <url>http://maven.apache.org</url>
>   <parent>
>         <groupId>com.a.b/groupId>
>         <artifactId>main</artifactId>
>         <version>1.0-SNAPSHOT</version>
>   </parent>
>
>
> We are using eclipse as our IDE and the heirarchal structure is clumsy 
> with so many subprojects so we are trying to check out just the 
> subprojects from source control. The problem is that our subprojects 
> are unable to resolve the main pom from any repository, is this 
> expected with the way we are trying to use it?
>
> We are also using maven-proxy and continuum. Both continuum and our 
> local workstations are able to resolve dependencies such as maven 
> plugins using the maven-proxy but fail finding our internal pom. Both 
> work if I install the main pom in the local cache but I would like to 
> be able to checkout a subproject and "mvn compile". Is this possible 
> in this way?
>
>
> Thanks in advance,
>
> Matt
>
>


--
Alexandre Poitras
Québec, Canada

---------------------------------------------------------------------
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]

Reply via email to