3 Replies Latest reply on Jan 15, 2018 8:52 AM by vt RSS
    vt Newbie

    While building EMS in windows I got the following error

    C:\Program Files\apache-maven-3.3.3\bin>mvn --version

    Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T17:27:3


    Maven home: C:\Program Files\apache-maven-3.3.3

    Java version: 1.7.0_80-ea, vendor: Oracle Corporation

    Java home: C:\Program Files\Java\jdk1.7.0_80\jre

    Default locale: en_US, platform encoding: Cp1252

    OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"


    C:\Program Files\apache-maven-3.3.3\bin>cd\


    C:\>cd Users\MCS-1\Desktop\temperature-thing


    C:\Users\MCS-1\Desktop\temperature-thing>mvn package

    [INFO] Scanning for projects...

    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-s


    [ERROR] [ERROR] Some problems were encountered while processing the POMs:

    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-depl

    oy-plugin is missing. @ line 112, column 21

    [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-ssh:1

    .0 or one of its dependencies could not be resolved: Failed to read artifact des

    criptor for org.apache.maven.wagon:wagon-ssh:jar:1.0 @


    [ERROR] The build could not read 1 project -> [Help 1]


    [ERROR]   The project com.ptcmanaged.thingworx:temperature-thing:1.0-SNAPSHOT (C

    :\Users\MCS-1\Desktop\temperature-thing\pom.xml) has 1 error

    [ERROR]     Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-s

    sh:1.0 or one of its dependencies could not be resolved: Failed to read artifact

    descriptor for org.apache.maven.wagon:wagon-ssh:jar:1.0: Could not transfer art

    ifact org.apache.maven.wagon:wagon-ssh:pom:1.0 from/to central (https://repo.mav

    en.apache.org/maven2): repo.maven.apache.org: Unknown host repo.maven.apache.org

    -> [Help 2]


    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit


    [ERROR] Re-run Maven using the -X switch to enable full debug logging.


    [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/ProjectBuildin


    [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerE