cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Failed to execute goal on project temperature-thing

abhineshp
4-Participant

Failed to execute goal on project temperature-thing

Please help me with this error message!!

 

C:\Users\Abhinesh\temperature-thing\TWX_Academic_RaspberryPi\temperature-thing>m
vn package
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< com.ptcmanaged.thingworx:temperature-thing >-------------
[INFO] Building temperature-thing 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from ptc-managed-services-public: http://maker01.cloud.thingworx.com
/mvnrepo/com/thingworxs/thingworx-common/5.0.0/thingworx-common-5.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.163 s
[INFO] Finished at: 2018-05-09T23:44:40+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project temperature-thing: Could not resolve d
ependencies for project com.ptcmanaged.thingworx:temperature-thing:jar:1.0-SNAPS
HOT: Failed to collect dependencies at com.thingworxs:thingworx-common:jar:5.0.0
: Failed to read artifact descriptor for com.thingworxs:thingworx-common:jar:5.0
.0: Could not transfer artifact com.thingworxs:thingworx-common:pom:5.0.0 from/t
o ptc-managed-services-public (http://maker01.cloud.thingworx.com/mvnrepo): No s
uch host is known (maker01.cloud.thingworx.com) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

2 REPLIES 2
CRArko
17-Peridot
(To:abhineshp)

Hello.

 

There is an article which deals with a similar error message and offers some steps to try to correct the problem. Give it a read and see if this is applicable to your use case.

 

Thanks,

 

-- Craig A.

You need to locally add the Thingworx common jar to your project library and update the pom dependencies accordingly.

The Thingworx common jar can be find in the Protocol Adapter took kit library. It can be downloaded from the below link. Please note the version of the jar is different, so make corresponding changes in the maven pom xml.

Announcements


Top Tags