3 Replies Latest reply on Sep 9, 2015 9:54 AM by aanjan 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

    7+05:30)

    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

    sh/1.0/wagon-ssh-1.0.pom

    [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]

    [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]

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

    gException

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

    xception