Open Annmeng opened 8 years ago
i also faced an error when running mvn clean install in the oprniot-master level...
c:\openiot-master>mvn clean install [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.openiot:ide.core:0.0.1: Failure to fin d org.openiot:openiot:pom:0.1-SNAPSHOT in http://repository.primefaces.org was c ached in the local repository, resolution will not be reattempted until the upda te interval of prime-repo has elapsed or updates are forced and 'parent.relative Path' points at wrong local POM @ line 26, column 10 [FATAL] Non-resolvable parent POM for org.openiot:ui.requestCommons:0.0.1: Could not find artifact org.openiot:openiot:pom:0.1-SNAPSHOT and 'parent.relativePath ' points at wrong local POM @ line 28, column 10 [FATAL] Non-resolvable parent POM for org.openiot:ui.requestDefinition:0.0.1: Fa ilure to find org.openiot:openiot:pom:0.1-SNAPSHOT in http://repository.primefac es.org was cached in the local repository, resolution will not be reattempted un til the update interval of prime-repo has elapsed or updates are forced and 'par ent.relativePath' points at wrong local POM @ line 28, column 10 [FATAL] Non-resolvable parent POM for org.openiot:ui.requestPresentation:0.0.1: Failure to find org.openiot:openiot:pom:0.1-SNAPSHOT in http://repository.primef aces.org was cached in the local repository, resolution will not be reattempted until the update interval of prime-repo has elapsed or updates are forced and 'p arent.relativePath' points at wrong local POM @ line 28, column 10 [WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:j ar should not point at files within the project directory, ${basedir}/lib/jasper reports-3.0.0.jar will be unresolvable by dependent projects @ line 362, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:t inyos-java:jar should not point at files within the project directory, ${basedir }/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 369, colu mn 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:n et.tinyos:jar should not point at files within the project directory, ${basedir} /lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ lin e 382, column 16 [WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:j ar should not point at files within the project directory, ${basedir}/lib/jtwitt er.jar will be unresolvable by dependent projects @ line 404, column 16 [WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout :jar should not point at files within the project directory, ${basedir}/lib/myla r-layout.jar will be unresolvable by dependent projects @ line 411, column 16 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp iler-plugin is missing. @ line 58, column 12 @ [ERROR] The build could not read 4 projects -> [Help 1] [ERROR] [ERROR] The project org.openiot:ide.core:0.0.1 (C:\openiot-master\ui\ide\ide.c ore\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.openiot:ide.core:0.0.1: Failure to find org.openiot:openiot:pom:0.1-SNAPSHOT in http://repository.primefaces.org w as cached in the local repository, resolution will not be reattempted until the update interval of prime-repo has elapsed or updates are forced and 'parent.rela tivePath' points at wrong local POM @ line 26, column 10 -> [Help 2] [ERROR] [ERROR] The project org.openiot:ui.requestCommons:0.0.1 (C:\openiot-master\ui\ ui.requestCommons\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.openiot:ui.requestCommons:0.0.1: C ould not find artifact org.openiot:openiot:pom:0.1-SNAPSHOT and 'parent.relative Path' points at wrong local POM @ line 28, column 10 -> [Help 2] [ERROR] [ERROR] The project org.openiot:ui.requestDefinition:0.0.1 (C:\openiot-master\ ui\ui.requestDefinition\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.openiot:ui.requestDefinition:0.0.1 : Failure to find org.openiot:openiot:pom:0.1-SNAPSHOT in http://repository.prim efaces.org was cached in the local repository, resolution will not be reattempte d until the update interval of prime-repo has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 28, column 10 -> [Help 2]
[ERROR] [ERROR] The project org.openiot:ui.requestPresentation:0.0.1 (C:\openiot-maste r\ui\ui.requestPresentation\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.openiot:ui.requestPresentation:0.0 .1: Failure to find org.openiot:openiot:pom:0.1-SNAPSHOT in http://repository.pr imefaces.org was cached in the local repository, resolution will not be reattemp ted until the update interval of prime-repo has elapsed or updates are forced an d 'parent.relativePath' points at wrong local POM @ line 28, column 10 -> [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/UnresolvableMo delException
c:\openiot-master>
In step 5,fail to run mvn clean install,there is no target in lsm-light.server and so on,so that latter steps can not be completed.Sincerely ask for help~~!My due date for final paper is very close!
Downloading: file://F:\openiot\modules\lsm-light\lsm-light.server/libs/org/jboss /bom/jboss-javaee-6.0-with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.F inal.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://deluan.g ooglecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlec ode.com/74.125.204.82] failed: Connection timed out: connect @ line 56, column 1 6
do you solve your problem?
try building each module one by one by following these instructions
can't run mvn install in utils.common ,
F:\openiot\utils\utils.commons>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Common files 0.0.1 [INFO] ------------------------------------------------------------------------ Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven -resources-plugin/2.6/maven-resources-plugin-2.6.pom 五月 19, 2016 10:31:30 上午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 10:31:30 上午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:24 min [INFO] Finished at: 2016-05-19T10:31:51+08:00 [INFO] Final Memory: 9M/246M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org. apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https: //repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.mave n.apache.org/23.235.47.215] failed: Connection timed out: connect -> [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/PluginResoluti onException
also fail to run mvn clean package,are there some problems in POMs? {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 12:30:29 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 19, 2016 12:31:30 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 12:31:30 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae e-6.0-with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0 -with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom 五月 19, 2016 12:33:23 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 12:33:23 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 19, 2016 12:34:26 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 12:34:26 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 19, 2016 12:35:29 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 12:35:29 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae e-6.0-with-hibernate/1.0.4.Final/jboss-javaee-6.0-with-hibernate-1.0.4.Final.pom
Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0 -with-hibernate/1.0.4.Final/jboss-javaee-6.0-with-hibernate-1.0.4.Final.pom 五月 19, 2016 12:37:28 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 12:37:28 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 19, 2016 12:38:15 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 12:38:15 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://deluan.g ooglecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlec ode.com/74.125.204.82] failed: Connection timed out: connect @ line 56, column 1 6 [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is m issing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxrs: jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxb-p rovider:jar is missing. @ line 132, column 15 [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan.goog lecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode .com/74.125.203.82] failed: Connection timed out: connect @ line 94, column 16 [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-hibernate:pom:1.0.4.Final from/to deluan.repo (http://deluan. googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.google code.com/74.125.203.82] failed: Connection timed out: connect @ line 101, column 16 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb -api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Software caused connecti on abort: recv failed @ line 69, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 109, column 15 [WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:j ar should not point at files within the project directory, ${basedir}/lib/jasper reports-3.0.0.jar will be unresolvable by dependent projects @ line 374, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:t inyos-java:jar should not point at files within the project directory, ${basedir }/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 381, colu mn 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:n et.tinyos:jar should not point at files within the project directory, ${basedir} /lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ lin e 394, column 16 [WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:j ar should not point at files within the project directory, ${basedir}/lib/jtwitt er.jar will be unresolvable by dependent projects @ line 405, column 16 [WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout :jar should not point at files within the project directory, ${basedir}/lib/myla r-layout.jar will be unresolvable by dependent projects @ line 412, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Software caused connecti on abort: recv failed @ line 104, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa s cached in the local repository, resolution will not be reattempted until the u pdate interval of central has elapsed or updates are forced. Original error: Cou ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4. Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time d out: connect @ line 112, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Software caused connecti on abort: recv failed @ line 108, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa s cached in the local repository, resolution will not be reattempted until the u pdate interval of central has elapsed or updates are forced. Original error: Cou ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4. Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time d out: connect @ line 116, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Software caused connecti on abort: recv failed @ line 91, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 123, column 15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.eclipse.persistence:org.eclipse.persistence.moxy:jar -> duplicate d eclaration of version 2.5.1 @ line 164, column 15 @ [ERROR] The build could not read 6 projects -> [Help 1] [ERROR] [ERROR] The project org.openiot:security.client:0.0.1-SNAPSHOT (F:\openiot\mod ules\security\security-client\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://delu an.googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.goo glecode.com/74.125.204.82] failed: Connection timed out: connect @ line 56, colu mn 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is missing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xrs:jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xb-provider:jar is missing. @ line 132, column 15 [ERROR] [ERROR] The project org.openiot:security.management:0.0.1 (F:\openiot\modules\ security\security-management\pom.xml) has 3 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan. googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.google code.com/74.125.203.82] failed: Connection timed out: connect @ line 94, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-hibernate:pom:1.0.4.Final from/to deluan.repo (http://del uan.googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.go oglecode.com/74.125.203.82] failed: Connection timed out: connect @ line 101, co lumn 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss -ejb-api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] [ERROR] The project org.openiot:lsm-light.server:0.0.1-SNAPSHOT (F:\openiot\mo dules\lsm-light\lsm-light.server\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Software caused conn ection abort: recv failed @ line 69, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 109, column 15 [ERROR] [ERROR] The project org.openiot:sdum.core:0.0.1 (F:\openiot\modules\sdum\sdum. core\pom.xml) has 5 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Software caused conn ection abort: recv failed @ line 104, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven 2 was cached in the local repository, resolution will not be reattempted until t he update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1. 0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 112, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] [ERROR] The project org.openiot:scheduler.core:0.0.1 (F:\openiot\modules\sched uler\scheduler.core\pom.xml) has 5 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Software caused conn ection abort: recv failed @ line 108, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven 2 was cached in the local repository, resolution will not be reattempted until t he update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1. 0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 116, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] [ERROR] The project org.openiot:ide.core:0.0.1 (F:\openiot\ui\ide\ide.core\pom .xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Software caused conn ection abort: recv failed @ line 91, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 123, column 15 [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/UnresolvableMo delException
Not yet sir... i can not find the C:openiot-master\utils\utils.commons\src\main\resources\security-config.ini file to copy it in JBOSS_HOME/standalone/configuration... so i switched to the openiot-develop, and i getted an other error: [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] OpenIoT ............................................ SUCCESS [ 0.468 s] [INFO] OpenIoT Common files ............................... SUCCESS [ 10.171 s] [INFO] OpenIoT Security Client ............................ FAILURE [03:24 min] [INFO] OpenIoT LSM-light Client ........................... SKIPPED [INFO] OpenIoT Security server ............................ SKIPPED [INFO] OpenIoT security management web app ................ SKIPPED [INFO] OpenIoT LSM-light Server ........................... SKIPPED [INFO] xgsn ............................................... SKIPPED [INFO] OpenIoT sdum.core .................................. SKIPPED [INFO] OpenIoT sdum.client ................................ SKIPPED [INFO] OpenIoT Scheduler Core ............................. SKIPPED [INFO] OpenIoT Scheduler Client ........................... SKIPPED [INFO] OpenIoT ide.core ................................... SKIPPED [INFO] OpenIoT request definition/presentation commons .... SKIPPED [INFO] OpenIoT request definition web app ................. SKIPPED [INFO] OpenIoT request presentation web app ............... SKIPPED [INFO] OpenIoT RDF Sensor Schema Editor ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:36 min [INFO] Finished at: 2016-05-19T12:41:32+03:00 [INFO] Final Memory: 23M/182M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: Could not find artifact org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT in deluan.repo (http ://deluan.googlecode.com/svn/releases) -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
So i tried to building each module one by one, and i started by Security Client module, i getted this error:
c:\openiot-develop\modules\security\security-client>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Security Client 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.193 s [INFO] Finished at: 2016-05-19T12:48:37+03:00 [INFO] Final Memory: 7M/63M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: Failure to find org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT in http://deluan.googlecode. com/svn/releases was cached in the local repository, resolution will not be reat tempted until the update interval of deluan.repo has elapsed or updates are forc ed -> [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
[ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: Failure to find org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT in http://deluan.googlecode. com/svn/releases was cached in the local repository, resolution will not be reat tempted until the update interval of deluan.repo has elapsed or updates are forc ed -> [Help 1]
may the error occurred because these urls are unreachables? http://deluan.googlecode.com/svn/releases and org.apache.shiro:shiro-faces
Annmeng did you solved your error ?????
can you try to run mvn compile in the root folder
and then run the command mvn package
... please report outcome of these steps
by the way are you using the VM or a fresh install?
On Thu, May 19, 2016 at 12:36 PM, Annmeng notifications@github.com wrote:
can't run mvn install in utils.common ,
F:\openiot\utils\utils.commons>mvn install [INFO] Scanning for projects... [INFO]
[INFO]
[INFO] Building OpenIoT Common files 0.0.1
[INFO]
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven -resources-plugin/2.6/maven-resources-plugin-2.6.pom 五月 19, 2016 10:31:30 上午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 10:31:30 上午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 01:24 min [INFO] Finished at: 2016-05-19T10:31:51+08:00 [INFO] Final Memory: 9M/246M
[INFO]
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org. apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https: //repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.mave n.apache.org/23.235.47.215] failed: Connection timed out: connect -> [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/PluginResoluti onException
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/OpenIotOrg/openiot/issues/122#issuecomment-220213051
could you please try to run following commands from the root openiot folder
mvn clean mvn compile mvn package
On Thu, May 19, 2016 at 10:11 PM, 9Khaled9 notifications@github.com wrote:
[ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: Failure to find org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT in http://deluan.googlecode. com/svn/releases was cached in the local repository, resolution will not be reat tempted until the update interval of deluan.repo has elapsed or updates are forc ed -> [Help 1]
may the error occurred because these urls are unreachables? http://deluan.googlecode.com/svn/releases and org.apache.shiro:shiro-faces
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/OpenIotOrg/openiot/issues/122#issuecomment-220305943
run mvn compile also have the same mistakes,i use a fresh install,WIn7
F:\openiot>mvn compile [INFO] Scanning for projects... Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae e-6.0-with-resteasy/1.0.4.Final/jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0 -with-resteasy/1.0.4.Final/jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae e-6.0-with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0 -with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/spec/jboss-java ee-6.0/3.0.2.Final/jboss-javaee-6.0-3.0.2.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6. 0/3.0.2.Final/jboss-javaee-6.0-3.0.2.Final.pom 五月 19, 2016 10:08:36 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 19, 2016 10:08:36 下午 org.apache.maven.wagon.providers.http.httpclient.imp l.execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://deluan.g ooglecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlec ode.com/74.125.23.82] failed: Connection timed out: connect @ line 56, column 16
[ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is m issing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxrs: jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxb-p rovider:jar is missing. @ line 132, column 15 [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan.goog lecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode .com/74.125.204.82] failed: Connection timed out: connect @ line 94, column 16 [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spec:jb oss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode.com /svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/74.12 5.204.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee-6.0 -with-hibernate:[unknown-version], C:\Users\Administrator.m2\repository\org\jbo ss\bom\jboss-javaee-6.0-with-hibernate\1.0.4.Final\jboss-javaee-6.0-with-hiberna te-1.0.4.Final.pom, line 43, column 25 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb -api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 69, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 109, column 15 [WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:j ar should not point at files within the project directory, ${basedir}/lib/jasper reports-3.0.0.jar will be unresolvable by dependent projects @ line 374, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:t inyos-java:jar should not point at files within the project directory, ${basedir }/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 381, colu mn 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:n et.tinyos:jar should not point at files within the project directory, ${basedir} /lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ lin e 394, column 16 [WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:j ar should not point at files within the project directory, ${basedir}/lib/jtwitt er.jar will be unresolvable by dependent projects @ line 405, column 16 [WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout :jar should not point at files within the project directory, ${basedir}/lib/myla r-layout.jar will be unresolvable by dependent projects @ line 412, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 104, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa s cached in the local repository, resolution will not be reattempted until the u pdate interval of central has elapsed or updates are forced. Original error: Cou ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4. Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time d out: connect @ line 112, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 108, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa s cached in the local repository, resolution will not be reattempted until the u pdate interval of central has elapsed or updates are forced. Original error: Cou ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4. Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time d out: connect @ line 116, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 91, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 123, column 15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.eclipse.persistence:org.eclipse.persistence.moxy:jar -> duplicate d eclaration of version 2.5.1 @ line 164, column 15 @ [ERROR] The build could not read 6 projects -> [Help 1] [ERROR] [ERROR] The project org.openiot:security.client:0.0.1-SNAPSHOT (F:\openiot\mod ules\security\security-client\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://delu an.googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.goo glecode.com/74.125.23.82] failed: Connection timed out: connect @ line 56, colum n 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is missing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xrs:jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xb-provider:jar is missing. @ line 132, column 15 [ERROR] [ERROR] The project org.openiot:security.management:0.0.1 (F:\openiot\modules\ security\security-management\pom.xml) has 3 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan. googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.google code.com/74.125.204.82] failed: Connection timed out: connect @ line 94, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spe c:jboss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode .com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/7 4.125.204.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee -6.0-with-hibernate:[unknown-version], C:\Users\Administrator.m2\repository\org \jboss\bom\jboss-javaee-6.0-with-hibernate\1.0.4.Final\jboss-javaee-6.0-with-hib ernate-1.0.4.Final.pom, line 43, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss -ejb-api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] [ERROR] The project org.openiot:lsm-light.server:0.0.1-SNAPSHOT (F:\openiot\mo dules\lsm-light\lsm-light.server\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 69, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 109, column 15 [ERROR] [ERROR] The project org.openiot:sdum.core:0.0.1 (F:\openiot\modules\sdum\sdum. core\pom.xml) has 5 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 104, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven 2 was cached in the local repository, resolution will not be reattempted until t he update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1. 0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 112, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] [ERROR] The project org.openiot:scheduler.core:0.0.1 (F:\openiot\modules\sched uler\scheduler.core\pom.xml) has 5 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 108, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven 2 was cached in the local repository, resolution will not be reattempted until t he update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1. 0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 116, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] [ERROR] The project org.openiot:ide.core:0.0.1 (F:\openiot\ui\ide\ide.core\pom .xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 91, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 123, column 15 [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/UnresolvableMo delException
F:\openiot>
Can you provide more details about your environment esp. network? Are you behind a uni network that blocks connection to maven site? Your issue is connectivity problem not openiot issue. Could you please try a different network?
-------- Original message --------From: Annmeng notifications@github.com Date: 20/05/2016 12:14 AM (GMT+10:00) To: OpenIotOrg/openiot openiot@noreply.github.com Cc: Prem Jayaraman prem.jayaraman@gmail.com, Comment comment@noreply.github.com Subject: Re: [OpenIotOrg/openiot] error in running mvn clean install (#122) run mvn compile also have the same mistakes,i use a fresh install,WIn7
F:\openiot>mvn compile
[INFO] Scanning for projects...
Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae
e-6.0-with-resteasy/1.0.4.Final/jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom
Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0
-with-resteasy/1.0.4.Final/jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom
Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae
e-6.0-with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom
Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0
-with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom
Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/spec/jboss-java
ee-6.0/3.0.2.Final/jboss-javaee-6.0-3.0.2.Final.pom
Downloading: https://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.
0/3.0.2.Final/jboss-javaee-6.0-3.0.2.Final.pom
五月 19, 2016 10:08:36 下午 org.apache.maven.wagon.providers.http.httpclient.imp
l.execchain.RetryExec execute
信息: I/O exception (java.net.SocketException) caught when processing request to
{s}->https://repo.maven.apache.org:443: Software caused connection abort: recv
failed
五月 19, 2016 10:08:36 下午 org.apache.maven.wagon.providers.http.httpclient.imp
l.execchain.RetryExec execute
信息: Retrying request to {s}->https://repo.maven.apache.org:443
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo
ss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://deluan.g
ooglecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlec
ode.com/74.125.23.82] failed: Connection timed out: connect @ line 56, column 16
[ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is m
issing. @ line 103, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxrs:
jar is missing. @ line 128, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxb-p
rovider:jar is missing. @ line 132, column 15
[ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo
ss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan.goog
lecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode
.com/74.125.204.82] failed: Connection timed out: connect @ line 94, column 16
[ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spec:jb
oss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode.com
/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/74.12
5.204.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee-6.0
-with-hibernate:[unknown-version], C:\Users\Administrator.m2\repository\org\jbo
ss\bom\jboss-javaee-6.0-with-hibernate\1.0.4.Final\jboss-javaee-6.0-with-hiberna
te-1.0.4.Final.pom, line 43, column 25
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb
-api_3.1_spec:jar is missing. @ line 134, column 15
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae
e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c
ached in the local repository, resolution will not be reattempted until the upda
te interval of central has elapsed or updates are forced. Original error: Could
not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final
from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap
ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out:
connect @ line 69, column 16
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi
ssing. @ line 91, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb
oss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j
sf-api_2.1_spec:jar is missing. @ line 109, column 15
[WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:j
ar should not point at files within the project directory, ${basedir}/lib/jasper
reports-3.0.0.jar will be unresolvable by dependent projects @ line 374, column
16
[WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:t
inyos-java:jar should not point at files within the project directory, ${basedir
}/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 381, colu
mn 16
[WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:n
et.tinyos:jar should not point at files within the project directory, ${basedir}
/lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ lin
e 394, column 16
[WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:j
ar should not point at files within the project directory, ${basedir}/lib/jtwitt
er.jar will be unresolvable by dependent projects @ line 405, column 16
[WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout
:jar should not point at files within the project directory, ${basedir}/lib/myla
r-layout.jar will be unresolvable by dependent projects @ line 412, column 16
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae
e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c
ached in the local repository, resolution will not be reattempted until the upda
te interval of central has elapsed or updates are forced. Original error: Could
not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final
from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap
ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out:
connect @ line 104, column 16
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae
e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa
s cached in the local repository, resolution will not be reattempted until the u
pdate interval of central has elapsed or updates are forced. Original error: Cou
ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4.
Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma
ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time
d out: connect @ line 112, column 16
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi
ssing. @ line 133, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb
oss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j
sf-api_2.1_spec:jar is missing. @ line 151, column 15
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae
e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c
ached in the local repository, resolution will not be reattempted until the upda
te interval of central has elapsed or updates are forced. Original error: Could
not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final
from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap
ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out:
connect @ line 108, column 16
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae
e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa
s cached in the local repository, resolution will not be reattempted until the u
pdate interval of central has elapsed or updates are forced. Original error: Cou
ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4.
Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma
ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time
d out: connect @ line 116, column 16
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi
ssing. @ line 138, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb
oss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j
sf-api_2.1_spec:jar is missing. @ line 156, column 15
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae
e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c
ached in the local repository, resolution will not be reattempted until the upda
te interval of central has elapsed or updates are forced. Original error: Could
not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final
from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap
ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out:
connect @ line 91, column 16
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi
ssing. @ line 108, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb
oss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j
sf-api_2.1_spec:jar is missing. @ line 123, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be
unique: org.eclipse.persistence:org.eclipse.persistence.moxy:jar -> duplicate d
eclaration of version 2.5.1 @ line 164, column 15
@
[ERROR] The build could not read 6 projects -> [Help 1]
[ERROR]
[ERROR] The project org.openiot:security.client:0.0.1-SNAPSHOT (F:\openiot\mod
ules\security\security-client\pom.xml) has 4 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom
:jboss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://delu
an.googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.goo
glecode.com/74.125.23.82] failed: Connection timed out: connect @ line 56, colum
n 16 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar
is missing. @ line 103, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja
xrs:jar is missing. @ line 128, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja
xb-provider:jar is missing. @ line 132, column 15
[ERROR]
[ERROR] The project org.openiot:security.management:0.0.1 (F:\openiot\modules\
security\security-management\pom.xml) has 3 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom
:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan.
googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.google
code.com/74.125.204.82] failed: Connection timed out: connect @ line 94, column
16 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spe
c:jboss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode
.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/7
4.125.204.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee
-6.0-with-hibernate:[unknown-version], C:\Users\Administrator.m2\repository\org
\jboss\bom\jboss-javaee-6.0-with-hibernate\1.0.4.Final\jboss-javaee-6.0-with-hib
ernate-1.0.4.Final.pom, line 43, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss
-ejb-api_3.1_spec:jar is missing. @ line 134, column 15
[ERROR]
[ERROR] The project org.openiot:lsm-light.server:0.0.1-SNAPSHOT (F:\openiot\mo
dules\lsm-light\lsm-light.server\pom.xml) has 4 errors
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j
avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w
as cached in the local repository, resolution will not be reattempted until the
update interval of central has elapsed or updates are forced. Original error: Co
uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi
nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave
n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed
out: connect @ line 69, column 16 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i
s missing. @ line 91, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio
n:jboss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo
ss-jsf-api_2.1_spec:jar is missing. @ line 109, column 15
[ERROR]
[ERROR] The project org.openiot:sdum.core:0.0.1 (F:\openiot\modules\sdum\sdum.
core\pom.xml) has 5 errors
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j
avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w
as cached in the local repository, resolution will not be reattempted until the
update interval of central has elapsed or updates are forced. Original error: Co
uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi
nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave
n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed
out: connect @ line 104, column 16 -> [Help 2]
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j
avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven
2 was cached in the local repository, resolution will not be reattempted until t
he update interval of central has elapsed or updates are forced. Original error:
Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.
0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep
o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection
timed out: connect @ line 112, column 16 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i
s missing. @ line 133, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio
n:jboss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo
ss-jsf-api_2.1_spec:jar is missing. @ line 151, column 15
[ERROR]
[ERROR] The project org.openiot:scheduler.core:0.0.1 (F:\openiot\modules\sched
uler\scheduler.core\pom.xml) has 5 errors
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j
avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w
as cached in the local repository, resolution will not be reattempted until the
update interval of central has elapsed or updates are forced. Original error: Co
uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi
nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave
n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed
out: connect @ line 108, column 16 -> [Help 2]
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j
avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven
2 was cached in the local repository, resolution will not be reattempted until t
he update interval of central has elapsed or updates are forced. Original error:
Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.
0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep
o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection
timed out: connect @ line 116, column 16 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i
s missing. @ line 138, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio
n:jboss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo
ss-jsf-api_2.1_spec:jar is missing. @ line 156, column 15
[ERROR]
[ERROR] The project org.openiot:ide.core:0.0.1 (F:\openiot\ui\ide\ide.core\pom
.xml) has 4 errors
[ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j
avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w
as cached in the local repository, resolution will not be reattempted until the
update interval of central has elapsed or updates are forced. Original error: Co
uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi
nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave
n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed
out: connect @ line 91, column 16 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i
s missing. @ line 108, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio
n:jboss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo
ss-jsf-api_2.1_spec:jar is missing. @ line 123, column 15
[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/UnresolvableMo
delException
F:\openiot>
— You are receiving this because you commented. Reply to this email directly or view it on GitHub
I am in a Chinese university.And using Chinese common network not campus network.Why it presents "Some problems were encountered while processing the POM",it related to POM?Which kind of network can run this?
The main problem is that some dependencies failed to download:
I/O exception (java.net.SocketException) caught when processing request to
{s}->https://repo.maven.apache.org:443: Software caused connection abort: recv
failed
Maven then remembers that it failed and does not directly try again. To force maven to retry the download use the -U option:
mvn -U install
You should use install, not just compile or package, since parts of openIoT depend on other parts, and the install command is what makes parts available to other parts.
I run command mvn -U install,it still gets a error... [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxb-p rovider:jar is missing. @ line 132, column 15 [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan.goog lecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode .com/64.233.189.82] failed: Connection timed out: connect @ line 94, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.spec:jboss-java ee-6.0:pom:3.0.2.Final from http://deluan.googlecode.com/svn/releases was cached in the local repository, resolution will not be reattempted until the update in terval of deluan.repo has elapsed or updates are forced. Original error: Could n ot transfer artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final from/to del uan.repo (http://deluan.googlecode.com/svn/releases): Connect to deluan.googleco de.com:80 [deluan.googlecode.com/64.233.188.82] failed: Connection timed out: co nnect @ org.jboss.bom:jboss-javaee-6.0-with-hibernate:[unknown-version], C:\User s\Administrator.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-hibernate\1.0 .4.Final\jboss-javaee-6.0-with-hibernate-1.0.4.Final.pom, line 43, column 25 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb -api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 69, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 109, column 15 [WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:j ar should not point at files within the project directory, ${basedir}/lib/jasper reports-3.0.0.jar will be unresolvable by dependent projects @ line 374, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:t inyos-java:jar should not point at files within the project directory, ${basedir }/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 381, colu mn 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:n et.tinyos:jar should not point at files within the project directory, ${basedir} /lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ lin e 394, column 16 [WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:j ar should not point at files within the project directory, ${basedir}/lib/jtwitt er.jar will be unresolvable by dependent projects @ line 405, column 16 [WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout :jar should not point at files within the project directory, ${basedir}/lib/myla r-layout.jar will be unresolvable by dependent projects @ line 412, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 104, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.spec:jboss-java ee-6.0:pom:3.0.2.Final from https://repo.maven.apache.org/maven2 was cached in t he local repository, resolution will not be reattempted until the update interva l of central has elapsed or updates are forced. Original error: Could not transf er artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final from/to central (htt ps://repo.maven.apache.org/maven2): Software caused connection abort: recv faile d @ org.jboss.bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users\Adm inistrator.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Fin al\jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom, line 41, column 25 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.resteasy:restea sy-bom:pom:2.3.5.Final from https://repo.maven.apache.org/maven2 was cached in t he local repository, resolution will not be reattempted until the update interva l of central has elapsed or updates are forced. Original error: Could not transf er artifact org.jboss.resteasy:resteasy-bom:pom:2.3.5.Final from/to central (htt ps://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.m aven.apache.org/23.235.47.215] failed: Connection timed out: connect @ org.jboss .bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users\Administrator.m 2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss-java ee-6.0-with-resteasy-1.0.4.Final.pom, line 50, column 25 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 108, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.spec:jboss-java ee-6.0:pom:3.0.2.Final from https://repo.maven.apache.org/maven2 was cached in t he local repository, resolution will not be reattempted until the update interva l of central has elapsed or updates are forced. Original error: Could not transf er artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final from/to central (htt ps://repo.maven.apache.org/maven2): Software caused connection abort: recv faile d @ org.jboss.bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users\Adm inistrator.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Fin al\jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom, line 41, column 25 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.resteasy:restea sy-bom:pom:2.3.5.Final from https://repo.maven.apache.org/maven2 was cached in t he local repository, resolution will not be reattempted until the update interva l of central has elapsed or updates are forced. Original error: Could not transf er artifact org.jboss.resteasy:resteasy-bom:pom:2.3.5.Final from/to central (htt ps://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.m aven.apache.org/23.235.47.215] failed: Connection timed out: connect @ org.jboss .bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users\Administrator.m 2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss-java ee-6.0-with-resteasy-1.0.4.Final.pom, line 50, column 25 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 91, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 123, column 15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.eclipse.persistence:org.eclipse.persistence.moxy:jar -> duplicate d eclaration of version 2.5.1 @ line 164, column 15 @ [ERROR] The build could not read 6 projects -> [Help 1] [ERROR] [ERROR] The project org.openiot:security.client:0.0.1-SNAPSHOT (F:\openiot\ope niot-develop\modules\security\security-client\pom.xml) has 5 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spe c:jboss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode .com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/6 4.233.188.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee -6.0-with-resteasy:[unknown-version], C:\Users\Administrator.m2\repository\org\ jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss-javaee-6.0-with-reste asy-1.0.4.Final.pom, line 41, column 25 -> [Help 2] [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.res teasy:resteasy-bom:pom:2.3.5.Final from/to deluan.repo (http://deluan.googlecode .com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/6 4.233.189.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee -6.0-with-resteasy:[unknown-version], C:\Users\Administrator.m2\repository\org\ jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss-javaee-6.0-with-reste asy-1.0.4.Final.pom, line 50, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is missing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xrs:jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xb-provider:jar is missing. @ line 132, column 15 [ERROR] [ERROR] The project org.openiot:security.management:0.0.1 (F:\openiot\openiot- develop\modules\security\security-management\pom.xml) has 3 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan. googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.google code.com/64.233.189.82] failed: Connection timed out: connect @ line 94, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.spec:jboss- javaee-6.0:pom:3.0.2.Final from http://deluan.googlecode.com/svn/releases was ca ched in the local repository, resolution will not be reattempted until the updat e interval of deluan.repo has elapsed or updates are forced. Original error: Cou ld not transfer artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode.com/svn/releases): Connect to deluan.goog lecode.com:80 [deluan.googlecode.com/64.233.188.82] failed: Connection timed out : connect @ org.jboss.bom:jboss-javaee-6.0-with-hibernate:[unknown-version], C:\ Users\Administrator.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-hibernate \1.0.4.Final\jboss-javaee-6.0-with-hibernate-1.0.4.Final.pom, line 43, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss -ejb-api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] [ERROR] The project org.openiot:lsm-light.server:0.0.1-SNAPSHOT (F:\openiot\op eniot-develop\modules\lsm-light\lsm-light.server\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 69, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 109, column 15 [ERROR] [ERROR] The project org.openiot:sdum.core:0.0.1 (F:\openiot\openiot-develop\mo dules\sdum\sdum.core\pom.xml) has 6 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 104, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.spec:jboss- javaee-6.0:pom:3.0.2.Final from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update int erval of central has elapsed or updates are forced. Original error: Could not tr ansfer artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final from/to central (https://repo.maven.apache.org/maven2): Software caused connection abort: recv f ailed @ org.jboss.bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users \Administrator.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4 .Final\jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom, line 41, column 25 -> [He lp 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.resteasy:re steasy-bom:pom:2.3.5.Final from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update int erval of central has elapsed or updates are forced. Original error: Could not tr ansfer artifact org.jboss.resteasy:resteasy-bom:pom:2.3.5.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [re po.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ org.j boss.bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users\Administrato r.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss- javaee-6.0-with-resteasy-1.0.4.Final.pom, line 50, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] [ERROR] The project org.openiot:scheduler.core:0.0.1 (F:\openiot\openiot-devel op\modules\scheduler\scheduler.core\pom.xml) has 6 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 108, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.spec:jboss- javaee-6.0:pom:3.0.2.Final from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update int erval of central has elapsed or updates are forced. Original error: Could not tr ansfer artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final from/to central (https://repo.maven.apache.org/maven2): Software caused connection abort: recv f ailed @ org.jboss.bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users \Administrator.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4 .Final\jboss-javaee-6.0-with-resteasy-1.0.4.Final.pom, line 41, column 25 -> [He lp 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.resteasy:re steasy-bom:pom:2.3.5.Final from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update int erval of central has elapsed or updates are forced. Original error: Could not tr ansfer artifact org.jboss.resteasy:resteasy-bom:pom:2.3.5.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [re po.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ org.j boss.bom:jboss-javaee-6.0-with-resteasy:[unknown-version], C:\Users\Administrato r.m2\repository\org\jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss- javaee-6.0-with-resteasy-1.0.4.Final.pom, line 50, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] [ERROR] The project org.openiot:ide.core:0.0.1 (F:\openiot\openiot-develop\ui\ ide\ide.core\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 91, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 123, column 15 [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/UnresolvableMo delException
Use the develop branch. the following modules are libraries that are dependencies from other modules and needs to be installed (mvn install)
<module>utils/utils.commons</module>
<module>modules/security/security-client</module>
<module>modules/lsm-light/lsm-light.client</module>
<module>ui/ui.requestCommons</module>
the following are standalone components that needs to be paccaged (mvn package) and deployed
<module>modules/security/security-server</module>
<module>modules/security/security-management</module>
<module>modules/lsm-light/lsm-light.server</module>
<module>modules/x-gsn</module>
<module>modules/sdum/sdum.core</module>
<module>modules/sdum/sdum.client</module>
<module>modules/scheduler/scheduler.core</module>
<module>modules/scheduler/scheduler.client</module>
<module>ui/ide/ide.core</module>
<module>ui/ui.requestDefinition</module>
<module>ui/ui.requestPresentation</module>
<module>ui/ui.schemaeditor</module>
more details regarding the one by one build and deploy here
I have just tested the develop branch and it was working (exept the x-gsn project that may need further investigation)
You are probably having an program instalattion or network issue. Try disabling your firewall. Adittionally you can try deletting your local Maven repository (USER_HOME.m2\repository) so as to be created from scratch. The projects are using java 1.7
I try building each module one by one,but i run mvn install under utils.commons,it still have an error
F:\openiot\openiot-develop\utils\utils.commons>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Common files 0.0.1 [INFO] ------------------------------------------------------------------------ Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven -resources-plugin/2.6/maven-resources-plugin-2.6.pom 五月 20, 2016 1:01:19 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 20, 2016 1:01:19 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:49 min [INFO] Finished at: 2016-05-20T01:01:41+08:00 [INFO] Final Memory: 9M/246M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org. apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https: //repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.mave n.apache.org/23.235.47.215] failed: Connection timed out: connect -> [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/PluginResoluti onException
F:\openiot\openiot-develop\utils\utils.commons>mvn -U install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Common files 0.0.1 [INFO] ------------------------------------------------------------------------ Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven -resources-plugin/2.6/maven-resources-plugin-2.6.pom 五月 20, 2016 1:11:30 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 20, 2016 1:11:30 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:29 min [INFO] Finished at: 2016-05-20T01:11:51+08:00 [INFO] Final Memory: 11M/310M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org. apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https: //repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.mave n.apache.org/23.235.47.215] failed: Connection timed out: connect -> [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/PluginResoluti onException When I run mvn install under security-client,it get an error
F:\openiot\openiot-develop\modules\security\security-client>mvn install [INFO] Scanning for projects... Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/spec/jboss-java ee-6.0/3.0.2.Final/jboss-javaee-6.0-3.0.2.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6. 0/3.0.2.Final/jboss-javaee-6.0-3.0.2.Final.pom Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/resteasy/restea sy-bom/2.3.5.Final/resteasy-bom-2.3.5.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-bo m/2.3.5.Final/resteasy-bom-2.3.5.Final.pom 五月 20, 2016 1:24:08 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 20, 2016 1:24:08 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 20, 2016 1:25:23 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 20, 2016 1:25:23 上午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 Downloaded: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-bom /2.3.5.Final/resteasy-bom-2.3.5.Final.pom (5 KB at 0.0 KB/sec) Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/resteasy/restea sy-jaxrs-all/2.3.5.Final/resteasy-jaxrs-all-2.3.5.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-ja xrs-all/2.3.5.Final/resteasy-jaxrs-all-2.3.5.Final.pom Downloaded: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-jax rs-all/2.3.5.Final/resteasy-jaxrs-all-2.3.5.Final.pom (18 KB at 5.8 KB/sec) [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spec:jb oss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode.com /svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/74.12 5.203.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee-6.0 -with-resteasy:[unknown-version], C:\Users\Administrator.m2\repository\org\jbos s\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss-javaee-6.0-with-resteasy- 1.0.4.Final.pom, line 41, column 25 [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is m issing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxrs: jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxb-p rovider:jar is missing. @ line 132, column 15 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.openiot:security.client:0.0.1-SNAPSHOT (F:\openiot\ope niot-develop\modules\security\security-client\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spe c:jboss-javaee-6.0:pom:3.0.2.Final from/to deluan.repo (http://deluan.googlecode .com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/7 4.125.203.82] failed: Connection timed out: connect @ org.jboss.bom:jboss-javaee -6.0-with-resteasy:[unknown-version], C:\Users\Administrator.m2\repository\org\ jboss\bom\jboss-javaee-6.0-with-resteasy\1.0.4.Final\jboss-javaee-6.0-with-reste asy-1.0.4.Final.pom, line 41, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is missing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xrs:jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xb-provider:jar is missing. @ line 132, column 15 [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/UnresolvableMo delException
F:\openiot\openiot-develop\modules\security\security-client>
The messages states that you have a network issue. Have you tryed to build any other Maven projects with your set up?
I solved that problem just now!!!It is really a network issue.Because Chinese users aren't allowed to visit foreign websites,I download Nexus so as to maven download jar from Nexus.But I still get an other error. Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/reporting/mave n-reporting-api/2.0.6/maven-reporting-api-2.0.6.pom (2 KB at 2.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/reporting/mav en-reporting/2.0.6/maven-reporting-2.0.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/reporting/mave n-reporting/2.0.6/maven-reporting-2.0.6.pom (2 KB at 0.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-s ink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-si nk-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom (424 B at 0.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia/1 .0-alpha-7/doxia-1.0-alpha-7.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia/1. 0-alpha-7/doxia-1.0-alpha-7.pom (4 KB at 2.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-d iagnostics/2.0.6/maven-error-diagnostics-2.0.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-di agnostics/2.0.6/maven-error-diagnostics-2.0.6.pom (2 KB at 3.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.0/co mmons-cli-1.0.pom Downloaded: https://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.0/com mons-cli-1.0.pom (3 KB at 3.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- descriptor/2.0.6/maven-plugin-descriptor-2.0.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-d escriptor/2.0.6/maven-plugin-descriptor-2.0.6.pom (2 KB at 2.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int eractivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte ractivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom (7 KB at 0.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor /2.0.6/maven-monitor-2.0.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor/ 2.0.6/maven-monitor-2.0.6.pom (2 KB at 0.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/cl assworlds-1.1.pom Downloaded: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/cla ssworlds-1.1.pom (4 KB at 1.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/2.0.5/plexus-utils-2.0.5.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/2.0.5/plexus-utils-2.0.5.pom (4 KB at 2.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0 .6/plexus-2.0.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0. 6/plexus-2.0.6.pom (17 KB at 3.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven- filtering/1.1/maven-filtering-1.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-f iltering/1.1/maven-filtering-1.1.pom (6 KB at 5.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven- shared-components/17/maven-shared-components-17.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-s hared-components/17/maven-shared-components-17.pom (9 KB at 4.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/1.5.15/plexus-utils-1.5.15.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/1.5.15/plexus-utils-1.5.15.pom (7 KB at 3.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0 .2/plexus-2.0.2.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0. 2/plexus-2.0.2.pom (12 KB at 7.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int erpolation/1.12/plexus-interpolation-1.12.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte rpolation/1.12/plexus-interpolation-1.12.pom (889 B at 2.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com ponents/1.1.14/plexus-components-1.1.14.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp onents/1.1.14/plexus-components-1.1.14.pom (6 KB at 6.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-bui ld-api/0.0.4/plexus-build-api-0.0.4.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-buil d-api/0.0.4/plexus-build-api-0.0.4.pom (3 KB at 4.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/spice/spice-paren t/10/spice-parent-10.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/spice/spice-parent /10/spice-parent-10.pom (3 KB at 1.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/forge/forge-paren t/3/forge-parent-3.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/forge/forge-parent /3/forge-parent-3.pom (5 KB at 3.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/1.5.8/plexus-utils-1.5.8.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/1.5.8/plexus-utils-1.5.8.pom (8 KB at 3.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int erpolation/1.13/plexus-interpolation-1.13.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte rpolation/1.13/plexus-interpolation-1.13.pom (890 B at 1.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com ponents/1.1.15/plexus-components-1.1.15.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp onents/1.1.15/plexus-components-1.1.15.pom (3 KB at 2.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0 .3/plexus-2.0.3.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0. 3/plexus-2.0.3.pom (16 KB at 7.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- api/2.0.6/maven-plugin-api-2.0.6.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifac t-manager/2.0.6/maven-artifact-manager-2.0.6.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile /2.0.6/maven-profile-2.0.6.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project /2.0.6/maven-project-2.0.6.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- registry/2.0.6/maven-plugin-registry-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-a pi/2.0.6/maven-plugin-api-2.0.6.jar (13 KB at 6.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/2. 0.6/maven-core-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-r egistry/2.0.6/maven-plugin-registry-2.0.6.jar (29 KB at 12.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- parameter-documenter/2.0.6/maven-plugin-parameter-documenter-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-p arameter-documenter/2.0.6/maven-plugin-parameter-documenter-2.0.6.jar (21 KB at 6.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/reporting/mav en-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/ 2.0.6/maven-profile-2.0.6.jar (35 KB at 10.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-s ink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/reporting/mave n-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar (10 KB at 2.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-reposit ory-metadata/2.0.6/maven-repository-metadata-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-si nk-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar (6 KB at 1.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-d iagnostics/2.0.6/maven-error-diagnostics-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-reposito ry-metadata/2.0.6/maven-repository-metadata-2.0.6.jar (24 KB at 4.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.0/co mmons-cli-1.0.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-di agnostics/2.0.6/maven-error-diagnostics-2.0.6.jar (14 KB at 1.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- descriptor/2.0.6/maven-plugin-descriptor-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact -manager/2.0.6/maven-artifact-manager-2.0.6.jar (56 KB at 7.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int eractivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar Downloaded: https://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.0/com mons-cli-1.0.jar (30 KB at 3.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/cl assworlds-1.1.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte ractivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar (14 KB at 1.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifac t/2.0.6/maven-artifact-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/cla ssworlds-1.1.jar (37 KB at 3.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-setting s/2.0.6/maven-settings-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/ 2.0.6/maven-project-2.0.6.jar (114 KB at 10.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2 .0.6/maven-model-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-d escriptor/2.0.6/maven-plugin-descriptor-2.0.6.jar (37 KB at 3.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor /2.0.6/maven-monitor-2.0.6.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor/ 2.0.6/maven-monitor-2.0.6.jar (11 KB at 0.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-con tainer-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable- 1.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings /2.0.6/maven-settings-2.0.6.jar (48 KB at 3.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1. jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/2.0 .6/maven-core-2.0.6.jar (149 KB at 10.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/2.0.5/plexus-utils-2.0.5.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2. 0.6/maven-model-2.0.6.jar (85 KB at 4.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven- filtering/1.1/maven-filtering-1.1.jar Downloaded: https://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.j ar (119 KB at 5.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-bui ld-api/0.0.4/plexus-build-api-0.0.4.jar Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-buil d-api/0.0.4/plexus-build-api-0.0.4.jar (7 KB at 0.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int erpolation/1.13/plexus-interpolation-1.13.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact /2.0.6/maven-artifact-2.0.6.jar (86 KB at 3.4 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte rpolation/1.13/plexus-interpolation-1.13.jar (60 KB at 2.1 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-f iltering/1.1/maven-filtering-1.1.jar (43 KB at 1.4 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-cont ainer-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1 .jar (190 KB at 5.5 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/2.0.5/plexus-utils-2.0.5.jar (218 KB at 5.4 KB/sec) [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 22 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ utils.commons
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolcha in/1.0/maven-toolchain-1.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchai n/1.0/maven-toolchain-1.0.pom (4 KB at 1.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-api/1.8.1/plexus-compiler-api-1.8.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-api/1.8.1/plexus-compiler-api-1.8.1.pom (805 B at 1.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler/1.8.1/plexus-compiler-1.8.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler/1.8.1/plexus-compiler-1.8.1.pom (4 KB at 2.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com ponents/1.1.18/plexus-components-1.1.18.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp onents/1.1.18/plexus-components-1.1.18.pom (6 KB at 2.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0 .7/plexus-2.0.7.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0. 7/plexus-2.0.7.pom (17 KB at 13.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/1.5.5/plexus-utils-1.5.5.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/1.5.5/plexus-utils-1.5.5.pom (6 KB at 7.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-manager/1.8.1/plexus-compiler-manager-1.8.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-manager/1.8.1/plexus-compiler-manager-1.8.1.pom (713 B at 1.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-javac/1.8.1/plexus-compiler-javac-1.8.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-javac/1.8.1/plexus-compiler-javac-1.8.1.pom (710 B at 0.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com pilers/1.8.1/plexus-compilers-1.8.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp ilers/1.8.1/plexus-compilers-1.8.1.pom (2 KB at 2.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolcha in/1.0/maven-toolchain-1.0.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-javac/1.8.1/plexus-compiler-javac-1.8.1.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-api/1.8.1/plexus-compiler-api-1.8.1.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-manager/1.8.1/plexus-compiler-manager-1.8.1.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-manager/1.8.1/plexus-compiler-manager-1.8.1.jar (6 KB at 3.1 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-javac/1.8.1/plexus-compiler-javac-1.8.1.jar (13 KB at 6.5 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-api/1.8.1/plexus-compiler-api-1.8.1.jar (20 KB at 8.6 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchai n/1.0/maven-toolchain-1.0.jar (33 KB at 8.1 KB/sec) [INFO] Compiling 55 source files to F:\openiot\openiot-develop\utils\utils.commo ns\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Unable to locate the Javac Compiler in: D:\jre..\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:13 min [INFO] Finished at: 2016-05-20T19:41:39+08:00 [INFO] Final Memory: 9M/246M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project utils.commons: Compilation failure [ERROR] Unable to locate the Javac Compiler in: [ERROR] D:\jre..\lib\tools.jar [ERROR] Please ensure you are using JDK 1.4 or above and [ERROR] not a JRE (the com.sun.tools.javac.Main class is required). [ERROR] In most cases you can change the location of your Java [ERROR] installation by setting the JAVA_HOME environment variable. [ERROR] -> [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/MojoFailureExc eption
But i download jdk 1.7 from Installation Guide
hello guys. i don't think that's a network issue, i think that the problem reside in the http://deluan.googlecode.com:80 host... i get the same error from my home network and from my university network ( in Lebanon)... can not reach this host, specially: Downloading: http://deluan.googlecode.com/svn/snapshots/org/apache/shiro/shiro-faces/2.0-SNAPSHOT/maven-metadata.xml
Notting that i tried to install OpenIoT 2 times. In the first, installation was succeeded, but I had to format my laptop, so in the second time i get this error!!!!!!!!!!!!!!!!!!!!!
I have to finish my master project, so no longer time for me... any idea to help ???
I add tool.jar in JDK and solve thar error.
Could you provide more details about this error and the module when this occurs? Can you try to comment this in the pom file once you k ow the module causing the error. -------- Original message --------From: 9Khaled9 notifications@github.com Date: 20/05/2016 10:10 PM (GMT+10:00) To: OpenIotOrg/openiot openiot@noreply.github.com Cc: Prem Jayaraman prem.jayaraman@gmail.com, Comment comment@noreply.github.com Subject: Re: [OpenIotOrg/openiot] error in running mvn clean install (#122) hello guys. i don't think that's a network issue, i think that the problem reside in the
http://deluan.googlecode.com:80 host...
i get the same error from my home network and from my university network ( in Lebanon)...
can not reach this host, specially:
Downloading: http://deluan.googlecode.com/svn/snapshots/org/apache/shiro/shiro-faces/2.0-SNAPSHOT/maven-metadata.xml
Notting that i tried to install OpenIoT 2 times. In the first, installation was succeeded, but I had to format my laptop, so in the second time i get this error!!!!!!!!!!!!!!!!!!!!!
— You are receiving this because you commented. Reply to this email directly or view it on GitHub
I have to finish my final paper too.The network issue in my mean is that our network all can't visit foreign websites ,so i download local jar warehouse,Nexus.Now it can down those jar ,so I can't know what real problem you g0t.
Do you run mvn install one by one?I download those jar,but it always seized up in process .I haven't complete install.....
F:\openiot\openiot-develop\utils\utils.commons>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Common files 0.0.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ utils.comm ons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 22 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ utils.commons
[INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ut ils.commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\openiot\openiot-develop\utils\util s.commons\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ utils .commons --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ utils.commons --- Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/mave n-surefire-common/2.12.4/maven-surefire-common-2.12.4.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/3.0.8/plexus-utils-3.0.8.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven -surefire-common/2.12.4/maven-surefire-common-2.12.4.jar (257 KB at 7.2 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/3.0.8/plexus-utils-3.0.8.jar (227 KB at 3.1 KB/sec) [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ utils.commons --- Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-archive r/2.5/maven-archiver-2.5.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver /2.5/maven-archiver-2.5.pom (5 KB at 0.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-arc hiver/2.1/plexus-archiver-2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-arch iver/2.1/plexus-archiver-2.1.pom (3 KB at 0.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/3.0/plexus-utils-3.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/3.0/plexus-utils-3.0.pom (4 KB at 1.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/spice/spice-paren t/16/spice-parent-16.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/spice/spice-parent /16/spice-parent-16.pom (9 KB at 1.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/forge/forge-paren t/5/forge-parent-5.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/forge/forge-parent /5/forge-parent-5.pom (9 KB at 1.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/ 2.0.2/plexus-io-2.0.2.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2 .0.2/plexus-io-2.0.2.pom (2 KB at 0.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com ponents/1.1.19/plexus-components-1.1.19.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp onents/1.1.19/plexus-components-1.1.19.pom (3 KB at 0.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.0 .1/plexus-3.0.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.0. 1/plexus-3.0.1.pom (19 KB at 2.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int erpolation/1.15/plexus-interpolation-1.15.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte rpolation/1.15/plexus-interpolation-1.15.pom (1018 B at 0.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/ commons-lang-2.1.pom Downloaded: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/c ommons-lang-2.1.pom (10 KB at 0.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int erpolation/1.15/plexus-interpolation-1.15.jar Downloading: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/ commons-lang-2.1.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-arc hiver/2.1/plexus-archiver-2.1.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-archive r/2.5/maven-archiver-2.5.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/ 2.0.2/plexus-io-2.0.2.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver /2.5/maven-archiver-2.5.jar (22 KB at 1.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/3.0/plexus-utils-3.0.jar Downloaded: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/c ommons-lang-2.1.jar (203 KB at 6.8 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2 .0.2/plexus-io-2.0.2.jar (57 KB at 1.0 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte rpolation/1.15/plexus-interpolation-1.15.jar (60 KB at 0.5 KB/sec)
it didn't go on...
It works so slowly...
F:\openiot\openiot-develop>mvn clean package [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.openiot.gsn:xgsn:jar:1.1.4 [WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:j ar should not point at files within the project directory, ${basedir}/lib/jasper reports-3.0.0.jar will be unresolvable by dependent projects @ line 374, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:t inyos-java:jar should not point at files within the project directory, ${basedir }/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 381, colu mn 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:n et.tinyos:jar should not point at files within the project directory, ${basedir} /lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ lin e 394, column 16 [WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:j ar should not point at files within the project directory, ${basedir}/lib/jtwitt er.jar will be unresolvable by dependent projects @ line 405, column 16 [WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout :jar should not point at files within the project directory, ${basedir}/lib/myla r-layout.jar will be unresolvable by dependent projects @ line 412, column 16 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.openiot:ui.requestPresentation:war:0.0.1 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.eclipse.persistence:org.eclipse.persistence.moxy:jar -> duplicate d eclaration of version 2.5.1 @ line 164, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] OpenIoT [INFO] OpenIoT Common files [INFO] OpenIoT Security Client [INFO] OpenIoT LSM-light Client [INFO] OpenIoT Security server [INFO] OpenIoT security management web app [INFO] OpenIoT LSM-light Server [INFO] xgsn [INFO] OpenIoT sdum.core [INFO] OpenIoT sdum.client [INFO] OpenIoT Scheduler Core [INFO] OpenIoT Scheduler Client [INFO] OpenIoT ide.core [INFO] OpenIoT request definition/presentation commons [INFO] OpenIoT request definition web app [INFO] OpenIoT request presentation web app [INFO] OpenIoT RDF Sensor Schema Editor [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT 0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openiot --- Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/3.0/plexus-utils-3.0.jar 32/221 KB
I build success!!! I modify the setting.xml in maven,so as to it can get jar from Nexus instead of Public Warehouse!! F:\openiot\openiot-develop\utils\utils.commons>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Common files 0.0.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ utils.comm ons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 22 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ utils.commons
[INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ut ils.commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\openiot\openiot-develop\utils\util s.commons\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ utils .commons --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ utils.commons --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ utils.commons --- Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-arc hiver/2.1/plexus-archiver-2.1.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/3.0/plexus-utils-3.0.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/3.0/plexus-utils-3.0.jar (221 KB at 8.8 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-arch iver/2.1/plexus-archiver-2.1.jar (181 KB at 4.3 KB/sec) [INFO] Building jar: F:\openiot\openiot-develop\utils\utils.commons\target\utils .commons.jar [INFO]
[INFO] Installing F:\openiot\openiot-develop\utils\utils.commons\target\utils.co mmons.jar to C:\Users\Administrator.m2\repository\org\openiot\utils.commons\0.0 .1\utils.commons-0.0.1.jar [INFO] Installing F:\openiot\openiot-develop\utils\utils.commons\pom.xml to C:\U sers\Administrator.m2\repository\org\openiot\utils.commons\0.0.1\utils.commons- 0.0.1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:04 min [INFO] Finished at: 2016-05-20T22:40:48+08:00 [INFO] Final Memory: 14M/246M [INFO] ------------------------------------------------------------------------
F:\openiot\openiot-develop\utils\utils.commons>
Why I run mvn install in security-client,it failed?
F:\openiot\openiot-develop\modules\security\security-client>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Security Client 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://deluan.googlecode.com/svn/releases/org/apache/shiro/shiro-fa ces/2.0-SNAPSHOT/maven-metadata.xml Downloading: http://deluan.googlecode.com/svn/snapshots/org/apache/shiro/shiro-f aces/2.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.shiro:shiro-faces:2.0-SNAPSHOT/ maven-metadata.xml from/to deluan.repo (http://deluan.googlecode.com/svn/release s): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/74.125.204.82] fa iled: Connection timed out: connect [WARNING] Could not transfer metadata org.apache.shiro:shiro-faces:2.0-SNAPSHOT/ maven-metadata.xml from/to deluan.snapshots (http://deluan.googlecode.com/svn/sn apshots): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/74.125.204. 82] failed: Connection timed out: connect [WARNING] Failure to transfer org.apache.shiro:shiro-faces:2.0-SNAPSHOT/maven-me tadata.xml from http://deluan.googlecode.com/svn/releases was cached in the loca l repository, resolution will not be reattempted until the update interval of de luan.repo has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.shiro:shiro-faces:2.0-SNAPSHOT/maven-metadata.xml from/to de luan.repo (http://deluan.googlecode.com/svn/releases): Connect to deluan.googlec ode.com:80 [deluan.googlecode.com/74.125.204.82] failed: Connection timed out: c onnect [WARNING] Failure to transfer org.apache.shiro:shiro-faces:2.0-SNAPSHOT/maven-me tadata.xml from http://deluan.googlecode.com/svn/snapshots was cached in the loc al repository, resolution will not be reattempted until the update interval of d eluan.snapshots has elapsed or updates are forced. Original error: Could not tra nsfer metadata org.apache.shiro:shiro-faces:2.0-SNAPSHOT/maven-metadata.xml from /to deluan.snapshots (http://deluan.googlecode.com/svn/snapshots): Connect to de luan.googlecode.com:80 [deluan.googlecode.com/74.125.204.82] failed: Connection timed out: connect Downloading: http://deluan.googlecode.com/svn/releases/org/apache/shiro/shiro-fa ces/2.0-SNAPSHOT/shiro-faces-2.0-SNAPSHOT.pom Downloading: http://deluan.googlecode.com/svn/snapshots/org/apache/shiro/shiro-f aces/2.0-SNAPSHOT/shiro-faces-2.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:07 min [INFO] Finished at: 2016-05-20T23:32:42+08:00 [INFO] Final Memory: 11M/246M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT: Failed to read artifact descriptor for org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT: Cou ld not transfer artifact org.apache.shiro:shiro-faces:pom:2.0-SNAPSHOT from/to d eluan.repo (http://deluan.googlecode.com/svn/releases): Connect to deluan.google code.com:80 [deluan.googlecode.com/74.125.204.82] failed: Connection timed out: connect -> [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
F:\openiot\openiot-develop\modules\security\security-client>
Hi All, For some reason the maven repository regarding shiro for JSF2 is out. Likewise, I didn't had this artifact under my local maven repository. As well as, the solution could be useful for some other person, I'm describing the workaround to solve it quickly.
1) Download the sources from: https://github.com/deluan/shiro-faces to /somefolder/ 2) mvn clean install /somefolder/shiro-faces-jsf2 3) cd /somefolder/shiro-faces-jsf2/target/ 4 mvn install:install-file -Dfile=.shiro-faces-2.0-SNAPSHOT.jar -DgroupId=org.apache.shiro -DartifactId=shiro-faces -Dversion=2.0-SNAPSHOT -Dpackaging=jar
I add shiro-faces-2.0-SNAPSHOT.jar to Nexus,it still gei an error..
F:\openiot\openiot-develop\modules\security\security-client>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Security Client 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://deluan.googlecode.com/svn/releases/org/openiot/openiot/0.2-S NAPSHOT/maven-metadata.xml Downloading: http://deluan.googlecode.com/svn/snapshots/org/openiot/openiot/0.2- SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata org.openiot:openiot:0.2-SNAPSHOT/maven-met adata.xml from/to deluan.repo (http://deluan.googlecode.com/svn/releases): Conne ct to deluan.googlecode.com:80 [deluan.googlecode.com/74.125.204.82] failed: Con nection timed out: connect [WARNING] Could not transfer metadata org.openiot:openiot:0.2-SNAPSHOT/maven-met adata.xml from/to deluan.snapshots (http://deluan.googlecode.com/svn/snapshots): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/74.125.204.82] faile d: Connection timed out: connect Downloading: http://deluan.googlecode.com/svn/releases/com/fasterxml/jackson/cor e/jackson-databind/2.0.6/jackson-databind-2.0.6.jar Downloading: http://deluan.googlecode.com/svn/releases/net/sf/ehcache/ehcache-co re/2.5.0/ehcache-core-2.5.0.jar Downloading: http://deluan.googlecode.com/svn/releases/ch/qos/logback/logback-co re/1.1.3/logback-core-1.1.3.jar Downloading: http://deluan.googlecode.com/svn/releases/javax/faces/javax.faces-a pi/2.2/javax.faces-api-2.2.jar Downloading: https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jac kson-databind/2.0.6/jackson-databind-2.0.6.jar Downloading: https://repo.maven.apache.org/maven2/net/sf/ehcache/ehcache-core/2. 5.0/ehcache-core-2.5.0.jar Downloading: https://repo.maven.apache.org/maven2/javax/faces/javax.faces-api/2. 2/javax.faces-api-2.2.jar Downloading: https://repo.maven.apache.org/maven2/ch/qos/logback/logback-core/1. 1.3/logback-core-1.1.3.jar Downloaded: https://repo.maven.apache.org/maven2/javax/faces/javax.faces-api/2.2 /javax.faces-api-2.2.jar (676 KB at 7.6 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jack son-databind/2.0.6/jackson-databind-2.0.6.jar (0 B at 0.0 KB/sec) 五月 21, 2016 2:58:12 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 21, 2016 2:58:12 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 21, 2016 2:58:13 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 21, 2016 2:58:13 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 21, 2016 2:58:13 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 21, 2016 2:58:13 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:06 h [INFO] Finished at: 2016-05-21T15:51:28+08:00 [INFO] Final Memory: 9M/246M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: The follow ing artifacts could not be resolved: net.sf.ehcache:ehcache-core:jar:2.5.0, ch.q os.logback:logback-core:jar:1.1.3: Could not transfer artifact net.sf.ehcache:eh cache-core:jar:2.5.0 from/to deluan.repo (http://deluan.googlecode.com/svn/relea ses): Connect to deluan.googlecode.com:80 [deluan.googlecode.com/74.125.204.82] failed: Connection timed out: connect -> [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
F:\openiot\openiot-develop\modules\security\security-client>77
Yeah,,,I tried modify POM.xml follow jbjares' suggestion and it success...Thanks!!! Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-setting s/2.2.1/maven-settings-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings /2.2.1/maven-settings-2.2.1.pom (3 KB at 2.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2 .2.1/maven-model-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2. 2.1/maven-model-2.2.1.pom (4 KB at 1.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int erpolation/1.11/plexus-interpolation-1.11.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte rpolation/1.11/plexus-interpolation-1.11.pom (889 B at 2.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-p arameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.pom (2 KB at 4 .7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-jdk14/1.5.6/sl f4j-jdk14-1.5.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-jdk14/1.5.6/slf 4j-jdk14-1.5.6.pom (2 KB at 1.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.5.6/s lf4j-parent-1.5.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.5.6/sl f4j-parent-1.5.6.pom (8 KB at 2.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.5.6/slf4 j-api-1.5.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.5.6/slf4j -api-1.5.6.pom (3 KB at 1.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/slf4j/jcl-over-slf4j/1.5.6 /jcl-over-slf4j-1.5.6.pom Downloaded: https://repo.maven.apache.org/maven2/org/slf4j/jcl-over-slf4j/1.5.6/ jcl-over-slf4j-1.5.6.pom (3 KB at 0.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile /2.2.1/maven-profile-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/ 2.2.1/maven-profile-2.2.1.pom (3 KB at 0.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifac t/2.2.1/maven-artifact-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact /2.2.1/maven-artifact-2.2.1.pom (2 KB at 0.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-reposit ory-metadata/2.2.1/maven-repository-metadata-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-reposito ry-metadata/2.2.1/maven-repository-metadata-2.2.1.pom (2 KB at 3.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-d iagnostics/2.2.1/maven-error-diagnostics-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-error-di agnostics/2.2.1/maven-error-diagnostics-2.2.1.pom (2 KB at 1.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project /2.2.1/maven-project-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/ 2.2.1/maven-project-2.2.1.pom (3 KB at 2.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifac t-manager/2.2.1/maven-artifact-manager-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact -manager/2.2.1/maven-artifact-manager-2.2.1.pom (4 KB at 1.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/backport-util-concurrent/backp ort-util-concurrent/3.1/backport-util-concurrent-3.1.pom Downloaded: https://repo.maven.apache.org/maven2/backport-util-concurrent/backpo rt-util-concurrent/3.1/backport-util-concurrent-3.1.pom (880 B at 1.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- registry/2.2.1/maven-plugin-registry-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-r egistry/2.2.1/maven-plugin-registry-2.2.1.pom (2 KB at 1.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin- descriptor/2.2.1/maven-plugin-descriptor-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-d escriptor/2.2.1/maven-plugin-descriptor-2.2.1.pom (3 KB at 0.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor /2.2.1/maven-monitor-2.2.1.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor/ 2.2.1/maven-monitor-2.2.1.pom (2 KB at 2.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec -dispatcher/1.3/plexus-sec-dispatcher-1.3.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec- dispatcher/1.3/plexus-sec-dispatcher-1.3.pom (3 KB at 4.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/spice/spice-paren t/12/spice-parent-12.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/spice/spice-parent /12/spice-parent-12.pom (7 KB at 2.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/forge/forge-paren t/4/forge-parent-4.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/forge/forge-parent /4/forge-parent-4.pom (9 KB at 5.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-cip her/1.4/plexus-cipher-1.4.pom Downloaded: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-ciph er/1.4/plexus-cipher-1.4.pom (3 KB at 2.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com ponent-annotations/1.5.5/plexus-component-annotations-1.5.5.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp onent-annotations/1.5.5/plexus-component-annotations-1.5.5.pom (815 B at 1.2 KB/ sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-con tainers/1.5.5/plexus-containers-1.5.5.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-cont ainers/1.5.5/plexus-containers-1.5.5.pom (5 KB at 5.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-api/2.0/plexus-compiler-api-2.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-api/2.0/plexus-compiler-api-2.0.pom (865 B at 2.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler/2.0/plexus-compiler-2.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler/2.0/plexus-compiler-2.0.pom (4 KB at 5.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com ponents/1.3/plexus-components-1.3.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp onents/1.3/plexus-components-1.3.pom (3 KB at 2.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.3 /plexus-3.3.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.3/ plexus-3.3.pom (20 KB at 8.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-manager/2.0/plexus-compiler-manager-2.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-manager/2.0/plexus-compiler-manager-2.0.pom (690 B at 0.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-javac/2.0/plexus-compiler-javac-2.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-javac/2.0/plexus-compiler-javac-2.0.pom (769 B at 1.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com pilers/2.0/plexus-compilers-2.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp ilers/2.0/plexus-compilers-2.0.pom (2 KB at 1.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-con tainer-default/1.5.5/plexus-container-default-1.5.5.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-cont ainer-default/1.5.5/plexus-container-default-1.5.5.pom (3 KB at 2.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-cla ssworlds/2.2.2/plexus-classworlds-2.2.2.pom Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-clas sworlds/2.2.2/plexus-classworlds-2.2.2.pom (4 KB at 5.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/xbean/xbean-reflect /3.4/xbean-reflect-3.4.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/xbean/xbean-reflect/ 3.4/xbean-reflect-3.4.pom (3 KB at 1.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/xbean/xbean/3.4/xbe an-3.4.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/xbean/xbean/3.4/xbea n-3.4.pom (19 KB at 7.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.1 2.pom Downloaded: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.12 .pom (145 B at 0.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/commons-logging/commons-loggin g-api/1.1/commons-logging-api-1.1.pom Downloaded: https://repo.maven.apache.org/maven2/commons-logging/commons-logging -api/1.1/commons-logging-api-1.1.pom (6 KB at 8.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/com/google/collections/google- collections/1.0/google-collections-1.0.pom Downloaded: https://repo.maven.apache.org/maven2/com/google/collections/google-c ollections/1.0/google-collections-1.0.pom (3 KB at 1.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/com/google/google/1/google-1.p om Downloaded: https://repo.maven.apache.org/maven2/com/google/google/1/google-1.po m (2 KB at 3.6 KB/sec) Downloading: https://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2. pom Downloaded: https://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2.p om (747 B at 0.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven- shared-utils/0.1/maven-shared-utils-0.1.jar Downloading: https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr30 5/2.0.1/jsr305-2.0.1.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti ls/1.5.1/plexus-utils-1.5.1.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven- shared-incremental/1.0/maven-shared-incremental-1.0.jar Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com ponent-annotations/1.5.5/plexus-component-annotations-1.5.5.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp onent-annotations/1.5.5/plexus-component-annotations-1.5.5.jar (5 KB at 3.4 KB/s ec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-api/2.0/plexus-compiler-api-2.0.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-api/2.0/plexus-compiler-api-2.0.jar (25 KB at 11.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-manager/2.0/plexus-compiler-manager-2.0.jar Downloaded: https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305 /2.0.1/jsr305-2.0.1.jar (32 KB at 12.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-com piler-javac/2.0/plexus-compiler-javac-2.0.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-s hared-incremental/1.0/maven-shared-incremental-1.0.jar (13 KB at 3.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-con tainer-default/1.5.5/plexus-container-default-1.5.5.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-javac/2.0/plexus-compiler-javac-2.0.jar (19 KB at 5.5 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-cla ssworlds/2.2.2/plexus-classworlds-2.2.2.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-comp iler-manager/2.0/plexus-compiler-manager-2.0.jar (5 KB at 1.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/xbean/xbean-reflect /3.4/xbean-reflect-3.4.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-clas sworlds/2.2.2/plexus-classworlds-2.2.2.jar (46 KB at 8.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.1 2.jar Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util s/1.5.1/plexus-utils-1.5.1.jar (206 KB at 20.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/commons-logging/commons-loggin g-api/1.1/commons-logging-api-1.1.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-s hared-utils/0.1/maven-shared-utils-0.1.jar (151 KB at 12.2 KB/sec) Downloading: https://repo.maven.apache.org/maven2/com/google/collections/google- collections/1.0/google-collections-1.0.jar Downloaded: https://repo.maven.apache.org/maven2/commons-logging/commons-logging -api/1.1/commons-logging-api-1.1.jar (44 KB at 2.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2. jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/xbean/xbean-reflect/ 3.4/xbean-reflect-3.4.jar (131 KB at 7.7 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-cont ainer-default/1.5.5/plexus-container-default-1.5.5.jar (212 KB at 9.4 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2.j ar (118 KB at 4.9 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.12 .jar (350 KB at 12.5 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/com/google/collections/google-c ollections/1.0/google-collections-1.0.jar (625 KB at 9.5 KB/sec) [INFO] Changes detected - recompiling the module! [INFO] Compiling 29 source files to F:\openiot\openiot-develop\modules\security\ security-client\target\classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ se curity.client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ securit y.client --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to F:\openiot\openiot-develop\modules\security\s ecurity-client\target\test-classes [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ security.client --- Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/mave n-surefire-common/2.16/maven-surefire-common-2.16.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven -surefire-common/2.16/maven-surefire-common-2.16.pom (6 KB at 13.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/ maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/m aven-plugin-annotations/3.2/maven-plugin-annotations-3.2.pom (2 KB at 1.4 KB/sec ) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/ maven-plugin-tools/3.2/maven-plugin-tools-3.2.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/m aven-plugin-tools/3.2/maven-plugin-tools-3.2.pom (17 KB at 10.3 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure fire-api/2.16/surefire-api-2.16.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref ire-api/2.16/surefire-api-2.16.pom (3 KB at 1.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure fire-booter/2.16/surefire-booter-2.16.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref ire-booter/2.16/surefire-booter-2.16.pom (3 KB at 6.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/mave n-surefire-common/2.16/maven-surefire-common-2.16.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/ maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure fire-booter/2.16/surefire-booter-2.16.jar Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure fire-api/2.16/surefire-api-2.16.jar Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/m aven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar (15 KB at 14.8 KB/s ec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref ire-booter/2.16/surefire-booter-2.16.jar (39 KB at 4.6 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref ire-api/2.16/surefire-api-2.16.jar (146 KB at 12.2 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven -surefire-common/2.16/maven-surefire-common-2.16.jar (259 KB at 15.0 KB/sec) [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ security.client --- [INFO] Building jar: F:\openiot\openiot-develop\modules\security\security-client \target\security.client-0.0.1-SNAPSHOT.jar [INFO]
[INFO] Installing F:\openiot\openiot-develop\modules\security\security-client\ta rget\security.client-0.0.1-SNAPSHOT.jar to C:\Users\Administrator.m2\repository \org\openiot\security.client\0.0.1-SNAPSHOT\security.client-0.0.1-SNAPSHOT.jar [INFO] Installing F:\openiot\openiot-develop\modules\security\security-client\po m.xml to C:\Users\Administrator.m2\repository\org\openiot\security.client\0.0.1 -SNAPSHOT\security.client-0.0.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:13 min [INFO] Finished at: 2016-05-21T16:09:23+08:00 [INFO] Final Memory: 19M/246M [INFO] ------------------------------------------------------------------------
F:\openiot\openiot-develop\modules\security\security-client>
i'm still in the error: when i run MVN clean intall in the root folder (openiot-develop), i get this error: [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] OpenIoT ............................................ SUCCESS [ 21.364 s] [INFO] OpenIoT Common files ............................... SUCCESS [ 51.046 s] [INFO] OpenIoT Security Client ............................ FAILURE [01:28 min] [INFO] OpenIoT LSM-light Client ........................... SKIPPED [INFO] OpenIoT Security server ............................ SKIPPED [INFO] OpenIoT security management web app ................ SKIPPED [INFO] OpenIoT LSM-light Server ........................... SKIPPED [INFO] xgsn ............................................... SKIPPED [INFO] OpenIoT sdum.core .................................. SKIPPED [INFO] OpenIoT sdum.client ................................ SKIPPED [INFO] OpenIoT Scheduler Core ............................. SKIPPED [INFO] OpenIoT Scheduler Client ........................... SKIPPED [INFO] OpenIoT ide.core ................................... SKIPPED [INFO] OpenIoT request definition/presentation commons .... SKIPPED [INFO] OpenIoT request definition web app ................. SKIPPED [INFO] OpenIoT request presentation web app ............... SKIPPED [INFO] OpenIoT RDF Sensor Schema Editor ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:59 min [INFO] Finished at: 2016-05-21T18:07:33+03:00 [INFO] Final Memory: 21M/101M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: Could not find artifact org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT in deluan.repo (http ://deluan.googlecode.com/svn/releases) -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
So the error reside in the Security Client module, so i tried to deploy this module, i run mvn install in this module, i get this error: c:\openiot-develop\modules\security\security-client>mvn install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenIoT Security Client 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.153 s [INFO] Finished at: 2016-05-21T18:13:08+03:00 [INFO] Final Memory: 8M/105M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project security.client: Could not resolve dep endencies for project org.openiot:security.client:jar:0.0.1-SNAPSHOT: Failure to find org.apache.shiro:shiro-faces:jar:2.0-SNAPSHOT in http://deluan.googlecode. com/svn/releases was cached in the local repository, resolution will not be reat tempted until the update interval of deluan.repo has elapsed or updates are forc ed -> [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
c:\openiot-develop\modules\security\security-client>
what modification should i do to the pom.xml ???? and which pom file should i edit ???? please help me...
I follow jbjare's advice and add shiro-faces-jsf2.jar in Nexus.And modification can follow https://github.com/deluan/shiro-faces.
After you download shiro-faces,add your local repository.Then try to modify pom XML in openiot-develop\modules\security\security-client,
1) I downloaded the sources from: https://github.com/deluan/shiro-faces, then extracted to C:/shiro-faces-jsf2 and i added the repository and dependency to pom file 2) then cd C:/shiro-faces-jsf2 3) then mvn clean install the deployment was succeeded
but this step build an error: 3) cd /somefolder/shiro-faces-jsf2/target/ 4 mvn install:install-file -Dfile=.shiro-faces-2.0-SNAPSHOT.jar -DgroupId=org.apache.shiro -DartifactId=shiro-faces -Dversion=2.0-SNAPSHOT -Dpackaging=jar
I hope if one who deployed all modules successfully, to upload the openiot-develop directory after successfully deployment for us to download it, and than we continue the deployment of war files...
what do you think about this idea ???
I didn't work 4 steps ,I just add jar to Nexus.
Annmeg how do you add .jar to Nexus?
I have faced this error too, and it occurs because shiro-faces it's not anymore in mvn repository. So to solve this problem, I've compiled and put the generated artifacts on a public github-repo. To use this solution you have two ways, the first consists in installing xmlstarlet and paste the following snippet on the terminal in the home of the openiot repo.
xmlstarlet ed \
-L \
-N pomns="http://maven.apache.org/POM/4.0.0" \
--subnode "/pomns:project" \
--type elem \
-n repositories \
--subnode "/pomns:project/repositories" \
--type elem \
-n repository \
--subnode "//repositories/repository" \
--type elem \
-n id \
-v "wiser-releases" \
--subnode "//repository" \
--type elem \
-n url \
-v "https://github.com/WiserUFBA/wiser-mvn-repo/raw/master/releases" ./pom.xml
Or you can copy this snippet to the main pom file of openiot project.
<repositories>
<repository>
<id>wiser-releases</id>
<url>https://github.com/WiserUFBA/wiser-mvn-repo/raw/master/releases</url>
</repository>
</repositories>
Don't forget to change OpenIoT properties if you are deploying this application outside the deri infrastructure, and to make this easier, if you are on linux you can use the following snippet to change all lsm.deri.ie to localhost.
sed --in-place \
-e "s/scheduler\.core\.lsm\.openiotMetaGraph=.*$/scheduler\.core\.lsm\.openiotMetaGraph=http\:\/\/openiot\.eu\/OpenIoT\/sensormeta\#/g" \
-e "s/scheduler\.core\.lsm\.openiotDataGraph=.*$/scheduler\.core\.lsm\.openiotDataGraph=http\:\/\/openiot\.eu\/OpenIoT\/sensordata#/g" \
-e "s/scheduler\.core\.lsm\.openiotFunctionalGraph=.*$/scheduler\.core\.lsm\.openiotFunctionalGraph=http\:\/\/openiot.eu\/OpenIoT\/functionaldata#/g" \
-e "s/scheduler\.core\.lsm\.sparql\.endpoint=.*/scheduler\.core\.lsm\.sparql\.endpoint=http\:\/\/localhost\:8890\/sparql/g" \
-e "s/scheduler\.core\.lsm\.remote\.server=.*$/scheduler\.core\.lsm\.remote\.server=http\:\/\/localhost\:8080\/lsm-light\.server\//g" \
-e "s/sdum\.core\.lsm\.openiotFunctionalGraph=.*$/sdum\.core\.lsm\.openiotFunctionalGraph=http\:\/\/openiot\.eu\/OpenIoT\/functionaldata#/g" \
-e "s/sdum\.core\.lsm\.sparql\.endpoint=.*$/sdum\.core\.lsm\.sparql\.endpoint=http\:\/\/localhost\:8890\/sparql/g" \
-e "s/sdum\.core\.lsm\.remote\.server=.*$/sdum\.core\.lsm\.remote\.server=http\:\/\/localhost\:8080\/lsm-light.server\//g" \
-e "s/lsm-light\.server\.connection\.url=.*$/lsm-light\.server\.connection\.url=jdbc\:virtuoso\:\/\/localhost\:1111\/log_enable=2/g" \
-e "s/lsm-light\.server\.connection\.username=.*$/lsm-light\.server\.connection\.username=dba/g" \
-e "s/lsm-light\.server\.connection\.password=.*$/lsm-light\.server\.connection\.password=$VIRTUOSO_DBA_PASS/g" \
-e "s/lsm-light\.server\.localMetaGraph.*$/lsm-light\.server\.localMetaGraph\ =\ http\:\/\/openiot.eu\/OpenIoT\/sensormeta#/g" \
-e "s/lsm-light\.server\.localDataGraph.*$/lsm-light\.server\.localDataGraph\ =\ http\:\/\/openiot.eu\/OpenIoT\/sensordata#/g" \
-e "s/lsm\.deri\.ie/localhost\:8080/g" \
"$JBOSS_HOME/standalone/configuration/openiot.properties"
If you aren't on linux or don't wanna use sed you can change openiot.properties according to this article https://github.com/OpenIotOrg/openiot/wiki/OpenIoT-Virtual-Box-Image---Documentation , despite of the fact that this is inted to be used on virtualbox image, these modifications are needed on the default deploy too.
Thaks, I managed to correct those mistakes but now there have been other mistakes maybe you know how to fix?
12:42:09,476 ERROR [stderr](MSC service thread 1-3) java.lang.NullPointerException 12:42:09,481 ERROR [stderr](MSC service thread 1-3) at org.openiot.lsm.manager.SensorManager.getAllRegisteredServices(SensorManager.java:1597) 12:42:09,486 ERROR [stderr](MSC service thread 1-3) at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:83) 12:42:09,492 ERROR [stderr](MSC service thread 1-3) at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) 12:42:09,501 ERROR [stderr](MSC service thread 1-3) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) 12:42:09,506 ERROR [stderr](MSC service thread 1-3) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) 12:42:09,508 ERROR [stderr](MSC service thread 1-3) at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) 12:42:09,516 ERROR [stderr](MSC service thread 1-3) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) 12:42:09,520 ERROR [stderr](MSC service thread 1-3) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) 12:42:09,522 ERROR [stderr](MSC service thread 1-3) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 12:42:09,524 ERROR [stderr](MSC service thread 1-3) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 12:42:09,526 ERROR [stderr](MSC service thread 1-3) at java.lang.Thread.run(Thread.java:745)
Can you execute these commands and post the output?
mvn --version
java -version
And try again mvn install but now use -X
like this mvn -X clean install
, to receive a more verbose output. Don't forget to append all the output too.
In my tests, I've used OpenIoT Dev branch, since it seems is more updated and stable, and java version 1.7 cause 1.8 give me some similar errors. Older versions of maven like maven2 give me a lot of error too so use maven 3 or higher.
If you are using Ubuntu, please see this stack overflow answer about how to install maven 3 http://stackoverflow.com/questions/15630055/how-to-install-maven-3-on-ubuntu-15-10-15-04-14-10-14-04-lts-13-10-13-04-12-10-1 , and see this other talking about how to install oracle jdk 1.7 in ubuntu http://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre. I'm not sure if OpenIoT works on OpenJDK, so please make sure you are using these versions.
Use pastebin.org or dontpad.com, to paste the mvn install output.
I am creating a Docker image to OpenIoT https://hub.docker.com/r/jefersonla/openiot/ , if you wanna try feel free to ask.
Thank you Jeffersson
C:\WINDOWS\system32>java -version java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
C:\WINDOWS\system32>mvn --version Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T11:29:23-06:00) Maven home: C:\apache-maven-3.2.5 Java version: 1.7.0_79, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_79\jre Default locale: es_EC, platform encoding: Cp1252 OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows" C:\WINDOWS\system32>
When I execute mvn -X clean install
the code is very extense
@Jiasol The java and maven version seems ok, but you didn't post the mvn -X clean install log
please look here http://pastebin.com/RrK0VhXV when I execute mvn -X clean install, the code is very extense.
Try to redirect all output to a file like this mvn -X clean install 1> mvn_output.txt 2>&1
and upload mvn_output.txt to pastebin.
Is very very extense please you can see http://pastebin.com/u/Jiasol here is all code when I execute mvn -X clean install
These warnings might be causing problem?
[WARNING] [WARNING] Some problems were encountered while building the effective model for org.openiot.gsn:xgsn:jar:1.1.4 [WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:jar should not point at files within the project directory, ${basedir}/lib/jasperreports-3.0.0.jar will be unresolvable by dependent projects @ line 374, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:tinyos-java:jar should not point at files within the project directory, ${basedir}/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 381, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:net.tinyos:jar should not point at files within the project directory, ${basedir}/lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ line 394, column 16 [WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:jar should not point at files within the project directory, ${basedir}/lib/jtwitter.jar will be unresolvable by dependent projects @ line 405, column 16 [WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout:jar should not point at files within the project directory, ${basedir}/lib/mylar-layout.jar will be unresolvable by dependent projects @ line 412, column 16 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.openiot:ui.requestPresentation:war:0.0.1 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.eclipse.persistence:org.eclipse.persistence.moxy:jar -> duplicate declaration of version 2.5.1 @ line 164, column 15 [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]
failed 五月 18, 2016 4:49:27 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae e-6.0-with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0 -with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.Final.pom 五月 18, 2016 4:51:16 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 18, 2016 4:51:16 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 18, 2016 4:52:16 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 18, 2016 4:52:17 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 Downloading: http://deluan.googlecode.com/svn/releases/org/jboss/bom/jboss-javae e-6.0-with-hibernate/1.0.4.Final/jboss-javaee-6.0-with-hibernate-1.0.4.Final.pom
Downloading: https://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0 -with-hibernate/1.0.4.Final/jboss-javaee-6.0-with-hibernate-1.0.4.Final.pom 五月 18, 2016 4:53:57 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 18, 2016 4:53:57 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 18, 2016 4:55:01 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 18, 2016 4:55:01 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 五月 18, 2016 4:55:59 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Software caused connection abort: recv failed 五月 18, 2016 4:55:59 下午 org.apache.maven.wagon.providers.http.httpclient.impl .execchain.RetryExec execute 信息: Retrying request to {s}->https://repo.maven.apache.org:443 Downloading: file://F:\openiot\modules\lsm-light\lsm-light.server/libs/org/jboss /bom/jboss-javaee-6.0-with-tools/1.0.4.Final/jboss-javaee-6.0-with-tools-1.0.4.F inal.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://deluan.g ooglecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlec ode.com/74.125.204.82] failed: Connection timed out: connect @ line 56, column 1 6 [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is m issing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxrs: jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxb-p rovider:jar is missing. @ line 132, column 15 [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan.goog lecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.googlecode .com/64.233.189.82] failed: Connection timed out: connect @ line 94, column 16 [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom:jbo ss-javaee-6.0-with-hibernate:pom:1.0.4.Final from/to deluan.repo (http://deluan. googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.google code.com/64.233.189.82] failed: Connection timed out: connect @ line 101, column 16 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb -api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 69, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 109, column 15 [WARNING] 'dependencies.dependency.systemPath' for jasperreports:jasperreports:j ar should not point at files within the project directory, ${basedir}/lib/jasper reports-3.0.0.jar will be unresolvable by dependent projects @ line 374, column 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:t inyos-java:jar should not point at files within the project directory, ${basedir }/lib/tinyos-2.x.jar will be unresolvable by dependent projects @ line 381, colu mn 16 [WARNING] 'dependencies.dependency.systemPath' for it.cnr.isti.domoware.tinyos:n et.tinyos:jar should not point at files within the project directory, ${basedir} /lib/tinyos-1.x-gsn-src-bin.jar will be unresolvable by dependent projects @ lin e 394, column 16 [WARNING] 'dependencies.dependency.systemPath' for winterwell.jtwitter:Twitter:j ar should not point at files within the project directory, ${basedir}/lib/jtwitt er.jar will be unresolvable by dependent projects @ line 405, column 16 [WARNING] 'dependencies.dependency.systemPath' for org.eclipse.mylar.zest:layout :jar should not point at files within the project directory, ${basedir}/lib/myla r-layout.jar will be unresolvable by dependent projects @ line 412, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 104, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa s cached in the local repository, resolution will not be reattempted until the u pdate interval of central has elapsed or updates are forced. Original error: Cou ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4. Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time d out: connect @ line 112, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 108, column 16 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 wa s cached in the local repository, resolution will not be reattempted until the u pdate interval of central has elapsed or updates are forced. Original error: Cou ld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1.0.4. Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.ma ven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection time d out: connect @ line 116, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-javae e-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 was c ached in the local repository, resolution will not be reattempted until the upda te interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.ap ache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 91, column 16 [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is mi ssing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jb oss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-j sf-api_2.1_spec:jar is missing. @ line 123, column 15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.eclipse.persistence:org.eclipse.persistence.moxy:jar -> duplicate d eclaration of version 2.5.1 @ line 164, column 15 @ [ERROR] The build could not read 6 projects -> [Help 1] [ERROR] [ERROR] The project org.openiot:security.client:0.0.1-SNAPSHOT (F:\openiot\mod ules\security\security-client\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-resteasy:pom:1.0.4.Final from/to deluan.repo (http://delu an.googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.goo glecode.com/74.125.204.82] failed: Connection timed out: connect @ line 56, colu mn 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.servlet:servlet-api:jar is missing. @ line 103, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xrs:jar is missing. @ line 128, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja xb-provider:jar is missing. @ line 132, column 15 [ERROR] [ERROR] The project org.openiot:security.management:0.0.1 (F:\openiot\modules\ security\security-management\pom.xml) has 3 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-tools:pom:1.0.4.Final from/to deluan.repo (http://deluan. googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.google code.com/64.233.189.82] failed: Connection timed out: connect @ line 94, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom :jboss-javaee-6.0-with-hibernate:pom:1.0.4.Final from/to deluan.repo (http://del uan.googlecode.com/svn/releases): Connect to deluan.googlecode.com:80 [deluan.go oglecode.com/64.233.189.82] failed: Connection timed out: connect @ line 101, co lumn 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss -ejb-api_3.1_spec:jar is missing. @ line 134, column 15 [ERROR] [ERROR] The project org.openiot:lsm-light.server:0.0.1-SNAPSHOT (F:\openiot\mo dules\lsm-light\lsm-light.server\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 69, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 91, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 100, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 109, column 15 [ERROR] [ERROR] The project org.openiot:sdum.core:0.0.1 (F:\openiot\modules\sdum\sdum. core\pom.xml) has 5 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 104, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven 2 was cached in the local repository, resolution will not be reattempted until t he update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1. 0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 112, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 133, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 142, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 151, column 15 [ERROR] [ERROR] The project org.openiot:scheduler.core:0.0.1 (F:\openiot\modules\sched uler\scheduler.core\pom.xml) has 5 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 108, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-resteasy:pom:1.0.4.Final from https://repo.maven.apache.org/maven 2 was cached in the local repository, resolution will not be reattempted until t he update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-resteasy:pom:1. 0.4.Final from/to central (https://repo.maven.apache.org/maven2): Connect to rep o.maven.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 116, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 138, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 147, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 156, column 15 [ERROR] [ERROR] The project org.openiot:ide.core:0.0.1 (F:\openiot\ui\ide\ide.core\pom .xml) has 4 errors [ERROR] Non-resolvable import POM: Failure to transfer org.jboss.bom:jboss-j avaee-6.0-with-tools:pom:1.0.4.Final from https://repo.maven.apache.org/maven2 w as cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Co uld not transfer artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Fi nal from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave n.apache.org:443 [repo.maven.apache.org/23.235.47.215] failed: Connection timed out: connect @ line 91, column 16 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar i s missing. @ line 108, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotatio n:jboss-annotations-api_1.1_spec:jar is missing. @ line 116, column 15 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jbo ss-jsf-api_2.1_spec:jar is missing. @ line 123, column 15 [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/UnresolvableMo delException help!!!!!!