You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by cristian <cl...@sol.info.unlp.edu.ar> on 2005/11/16 17:45:25 UTC

HELP!!, multiproject m2 and CVS

I have two projects (I need all compile), project A and B where project 
A depends on project B.

In Project A's my pom.xml,

<dependencies>
       <dependency>
           <groupId>foo</groupId>
           <artifactId>B</artifactId>
           <version>1.0</version>
       </dependency>
<dependencies>

but, search an JAR. I like compile the sources of project B, no find jar.


1)  How is this represented in the pom.xml?
2) How  would have to define remote repository(cvs) for download the 
sources?

Thanks,,and sorry for my English.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: HELP!!, multiproject m2 and CVS

Posted by Brett Porter <br...@gmail.com>.
Currently, maven doesn't compile dependencies - you must check out B
separately, run mvn install, then run the goal on A again.

- Brett

On 11/17/05, cristian <cl...@sol.info.unlp.edu.ar> wrote:
> I have two projects (I need all compile), project A and B where project
> A depends on project B.
>
> In Project A's my pom.xml,
>
> <dependencies>
>        <dependency>
>            <groupId>foo</groupId>
>            <artifactId>B</artifactId>
>            <version>1.0</version>
>        </dependency>
> <dependencies>
>
> but, search an JAR. I like compile the sources of project B, no find jar.
>
>
> 1)  How is this represented in the pom.xml?
> 2) How  would have to define remote repository(cvs) for download the
> sources?
>
> Thanks,,and sorry for my English.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org