The repo does not seem to have the snapshot version. Try removing the 'snapshot'

mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:get 
-DremoteRepositories=https://nexus.onap.org/content/groups/staging 
-Dartifact=org.openecomp.demo.vnf:sample-distribution:1.1.0:tar.gz:hc 
-Dtransitive=false -Ddest=.

Regards,
Avdhut Kholkar

From: [email protected] 
[mailto:[email protected]] On Behalf Of Josef Reisinger
Sent: Tuesday, June 27, 2017 10:13 PM
To: onap-discuss <[email protected]>
Subject: Re: [onap-discuss] vFW: got one step further: Couldn't download 
artifact (was previous peer not authenticated in maven project build in 
cloud-init)

Nobody faces this error?
I asked "friend G." and it seems that there is some issue with the 
certificates. If I look a but up in cloud-init-output, I can see there was an 
error installing the certificates:
/var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command not 
found
/var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command not 
found
The command which help me one step further was
update-ca-certificates -f
So that I do not have the "peer not authenticated" (what a §"$$%"&§ error 
message by the way....) and get something which I do not understand at all. I 
have to admit I am using maven the first time....

root@demofwl01pgn:/opt# mvn 
org.apache.maven.plugins:maven-dependency-plugin:2.10:get 
-DremoteRepositories=https://nexus.onap.org/content/groups/staging 
-Dartifact=org.openecomp.demo.vnf:sample-distribution:1.1.0-SNAPSHOT:tar.gz:hc 
-Dtransitive=false -Ddest=.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.10:get (default-cli) @ standalone-pom ---
[INFO] Resolving 
org.openecomp.demo.vnf:sample-distribution:tar.gz:hc:1.1.0-SNAPSHOT
Downloading: 
https://nexus.onap.org/content/groups/staging/org/openecomp/demo/vnf/sample-distribution/1.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
https://nexus.onap.org/content/groups/staging/org/openecomp/demo/vnf/sample-distribution/1.1.0-SNAPSHOT/sample-distribution-1.1.0-SNAPSHOT-hc.tar.gz
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.436s
[INFO] Finished at: Tue Jun 27 16:33:52 UTC 2017
[INFO] Final Memory: 17M/171M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on 
project standalone-pom: Couldn't download artifact: Could not find artifact 
org.openecomp.demo.vnf:sample-distribution:tar.gz:hc:1.1.0-SNAPSHOT in temp 
(https://nexus.onap.org/content/groups/staging)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.openecomp.demo.vnf 
-DartifactId=sample-distribution -Dversion=1.1.0-SNAPSHOT -Dclassifier=hc 
-Dpackaging=tar.gz -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file 
there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.openecomp.demo.vnf 
-DartifactId=sample-distribution -Dversion=1.1.0-SNAPSHOT -Dclassifier=hc 
-Dpackaging=tar.gz -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.openecomp.demo.vnf:sample-distribution:tar.gz:1.1.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, 
snapshots=false),
[ERROR] temp (https://nexus.onap.org/content/groups/staging, releases=true, 
snapshots=true)
[ERROR] -> [Help 1]
[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/MojoExecutionException

Any quick help from you guys?
I logg this under https://jira.onap.org/projects/UCA/issues/UCA-28

Mit freundlichen Grüßen / Kind regards
Josef Reisinger
When wisdom comes to call, there's nobody listening at all - Pendragon / Man Of 
Nomadic Traits

IBM Sales & Distribution, Communications Sector
Certified IT-Architect Telecommunications
IBM Certified Telecommunications Industry ITA
Lehrbeauftragter an der Hochschule Fresenius

IBM Deutschland
Godesberger Allee 127
53175 Bonn Beuel

Phone:    +49 151 1426 4559
Mobile:  +49-(0) 151 1426 4559
E-Mail:  [email protected]<mailto:[email protected]>


IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Nicole Reimer, Norbert 
Janzen, Dr. Christian Keller, Ivo Koerner, Stefan Lutz
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
14562 / WEEE-Reg.-Nr. DE 99369940






From:        "Josef Reisinger" 
<[email protected]<mailto:[email protected]>>
To:        onap-discuss 
<[email protected]<mailto:[email protected]>>
Date:        27.06.2017 16:53
Subject:        [onap-discuss] vFW: peer not authenticated in maven project 
build        in cloud-init
Sent by:        
[email protected]<mailto:[email protected]>
________________________________



I logged this in JIRA, maybe I get a response faster on the list:
When deploying a vFW demo stack, I get a "peer not authenticated"  error in 
maven build. The same happens if I try to run the command manually. Anybody to 
know what is missing?
mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:get 
-DremoteRepositories=https://nexus.onap.org/content/groups/staging 
-Dartifact=org.openecomp.demo.vnf:sample-distribution:1.1.0-SNAPSHOT:tar.gz:hc 
-Dtransitive=false -Ddest=.

Mit freundlichen Grüßen / Kind regards
Josef Reisinger _______________________________________________
onap-discuss mailing list
[email protected]<mailto:[email protected]>
https://lists.onap.org/mailman/listinfo/onap-discuss


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>

Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to