Hello,
I am using SpringSource Tool Suite version 2.5.0.RELEASE. I created a project using the "Simple Spring Utility Project" project template to create a JAR distribution of a bunch of classes. But the build is failing with the following error message:
I am using Maven 3.0 and JDK 1.6.0_04. Any idea what could be wrong.
Thanks
Ravi
Code:[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.springframework.samples.spring:spring-utility:jar:1.0.0.CI-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp iler-plugin is missing. @ line 79, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure fire-plugin is missing. @ line 87, column 12 [WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.a rtifactId} instead. [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] ------------------------------------------------------------------------ [INFO] Building Spring Utility 1.0.0.CI-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repository.codehaus.org/com/springsource/bundlor/com.springs ource.bundlor.maven/1.0.0.RELEASE/com.springsource.bundlor.maven-1.0.0.RELEASE.j ar Downloading: http://repo1.maven.org/maven2/com/springsource/bundlor/com.springso urce.bundlor.maven/1.0.0.RELEASE/com.springsource.bundlor.maven-1.0.0.RELEASE.ja r [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.782s [INFO] Finished at: Fri Nov 19 10:46:09 PST 2010 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin com.springsource.bundlor:com.springsource.bundlor.maven:1.0.0.REL EASE or one of its dependencies could not be resolved: Could not find artifact c om.springsource.bundlor:com.springsource.bundlor.maven:jar:1.0.0.RELEASE in Code haus (http://repository.codehaus.org/) -> [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


Reply With Quote