2013-11-26 2 views
1

Я просто клонировал новую копию пружинного роя из github и попытался установить его. Но это не удавалось, потому что отсутствовала зависимость.Spring roo build терпит неудачу из-за отсутствия зависимости org.springframework.build.aws.maven

Я подозреваю, что решение работает и для других случаев отсутствия сборки в весенних проектах.

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

я мог бы решить эту проблему, добавив репозиторий пружинные высвобождает в pom.xml из spring-roo.

... 
<repositories> 
    ... 
    <repository> 
      <id>repository.springframework.maven.release</id> 
      <name>Spring Framework Maven Release Repository</name> 
      <url>http://maven.springframework.org/release</url> 
    </repository>  
</repositories> 
... 
Смежные вопросы