Continuum
  1. Continuum
  2. CONTINUUM-1536

Data management cli doesn't read settings.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1-beta-2, 1.1-beta-3
    • Fix Version/s: 1.1
    • Component/s: Data Management
    • Labels:
      None

      Description

      DMC doesn't read settings.xml file (proxy + Continuum beta-4 stage repository)

      settings.xml file is located under $

      {user.home}

      /.m2/

      Here is what I get when I try to execute DMC and then dependency:resolve with DMC pom file.

      DMC alone :

      [robot@CC ~]$ java -jar data-management-cli-1.1-beta-4-app.jar ...
      0 [main] INFO org.apache.maven.continuum.management.DataManagementCli

      • Processing Continuum database...
        Exception in thread "main"
        org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
        Missing:
        ----------
        1) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.maven.continuum
      -DartifactId=data-management-jdo \
      -Dversion=1.1-beta-4 -Dpackaging=jar -Dfile=/path/to/file

      Path to dependency:
      1) dummy:dummy:pom:1.0
      2) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4

      ----------
      1 required artifact is missing.

      for artifact:
      dummy:dummy:pom:1.0

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2)

      at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:305)
      at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
      at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
      at org.apache.maven.continuum.management.DataManagementCli.downloadArtifact(DataManagementCli.java:304)
      at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:185)
      at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:158)

      <= same session, same maven 2, same settings.xml =>

      Then, with DMC pom file :

      [robot@CC ~]$ mvn dependency:resolve
      [INFO] Scanning for projects...
      Downloading: http://people.apache.org/builds/maven/continuum/1.1-beta-4/org/apache/maven/continuum/continuum-data-management/1.1-beta-4/continuum-data-management-1.1-beta-4.pom
      2K downloaded
      Downloading: http://people.apache.org/builds/maven/continuum/1.1-beta-4/org/apache/maven/continuum/continuum-parent/1.1-beta-4/continuum-parent-1.1-beta-4.pom
      25K downloaded
      ...

      Maven itself finds settings.xml and its configuration, but DMC fails.

        Issue Links

          Activity

          dlecan created issue -
          Olivier Lamy (*$^¨%`£) made changes -
          Field Original Value New Value
          Link This issue duplicates CONTINUUM-1492 [ CONTINUUM-1492 ]
          Emmanuel Venisse made changes -
          Fix Version/s 1.1 [ 13605 ]
          Emmanuel Venisse made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Emmanuel Venisse [ evenisse ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
          Mark Thomas made changes -
          Workflow jira [ 12710196 ] Default workflow, editable Closed status [ 12739891 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
          Mark Thomas made changes -
          Workflow jira [ 12947417 ] Default workflow, editable Closed status [ 12985450 ]

            People

            • Assignee:
              Emmanuel Venisse
              Reporter:
              dlecan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development