Hi people!
We use new version Spring Roo 1.1.0 M2 and we have the following error with dependecies:
~.domain.Pedido roo> perform package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building demoRoo
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.springframework.org/rel....5.1-Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-coreom:3.5.1-Final' in repository spring-maven-release (http://maven.springframework.org/release)
....
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.hibernate.javax.persistence -DartifactId=hibernate-jpa-2.0-api -Dversion=1.0.0.Final -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.hibernate.javax.persistence -DartifactId=hibernate-jpa-2.0-api -Dversion=1.0.0.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.demo.roo:demoRoo:jar:0.1.0.BUILD-SNAPSHOT
2) org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final
2) org.hibernate:hibernate-core:jar:3.5.1-Final
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-core -Dversion=3.5.1-Final -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.hibernate -DartifactId=hibernate-core -Dversion=3.5.1-Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.demo.roo:demoRoo:jar:0.1.0.BUILD-SNAPSHOT
2) org.hibernate:hibernate-core:jar:3.5.1-Final
3) org.hibernate:hibernate-entitymanager:jar:3.5.1-Final
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.5.1-Final -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.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.5.1-Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.demo.roo:demoRoo:jar:0.1.0.BUILD-SNAPSHOT
2) org.hibernate:hibernate-entitymanager:jar:3.5.1-Final
We try to find the repository on http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.5.1-Final/ and we can't find it.
Do you know the problem? Why the pom contains this Hibernate's version?
Txs!


om:3.5.1-Final' in repository spring-maven-release (
Reply With Quote