Hi, I am getting the following error when I am trying to a maven install for a project I downloaded from Predix. I manually looked at the Maven repo. It does look like the artifacts are not there. Can you please point me to the correct repo where I can find these artifacts?
The following artifacts could not be resolved: com.ge.predix:acs-spring-security-extensions:jar:5.2.0-SNAPSHOT,
com.ge.predix.cloud:Debugler:jar:0.0.1-SNAPSHOT
The repo I am accessing is: http://repo1.maven.org/maven2
I am able to download all other dependencies fine.
Thanks in advance,
Tarun Saha
Answer by robert.rice@ge.com · Oct 19, 2016 at 06:53 AM
I found three issues:
1) the on the quickstart.sh script is not the full url of the app. Only the first part that is NOT auto-generated by the system. 2) The error: ReasonPhrase:Unauthorized is caused by lack of username/password for JfrogAtifactory in the settings.xml file - See: https://predix-io.run.aws-usw02-pr.ice.predix.io/resources/tutorials/tutorial-details.html?tutorial_id=1560&tag=1608&journey=Development%20tools%20and%20tips&resources=1565,1560,1727 3) The GrovePI-sepc artifact in Jfrog Artifacory is only visible under my "archive" tab. Not sure if that is important. 4) The settings.xml file refers to the repo: https://artifactory.predix.io/artifactory/PREDIX-EXT/ Which is available via GE network, BUT NOT FROM GOOGLE Cloud or outside the G.E. network!
Thank you for the answer. Today I tried to run the script again and it worked. So it is solved. Maybe there was a maintenance at the artifactory.
I had a similar error and I updated my settings.xml as per the links. But I'm finding a new error:
[ERROR] Failed to execute goal on project data-ingestion: Could not resolve dependencies for project com.ge.predix.solsvc.training.ingestion:data-ingestion:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.ge.predix.solsvc:asset-bootstrap-client:jar:1.2.0: Failed to read artifact descriptor for com.ge.predix.solsvc:asset-bootstrap-client:jar:1.2.0: Could not transfer artifact com.ge.predix.solsvc:asset-bootstrap-client:pom:1.2.0 from/to predix.repo (https://artifactory.predix.io/artifactory/PREDIX-EXT): artifactory.predix.io: Unknown host artifactory.predix.io -> [Help 1][ERROR]
Are there any suggestions?
Answer by csaba.agod@scenarios.global · Oct 17, 2016 at 06:19 PM
Here is the settings.xmllink text
Thanks for the quick answer
Answer by Manish Jain · Sep 22, 2016 at 12:34 PM
Can you post the maven settings.xml you are using
I'm having the same problem - have you found any resolution?
Answer by csaba.agod@scenarios.global · Oct 15, 2016 at 02:56 PM
Hi,
I have followed this tutorial: Edge Devices: Add Predix Machine on an Edge Device https://www.predix.io/resources/tutorials/tutorial-details.html?tutorial_id=1742&tag=1750&journey=Setup%20Raspberry%20Pi%20for%20Predix&resources=1785,1741,1742,1743
I have got this error message:
I don't know what is missing with the maven. Anybody can tell me?
Thank you
Are there problems with maven repository? 1 Answer
Predix Machine processor wont clean install ReasonPhrase: Unauthorized 1 Answer
Error while clicking Run as -> Maven Install 2 Answers
Tutorials - maven error - log4j "No appenders could be found for logger" 3 Answers
mvn clean package error in "Calling Predix Time Series" Lesson 5 Answers