Thanks for the update, it looks like they're blowing out all snapshots and letting CI regenerate them for their nightly builds. It appears to be working fine now though.
Printable View
Thanks for the update, it looks like they're blowing out all snapshots and letting CI regenerate them for their nightly builds. It appears to be working fine now though.
Hello lucas,
just made the checkout. Build fails here too
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Unsupported Protocol: 's3': Cannot find wagon which supports the requested protocol: s3
net.java.dev.jets3t:jets3t:jar:0.5.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
spring-release (s3://maven.springframework.org/release),
spring-milestone (s3://maven.springframework.org/milestone),
apache-snapshots (http://people.apache.org/maven-snapshot-repository),
spring-snapshot (s3://maven.springframework.org/snapshot),
spring-snapshots (https://springframework.svn.sourcefo...repo-snapshots)
Path to dependency:
1) org.springframework.batch:spring-batch:pom:1.0-m2-SNAPSHOT
2) org.springframework.aws:spring-aws-maven:jar:1.1.1
3) net.java.dev.jets3t:jets3t:jar:0.5.0
Can anybody help. Or something we can do to get past.
Kris
From the output you posted, it looks like some issue with the following entry in the spring-batch pom:
It appears to be the only repository that's using the s3 protocol. Dave added this entry, so I'm not 100% sure why it's there, but it's in the DistributionManagement tag, which is usually tied to deploying a site, or a jar. You could try removing the repository entry from the root pom.xml, and see if that fixes it for your machine.Code:
<snapshotRepository>
<id>spring-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>s3://maven.springframework.org/snapshot</url>
</snapshotRepository>
Lucas,
this didn't solve the problem, suprisingly. Because this is the only place where 's3' is used.
I tried to find where net.java.dev.jets3t:jets3t:jar:0.5.0 is specified, in vain.
Maybe, you can tell me where this is used.
Thanks
Kris
You definitely won't find any place where net.java.dev.jets3t:jets3t:jar:0.5.0 is specified in spring-batch. What's happening is that, becuase the s3 protocol is being used, there is a build extension that knows how to interact within that protocol, which depends upon jets3t:
I'm not sure why it's not finding it, because it does exist in the maven snapshot repository:Code:
<extension>
<groupId>org.springframework.aws</groupId>
<artifactId>spring-aws-maven</artifactId>
<version>1.1.1</version>
</extension>
http://repo1.maven.org/maven2/net/ja.../jets3t/0.5.0/
However, you can try running the following:
mvn clean install -cpu -U
Lucas,
I actually modified the following in the main pom
<repositories>
<repository>
<id>ibiblio</id>
<url>
http://mirrors.ibiblio.org/pub/mirrors/maven2
</url>
</repository>
<repository>
<id>apache-snapshots</id>
<url>
http://people.apache.org/maven-snapshot-repository
</url>
</repository>
<repository>
<id>spring-snapshots</id>
<url>
https://springframework.svn.sourcefo...repo-snapshots
</url>
</repository>
</repositories>
Added the ibiblio repo. Looks like its building correctly now, its not complete however. I will send a notice if the build was completely successful.
Kris Ramanah
Lucas,
with the ibiblio added, the build went until the 'stax' jars and failed. However, it proceeded when I removed the ibiblio again.
Now, the build went quite a long way through, until I get the following
Can you help?Code:[INFO] Compiling 49 source files to C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\AbstractJ
obLauncher.java:[25,34] package org.apache.commons.logging does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\AbstractJ
obLauncher.java:[26,34] package org.apache.commons.logging does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\AbstractJ
obLauncher.java:[52,29] cannot find symbol
symbol : class Log
location: class org.springframework.batch.execution.bootstrap.AbstractJobLauncher
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\SimpleJob
Launcher.java:[20,34] package org.apache.commons.logging does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\SimpleJob
Launcher.java:[46,29] cannot find symbol
symbol : class Log
location: class org.springframework.batch.execution.bootstrap.SimpleJobLauncher
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\TaskExecu
torJobLauncher.java:[24,34] package org.apache.commons.logging does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\TaskExecu
torJobLauncher.java:[60,29] cannot find symbol
symbol : class Log
location: class org.springframework.batch.execution.bootstrap.TaskExecutorJobLauncher
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\AbstractJ
obLauncher.java:[52,42] cannot find symbol
symbol : variable LogFactory
location: class org.springframework.batch.execution.bootstrap.AbstractJobLauncher
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\SimpleJob
Launcher.java:[46,42] cannot find symbol
symbol : variable LogFactory
location: class org.springframework.batch.execution.bootstrap.SimpleJobLauncher
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\execution\src\main\java\org\springframework\batch\execution\bootstrap\TaskExecu
torJobLauncher.java:[60,42] cannot find symbol
symbol : variable LogFactory
location: class org.springframework.batch.execution.bootstrap.TaskExecutorJobLauncher
Regards
Kris
I'm not quite sure what to make of that error. commons logging is definitely a dependency (either explicitly or transitively) of spring-batch that should be downloaded. What goals are you trying to run?
I am just running mvn install on the command line.
Guys out there, am I the only one getting this?
Thanks
Kris
Hello guys,
I commented the following in execution's pom to make things go a little further
However, I am now getting this errorCode:<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
<version>3.2.3.ga</version>
<optional>true</optional>
<exclusions>
<!--exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion-->
<exclusion>
...
I will try to modify the pom of 'samples' and see what happens.Code:[INFO] Compiling 74 source files to C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\JdbcCustomerDebitWri
ter.java:[20,37] package org.springframework.jdbc.core does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\JdbcCustomerDebitWri
ter.java:[32,12] cannot find symbol
symbol : class JdbcOperations
location: class org.springframework.batch.sample.dao.JdbcCustomerDebitWriter
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\JdbcCustomerDebitWri
ter.java:[39,32] cannot find symbol
symbol : class JdbcOperations
location: class org.springframework.batch.sample.dao.JdbcCustomerDebitWriter
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\mapping\CustomerCreditRo
wMapper.java:[7,37] package org.springframework.jdbc.core does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\mapping\CustomerCreditRo
wMapper.java:[9,48] cannot find symbol
symbol: class RowMapper
public class CustomerCreditRowMapper implements RowMapper {
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\SqlNflPlayerSummaryD
ao.java:[5,45] package org.springframework.jdbc.core.support does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\SqlNflPlayerSummaryD
ao.java:[6,32] package org.springframework.util does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\SqlNflPlayerSummaryD
ao.java:[8,44] cannot find symbol
symbol: class JdbcDaoSupport
public class SqlNflPlayerSummaryDao extends JdbcDaoSupport implements OutputSource {
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\SqlNflPlayerDao.java
:[9,41] package org.springframework.beans.factory does not exist
C:\Projects\Research\checkouts\spring-batch\07_09_07\spring_batch\samples\src\main\java\org\springframework\batch\sample\dao\SqlNflPlayerDao.java
:[10,37] package org.springframework.jdbc.core does not exist
.
.
.
Thanks
Kris