Maven dependencies - Location of dependent jars
-----------------------------------------------

         Key: MAVEN-1616
         URL: http://jira.codehaus.org/browse/MAVEN-1616
     Project: maven
        Type: Task
  Components: core  
    Versions: 1.0.2    
 Environment: Windows XP, Maven 1.0.2
    Reporter: Kanakambaran
    Priority: Blocker


My project structure is as below

Project
   |-Project.xml and maven.xml
   |-Client
       |-Project.xml
   |-Server
       |-Project.xml 
   |-ValueObjects
       |-Project.xml 

I have specified the ValueObjects as a dependency in both the client and server 
projects.

<dependency>
<groupId>group-id</groupId>
<artifactId>valueobject-artifact-id</artifactId>
<version>project-version-number</version>
</dependency>

So the processing order is being taken correctly.

Our processing order:
VO
Server
Client

But when it is trying to build the server project or client project, the build 
is failing since it is looking for the VO.jar in the local repository. This jar 
is present in my build directory - maven.build.dir. How can I overcome this ? I 
do not want to publish the jar to the repository till the whole build is 
complete.

Please help me out. Thanks in advance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to