shogun1234
Oct 6th, 2009, 04:30 PM
I encounter a problem whilst compiling the spring integration source code. It looks like the missing of the dependencies jar files e.g. spring-aop 3.0, but I can not find those artifacts online after search maven or other repositories website.
http://repo2.maven.org/maven2/spring/spring-aop/ (1.x)
http://repo2.maven.org/maven2/springframework/ (1.x)
http://www.springsource.com/repository/app/bundle/detail;jsessionid=1C948BA396EFE577CB1CB851C640ACCC .jvm1?name=org.springframework.aop (2.5.x)
The error thrown by maven
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.springframework:spring-aop:jar:3.0.0.RC1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-aop -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework -DartifactId=spring-aop -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.integration:spring-integration-core:jar:2.0.0.BUILD-SNAPSHOT
2) org.springframework:spring-aop:jar:3.0.0.RC1
2) org.springframework:spring-context:jar:3.0.0.RC1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-context -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework -DartifactId=spring-context -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.integration:spring-integration-core:jar:2.0.0.BUILD-SNAPSHOT
2) org.springframework:spring-context:jar:3.0.0.RC1
3) org.springframework:spring-tx:jar:3.0.0.RC1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-tx -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework -DartifactId=spring-tx -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.integration:spring-integration-core:jar:2.0.0.BUILD-SNAPSHOT
2) org.springframework:spring-tx:jar:3.0.0.RC1
It seems like my previous post about this question was missing. Not very sure whether it is deleted (posting to the wrong place) or I did not actually post to the forum (because I search the forum but can not find my previous question). So post it again. I appologize if this is not the right place to ask.
Thanks for help.
I appreciate it.
http://repo2.maven.org/maven2/spring/spring-aop/ (1.x)
http://repo2.maven.org/maven2/springframework/ (1.x)
http://www.springsource.com/repository/app/bundle/detail;jsessionid=1C948BA396EFE577CB1CB851C640ACCC .jvm1?name=org.springframework.aop (2.5.x)
The error thrown by maven
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.springframework:spring-aop:jar:3.0.0.RC1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-aop -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework -DartifactId=spring-aop -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.integration:spring-integration-core:jar:2.0.0.BUILD-SNAPSHOT
2) org.springframework:spring-aop:jar:3.0.0.RC1
2) org.springframework:spring-context:jar:3.0.0.RC1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-context -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework -DartifactId=spring-context -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.integration:spring-integration-core:jar:2.0.0.BUILD-SNAPSHOT
2) org.springframework:spring-context:jar:3.0.0.RC1
3) org.springframework:spring-tx:jar:3.0.0.RC1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-tx -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework -DartifactId=spring-tx -Dversion=3.0.0.RC1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.integration:spring-integration-core:jar:2.0.0.BUILD-SNAPSHOT
2) org.springframework:spring-tx:jar:3.0.0.RC1
It seems like my previous post about this question was missing. Not very sure whether it is deleted (posting to the wrong place) or I did not actually post to the forum (because I search the forum but can not find my previous question). So post it again. I appologize if this is not the right place to ask.
Thanks for help.
I appreciate it.