Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-2871

mvn clean install doesn't work

XMLWordPrintable

      Hello, following the README.md, I did "mvn clean install" with maven without any configuration:

       

      mvn clean install
      [INFO] Scanning for projects...
      Downloading from central: http://repo2.maven.org/maven2/org/onap/oparent/oparent/2.0.0/oparent-2.0.0.pom
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [FATAL] Non-resolvable parent POM for org.onap.sdc.sdc-distribution-client:sdc-main-distribution-client:1.4.1-SNAPSHOT: Could not transfer artifact org.onap.oparent:oparent:pom:2.0.0 from/to central (http://repo2.maven.org/maven2/): Transfer failed for http://repo2.maven.org/maven2/org/onap/oparent/oparent/2.0.0/oparent-2.0.0.pom and 'parent.relativePath' points at no local POM @ line 11, column 10
       @
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR]   The project org.onap.sdc.sdc-distribution-client:sdc-main-distribution-client:1.4.1-SNAPSHOT (/Users/sylvain/Sources/onap/sdc-distribution-client/pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM for org.onap.sdc.sdc-distribution-client:sdc-main-distribution-client:1.4.1-SNAPSHOT: Could not transfer artifact org.onap.oparent:oparent:pom:2.0.0 from/to central (http://repo2.maven.org/maven2/): Transfer failed for http://repo2.maven.org/maven2/org/onap/oparent/oparent/2.0.0/oparent-2.0.0.pom and 'parent.relativePath' points at no local POM @ line 11, column 10: Unknown host repo2.maven.org: nodename nor servname provided, or not known -> [Help 2]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
      

      How can I resolve that?

            sebdet sebdet
            sdesbure sdesbure
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: