关于maven搭建的项目
木棉未眠 2015-08-31 02:32:07 下面就是控制台报的错误:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for commbankmgmt:commbankmgmt:war:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.servlet:servlet-api:jar -> version 2.4 vs 2.5 @ commbankmgmt:parent:0.0.1-SNAPSHOT, D:\workspace\jsbankmgmt\parent\pom.xml, line 596, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.servlet.jsp:jsp-api:jar -> version 2.0 vs 2.1 @ commbankmgmt:parent:0.0.1-SNAPSHOT, D:\workspace\jsbankmgmt\parent\pom.xml, line 607, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 20, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building commbankmgmt 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repo.maven.apache.org/maven2/net/sf/ehcache/ehcache-terracotta-root/2.3.0/ehcache-terracotta-root-2.3.0.pom
[INFO] Downloading: http://repository.jboss.com/maven2/net/sf/ehcache/ehcache-terracotta-root/2.3.0/ehcache-terracotta-root-2.3.0.pom
[WARNING] The POM for captcha:captcha:jar:1.2.1 is missing, no dependency information available
[WARNING] The POM for qrcode:qrcode:jar:1.0 is missing, no dependency information available
[WARNING] The POM for qrDEcode:qrDEcode:jar:1.0 is missing, no dependency information available
[WARNING] The POM for fastjson:fastjson:jar:1.1.9 is missing, no dependency information available
[WARNING] The POM for com.ckfinder:CKFinder:jar:2.4.2 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.030 s
[INFO] Finished at: 2015-08-31T14:25:47+08:00
[INFO] Final Memory: 15M/174M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project commbankmgmt: Could not resolve dependencies for project commbankmgmt:commbankmgmt:war:0.0.1-SNAPSHOT: Failed to collect dependencies at net.sf.ehcache:ehcache-jgroupsreplication:jar:1.3 -> net.sf.ehcache:ehcache:jar:2.3.0 -> net.sf.ehcache:ehcache-terracotta:jar:2.3.0: Failed to read artifact descriptor for net.sf.ehcache:ehcache-terracotta:jar:2.3.0: Could not find artifact net.sf.ehcache:ehcache-terracotta-root:pom:2.3.0 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException