Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1739

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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.

        Attachments

          Activity

            People

            • Assignee:
              evenisse Emmanuel Venisse
              Reporter:
              tzara Lorand Somogyi
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: