Have you read the Getting Started Guide?

Specifically this section should help:
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20build%20more%20than%20one%20project%20at%20once?

You're on the right path!

Wayne

On 4/7/06, RobJac <[EMAIL PROTECTED]> wrote:
>
> I am a new user for Maven.
> I have created two project Folder A and B. In each of the project I have a
> pom.xml. When i try to execute mvn-compile for project folder A, it throws
> compilation errors since java files under project A have imports for java
> classes under project B. How do i specify this in the pom.xml for project A
> to also include files under project B. I know we have something called
> dependency tag which i can make use of, but dont know the values to provide.
> I tried providing the following for the dependency tags in pom.xml of
> Project A as shown below
>
> <groupId>package.subPackage1.subPackage2</groupId>
> <artifactId>B</artifactId>
> <scope>compile</scope>
> <version>1.0</version>
>
>
> Please advice on this.
>
> Cheers
> Robin
> --
> View this message in context: 
> http://www.nabble.com/Compiling-dependency-project-t1412713.html#a3805829
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to