Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
When I tried to build the temperature-thing example project according to PTC IoT Academic Program tutorials, "mvn package" process was failed by dependencies resolving error. After download of junit-4.4.pom, build failure occurred. Message on terminal looks like this:
Downloaded: http://repo.maven.apache.org/maven2/junit/junit/4.4/junit-4.4.pom (2 KB at 1.8 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34:45.046s
[INFO] Finished at: Tue Jun 23 20:29:16 JST 2015
[INFO] Final Memory: 5M/13M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project temperature-thing: Could not resolve dependencies for project com.ptcmanaged.thingworx:temperature-thing:jar:1.0-SNAPSHOT: Failed to collect dependencies for [com.fasterxml.jackson.core:jackson-databind:jar:2.3.1 (compile), joda-time:joda-time:jar:2.3 (compile), ch.qos.logback:logback-classic:jar:1.0.13 (compile), ch.qos.logback:logback-core:jar:1.0.13 (compile), io.netty:netty-all:jar:4.0.19.Final (compile), com.thingworxs:thingworx-common:jar:5.0.0 (compile), junit:junit:jar:4.4 (test)]: 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/to ptc-managed-services-public (https://maker01.ptcmanaged.com/mvnrepo): Connection to https://maker01.ptcmanaged.com refused:
I'm using Apache Maven 3.3.1. and Java 1.7.0_71. Temperature-thing project was downloaded from tutorial link.
Please let me know how to solve the problem.
Thanks,
Yoshiyuki Ono
For more information on how to solve this problem, please see the following thread.
The link is redirecting to an invalid page.