Hi,
I'm trying to build Spring Roo by myself, and I'm a newbie about Srping Roo & git & maven.
I tried followning commands.
Code:
git clone git://git.springsource.org/roo/roo.git roo
cd roo
cd wrapping
mvn clean install
cd ..
mvn clean eclipse:clean eclipse:eclipse
And got a following error. (sorry, a bit long)
Code:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.springframework.roo:org.springframework.roo.support:bundle:1.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.roo
-DartifactId=org.springframework.roo.support -Dversion=1.1.0.RELEASE
-Dpackaging=bundle -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework.roo
-DartifactId=org.springframework.roo.support -Dversion=1.1.0.RELEASE
-Dpackaging=bundle -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.springframework.roo:org.springframework.roo.support.osgi:bundle:1.1.0.RELEASE
2) org.springframework.roo:org.springframework.roo.support:bundle:1.1.0.RELEASE
----------
1 required artifact is missing.
for artifact:
org.springframework.roo:org.springframework.roo.support.osgi:bundle:1.1.0.RELEASE
from the specified remote repositories:
spring-roo-repository (http://spring-roo-repository.springsource.org/release),
central (http://repo1.maven.org/maven2)
hmm
, I tried for RC1.
Code:
git checkout -b RC1 1.1.0.RC1
cd wrapping
mvn clean install
cd ..
mvn clean eclipse:clean eclipse:eclipse
And got an another error.
Code:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to download the artifact
from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework.roo
-DartifactId=org.springframework.roo.mojo.addon -Dversion=1.1.0.RC1
-Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework.roo
-DartifactId=org.springframework.roo.mojo.addon -Dversion=1.1.0.RC1
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
org.springframework.roo:org.springframework.roo.mojo.addon:maven-plugin:1.1.0.RC1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
org.springframework.roo:org.springframework.roo.mojo.addon:maven-plugin:1.1.0.RC1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Sat Oct 16 13:24:30 JST 2010
[INFO] Final Memory: 67M/381M
[INFO] ------------------------------------------------------------------------
Hmm, I should download org.springframework.roo:org.springframework.roo.mo jo.addon:maven-plugin:1.1.0.RC1
but from where?
Or Is there anothor work around? What shoud I do for this?
Regards.