You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/11/14 14:40:03 UTC
[jira] Updated: (MNG-4897) Maven 3 : In Multi-Module project, one
module project can not depend on another
[ http://jira.codehaus.org/browse/MNG-4897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-4897:
-----------------------------------
Component/s: (was: Apache or Maven Parent poms)
Dependencies
> Maven 3 : In Multi-Module project, one module project can not depend on another
> -------------------------------------------------------------------------------
>
> Key: MNG-4897
> URL: http://jira.codehaus.org/browse/MNG-4897
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 3.0
> Environment: Ubuntu 9.10
> Jdk 1.6
> Mavne 3.0
> Reporter: Ken Cheng
> Attachments: parent.zip
>
>
> Hi All,
> Right now I am upgrading my project from maven2 to maven3. My project is a
> multiple-module project such as
> - Parent ----> It's the parent project and it only contains a pom.xml
> ---- module-A ---> It is one child module
> ---- module-B ---> It is another child module at the same time it depends
> on module-A
> This project runs well with Maven2 but after I upgrade to Maven3, I can not
> build module-B. The error message such like below
> [ERROR] Failed to execute goal on project child2: Could not resolve
> dependencies for project com.abc:child2:jar:1.0-SNAPSHOT: Could not find
> artifact com.abc:child1:jar:3.8.1 in central (http://repo1.maven.org/maven2)
> -> [Help 1]
> By the way, It's very easy to reproduce this issue with the attached simple
> java project. You can go to "Child2" project and run "mvn compile" to
> reproduce the issue.
--
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