3 Replies Latest reply on Jul 27, 2017 7:28 PM by brussell-3 RSS
    rkelly Newbie

    Issue when completing Weather Applications with Raspberry Pi tutorial

    In part 3 of the Weather Applications with Raspberry Pi tutorial when I try to create a release jar I get an error that I cannot seem to solve. Any insight into the solution will help. The tutorial is located here, Weather Applications with Raspberry Pi | ThingWorx

     

    The error is listed below:

     

    C:\Users\rkell_000>cd C:\temperature-thing\temperature-thing

     

     

    C:\temperature-thing\temperature-thing>mvn package

    [INFO] Scanning for projects...

    [WARNING]

    [WARNING] Some problems were encountered while building the effective model for com.ptcmanaged.thingworx:temperature-thing:jar:1.0-SNAPSHOT

    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 112, column 21

    [WARNING]

    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

    [WARNING]

    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

    [WARNING]

    [INFO]

    [INFO] ------------------------------------------------------------------------

    [INFO] Building temperature-thing 1.0-SNAPSHOT

    [INFO] ------------------------------------------------------------------------

    Downloading: https://maker01.ptcmanaged.com/mvnrepo/com/thingworxs/thingworx-common/5.0.0/thingworx-common-5.0.0.pom

    Downloading: https://repo.maven.apache.org/maven2/com/thingworxs/thingworx-common/5.0.0/thingworx-common-5.0.0.pom

    [INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time: 23.074 s

    [INFO] Finished at: 2016-04-08T15:57:09-04:00

    [INFO] Final Memory: 12M/244M

    [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 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/to ptc-managed-services-public (https://maker01.ptcmanaged.com/mvnrepo): Connect to maker01.ptcmanaged.com:443 [maker01.ptcmanaged.com/54.173.81.52] failed: Connection timed out: connect -> [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/DependencyResolutionException