John Patrick created MDEP-350:
---------------------------------

             Summary: Local pom not being used
                 Key: MDEP-350
                 URL: https://jira.codehaus.org/browse/MDEP-350
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: resolve
    Affects Versions: 2.4
         Environment: loki:~ john$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
customer15219:xmlbeans john$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: /opt/local/share/java/maven3
Java version: 1.6.0_29, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
loki:~ john$ 

            Reporter: John Patrick
         Attachments: output.log, pom-resolve.zip

I believe the issue I'm having is within the dependencies plugin, specifically 
within resolve.

Two jar projects have the same parent pom.
The 2nd jar depends upon the 1st jar.

If I don't install the parent pom in to the local repo the 2nd jar project 
fails as it says it can't find the parent pom of the 1st project. But the 2nd 
project has the dependency that is failing as it's parent pom, the exact same 
groupId:artifactId:version, and is correctly specified in relativePath.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to