jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-3061

Circular dependencyManagement excludes all classpath dependencies

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Cannot Reproduce
  • Affects Version/s: 2.0.6
  • Fix Version/s: None
  • Component/s: Dependencies
  • Labels:
    None

Description

It seems that if in the parent pom you have something like:

....
<dependencyManagement>
<dependency>
<groupId>org.apache.tapestry</groupId>
<artifactId>tapestry-test</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencyManagement>
....

when you try to compile the child tapestry-test sub-project it fails because it can't find any dependencies. In fact doing "mvn dependency:build-classpath" confirms this. As soon as the dependencyManagement entry is removed the sub-project compiles just fine.

This works fine in Maven 2.0.5, it just stopped working in 2.0.6.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 20/Jun/07 9:26 PM

needs to be reviewed for 2.0.x as a regression, or closed if this is 'by design'

Show
Brett Porter added a comment - 20/Jun/07 9:26 PM needs to be reviewed for 2.0.x as a regression, or closed if this is 'by design'
Hide
Permalink
Brett Porter added a comment - 11/Jan/10 9:35 PM

can't reproduce in 2.0.6, let alone a recent version. Please attach a project showing the issue if it is still a problem

Show
Brett Porter added a comment - 11/Jan/10 9:35 PM can't reproduce in 2.0.6, let alone a recent version. Please attach a project showing the issue if it is still a problem

People

  • Assignee:
    Unassigned
    Reporter:
    Hugo Palma
Vote (2)
Watch (2)

Dates

  • Created:
    18/Jun/07 6:02 PM
    Updated:
    11/Jan/10 9:35 PM
    Resolved:
    11/Jan/10 9:35 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.