Hi,
I'm new to the spring framework all together, so please bear with me. I'm trying to get started with Spring Batch, but can't get the samples to build. I'm using Oracle Linux 6.0 64-bit edition, and Spring Batch version 2.0.1-RELEASE.
Following the getting started guide, I extracted spring-batch-2.0.1.RELEASE.zip, browsed to spring-batch-samples, and ran mvn test. The result is the following:
What does this mean?Code:[jay@orc spring-batch-samples]$ mvn test [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.springframework.batch:spring-batch-samples:jar:2.0.1.RELEASE [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: stax:stax:jar -> duplicate declaration of version 1.2.0 @ org.springframework.batch:spring-batch-parent:2.0.1.RELEASE, /home/jay/SpringSource-spring-batch-566a966/spring-batch-parent/pom.xml, line 406, column 16 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.springframework.batch:spring-batch-parent:2.0.1.RELEASE, /home/jay/SpringSource-spring-batch-566a966/spring-batch-parent/pom.xml, line 145, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ org.springframework.batch:spring-batch-parent:2.0.1.RELEASE, /home/jay/SpringSource-spring-batch-566a966/spring-batch-parent/pom.xml, line 153, column 12 [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ org.springframework.batch:spring-batch-parent:2.0.1.RELEASE, /home/jay/SpringSource-spring-batch-566a966/spring-batch-parent/pom.xml, line 170, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ org.springframework.batch:spring-batch-parent:2.0.1.RELEASE, /home/jay/SpringSource-spring-batch-566a966/spring-batch-parent/pom.xml, line 176, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.springframework.batch:spring-batch-parent:2.0.1.RELEASE, /home/jay/SpringSource-spring-batch-566a966/spring-batch-parent/pom.xml, line 186, 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] ------------------------------------------------------------------------ [INFO] Building Samples 2.0.1.RELEASE [INFO] ------------------------------------------------------------------------ [WARNING] The POM for opensymphony:quartz-all:jar:1.6.0 is missing, no dependency information available [WARNING] The POM for com.oracle.jdbc:com.springsource.oracle.jdbc:jar:10.2.0.2 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.274s [INFO] Finished at: Thu Jun 16 11:21:04 EDT 2011 [INFO] Final Memory: 3M/8M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project spring-batch-samples: Could not resolve dependencies for project org.springframework.batch:spring-batch-samples:jar:2.0.1.RELEASE: Failure to find com.oracle.jdbc:com.springsource.oracle.jdbc:jar:10.2.0.2 in http://repository.springsource.com/maven/bundles/external was cached in the local repository, resolution will not be reattempted until the update interval of com.springsource.repository.bundles.external has elapsed or updates are forced -> [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
Thanks,
Jay Sullivan


Reply With Quote
