vert-x3 / vertx-examples

Vert.x examples
Apache License 2.0
3.55k stars 2.09k forks source link

Maven failing to resolve plugins #269

Closed rdcoe closed 6 years ago

rdcoe commented 6 years ago

Just pulled master and trying to install the dependencies, but the project can't build.

rcoe@SKELETOR ~/git/vertx-examples $ git pull Already up to date.

rcoe@SKELETOR ~/git/vertx-examples $ git branch

rcoe@SKELETOR ~/git/vertx-examples $ mvn install [INFO] Scanning for projects... Downloading from codehaus.org: http://repository.codehaus.org/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml Downloading from codehaus-snapshots: http://nexus.codehaus.org/snapshots/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml [WARNING] Could not transfer metadata org.codehaus.groovy:groovy-eclipse-batch/maven-metadata.xml from/to codehaus.org (http://repository.codehaus.org): repository.codehaus.org [WARNING] Could not transfer metadata org.codehaus.groovy:groovy-eclipse-batch/maven-metadata.xml from/to codehaus-snapshots (http://nexus.codehaus.org/snapshots/): nexus.codehaus.org [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ io.vertx:service-provider:[unknown-version], D:\cygwin64\home\rcoe\git\vertx-examples\service-proxy-examples\service-provider\pom.xml, line 104, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ io.vertx:springboot-clustering-hazelcast:[unknown-version], D:\cygwin64\home\rcoe\git\vertx-examples\spring-examples\springboot-clustering\springboot-clustering-hazelcast\pom.xml, line 62, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ io.vertx:spring-verticle-factory:[unknown-version], D:\cygwin64\home\rcoe\git\vertx-examples\spring-examples\spring-verticle-factory\pom.xml, line 56, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 13, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ io.vertx:service-discovery-examples:[unknown-version], D:\cygwin64\home\rcoe\git\vertx-examples\service-discovery-examples\pom.xml, line 15, column 21 [ERROR] Non-resolvable import POM: Could not find artifact io.vertx:vertx-stack-depchain:pom:3.5.1-SNAPSHOT @ line 36, column 19 [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-core:jar is missing. @ line 49, column 17 [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-web-client:jar is missing. @ line 53, column 17 [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-junit5:jar is missing. @ line 64, column 17 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project io.vertx:junit5-examples:3.5.1-SNAPSHOT (D:\cygwin64\home\rcoe\git\vertx-examples\junit5-examples\pom.xml) has 4 errors [ERROR] Non-resolvable import POM: Could not find artifact io.vertx:vertx-stack-depchain:pom:3.5.1-SNAPSHOT @ line 36, column 19 -> [Help 2] [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-core:jar is missing. @ line 49, column 17 [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-web-client:jar is missing. @ line 53, column 17 [ERROR] 'dependencies.dependency.version' for io.vertx:vertx-junit5:jar is missing. @ line 64, column 17 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

rcoe@SKELETOR ~/git/vertx-examples $ mvn --version Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T03:58:13-04:00) Maven home: D:\Cygwin64\home\rcoe\apache-maven-3.5.2 Java version: 1.8.0_111, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_111\jre Default locale: en_CA, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Same results with WSL.

Please advise, thanks.

cescoffier commented 6 years ago

Fixed in master. Thanks for reporting.