Continuum

Import of Maven2 project fails if 2.0.9 feature depMgm. scope>import used

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.2
  • Component/s: Integration - Maven 2
  • Labels:
    None
  • Environment:
    Linux RedHat 2.6.18-53.1.14.el5,
    Sun JDK 1.5 and JDK 1.6.
    Maven 2.0.9,
    Continuum 1.1
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

Import of Maven2 project fails if 2.0.9 feature "importing managed dependencies" is used. If the project is already imported it will fail saying there is no pom.xml.

Example:

pom.xml excerpt:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.example</groupId>
<artifactId>ext-deps</artifactId>
<version>RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

Workaround: we use parent now instead.

Activity

Hide
Olivier Lamy added a comment -

probably fixed with upgrading maven version in continuum ?

Show
Olivier Lamy added a comment - probably fixed with upgrading maven version in continuum ?
Hide
Jon SlinnHawkins added a comment -

I can confirm - rebuilding continuum 1.1 with Maven 2.0.9 instead of 2.0.6 fixes this issue.

When is the next scheduled release ? I see that Trunk is still using 2..0.6

Show
Jon SlinnHawkins added a comment - I can confirm - rebuilding continuum 1.1 with Maven 2.0.9 instead of 2.0.6 fixes this issue. When is the next scheduled release ? I see that Trunk is still using 2..0.6
Hide
Emmanuel Venisse added a comment -

Update to maven 2.0.9 is done.

Show
Emmanuel Venisse added a comment - Update to maven 2.0.9 is done.
Hide
Lorand Somogyi added a comment -

Could we see this fix before 1.2? (1.2 looks so far away...)
Are there any plans to release a fix for 1.1 (1.1.1)?

Show
Lorand Somogyi added a comment - Could we see this fix before 1.2? (1.2 looks so far away...) Are there any plans to release a fix for 1.1 (1.1.1)?

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: