Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by tarun.saha@ge.com · Sep 22, 2016 at 12:14 PM · maven

Can not find artifacts in maven repo

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

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

  • Sort: 
avatar image
0

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!

Comment
Add comment · Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image csaba.agod@scenarios.global · Oct 19, 2016 at 06:14 PM 0
Share

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.

avatar image deepa.S.nayak@ge.com · Jan 18, 2017 at 09:41 PM 0
Share

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?

avatar image
0

Answer by csaba.agod@scenarios.global · Oct 17, 2016 at 06:19 PM

Here is the settings.xmllink text

Thanks for the quick answer


settings.txt (2.3 kB)
Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Manish Jain · Sep 22, 2016 at 12:34 PM

Can you post the maven settings.xml you are using

Comment
Add comment · Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robert.rice@ge.com · Oct 17, 2016 at 01:10 PM 0
Share

I'm having the same problem - have you found any resolution?

avatar image
0

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: alt text

I don't know what is missing with the maven. Anybody can tell me?

Thank you


predix-error.png (279.4 kB)
Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

52 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

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

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests