spring roo build因缺少依赖org.springframework.build.aws.maven而失败

时间:2013-11-26 11:58:08

标签: java spring maven spring-roo

我刚刚从github克隆了一份spring-roo的新副本并尝试安装它。但那失败了,因为缺少了依赖。

我怀疑该解决方案也适用于其他春季项目缺失构建的情况。

Missing:
----------
1) org.springframework.build.aws:org.springframework.build.aws.maven:jar:3.1.0.RELEASE

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.springframework.build.aws -DartifactId=org.springframework.build.aws.maven -Dversion=3.1.0.RELEASE -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.build.aws -DartifactId=org.springframework.build.aws.maven -Dversion=3.1.0.RELEASE -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
        1) org.springframework.roo:org.springframework.roo.root:pom:1.2.5.BUILD-SNAPSHOT
        2) org.springframework.build.aws:org.springframework.build.aws.maven:jar:3.1.0.RELEASE

1 个答案:

答案 0 :(得分:1)

我可以通过将spring release存储库添加到pom.xml的{​​{1}}来解决此问题。

spring-roo