After compile of roo-dev (see end of this post) I'm getting errors when I do perform test (using the wedding example http://blog.springsource.com/2009/05/27/roo-part-2/ ).
The compile of roo-dev shown at the end of this post says the build was successful but did produce warnings/error messages " Authorization failed: Access denied " to jar files ...
(on vista)
roo-dev>perform test
Code:: : [INFO] Unable to find resource 'org.springframework:org.springframework.web:jar: 3.0.0.RC3' in repository com.springsource.repository.bundles.external (http://re pository.springsource.com/maven/bundles/external) Downloading: http://repository.springsource.com/maven/bundles/milestone/org/spri ngframework/org.springframework.web/3.0.0.RC3/org.springframework.web-3.0.0.RC3. jar 4/351K 7/351K 11/351K : : [INFO] Unable to find resource 'org.springframework:org.springframework.web.serv let:jar:3.0.0.RC3' in repository com.springsource.repository.bundles.external (h ttp://repository.springsource.com/maven/bundles/external) Downloading: http://repository.springsource.com/m...stone/org/spri ngframework/org.springframework.web.servlet/3.0.0.RC3/org.springframework.web.se rvlet-3.0.0.RC3.jar 4/376K 8/376K : : [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.springframework.roo:org.springframework.roo.annotations:jar:1.0.0.RC4 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.springframework.roo -DartifactId=or g.springframework.roo.annotations -Dversion=1.0.0.RC4 -Dpackaging=jar -Dfile=/pa th/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.annotations -Dversion=1.0.0.RC4 -Dpackaging=jar -Dfile=/path /to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.wedding:wedding:war:0.1.0-SNAPSHOT 2) org.springframework.roo:org.springframework.roo.annotations:jar:1.0.0.R C4 ---------- 1 required artifact is missing. for artifact: com.wedding:wedding:war:0.1.0-SNAPSHOT from the specified remote repositories: com.springsource.repository.bundles.release (http://repository.springsource.co m/maven/bundles/release), com.springsource.repository.bundles.external (http://repository.springsource.c om/maven/bundles/external), central (http://repo1.maven.org/maven2), com.springsource.repository.bundles.milestone (http://repository.springsource. com/maven/bundles/milestone), com.springsource.repository.bundles.snapshot (http://repository.springsource.c om/maven/bundles/snapshot) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33 seconds [INFO] Finished at: Thu Dec 03 13:18:14 CET 2009 [INFO] Final Memory: 10M/19M [INFO] ------------------------------------------------------------------------
Compile of roo-dev from
>mvn clean eclipse:clean eclipse:eclipse compile
Code:: (snipped) : [WARNING] Unable to get resource 'org.springframework:org.springframework.core:j ava-source:sources:3.0.0.RC3' from repository com.springsource.private.repositor y.bundles.release (http://private.repository.springsource.com/maven/bundles/exte rnal): Authorization failed: Access denied to: http://private.repository.springs ource.com/maven/bundles/external/org/springframework/org.springframework.core/3. 0.0.RC3/org.springframework.core-3.0.0.RC3-sources.jar Downloading: http://repository.springsource.com/maven/bundles/milestone/org/spri ngframework/org.springframework.core/3.0.0.RC3/org.springframework.core-3.0.0.RC 3-sources.jar 348K downloaded (org.springframework.core-3.0.0.RC3-sources.jar) Downloading: http://repository.springsource.com/maven/bundles/release/org/spring framework/org.springframework.expression/3.0.0.RC3/org.springframework.expressio n-3.0.0.RC3-sources.jar [INFO] Unable to find resource 'org.springframework:org.springframework.expressi on:java-source:sources:3.0.0.RC3' in repository com.springsource.repository.bund les.release (http://repository.springsource.com/maven/bundles/release) Downloading: http://repository.springsource.com/maven/bundles/external/org/sprin gframework/org.springframework.expression/3.0.0.RC3/org.springframework.expressi on-3.0.0.RC3-sources.jar [INFO] Unable to find resource 'org.springframework:org.springframework.expressi on:java-source:sources:3.0.0.RC3' in repository com.springsource.repository.bund les.external (http://repository.springsource.com/maven/bundles/external) Downloading: http://private.repository.springsource.com/maven/bundles/external/o rg/springframework/org.springframework.expression/3.0.0.RC3/org.springframework. expression-3.0.0.RC3-sources.jar [WARNING] Unable to get resource 'org.springframework:org.springframework.expres sion:java-source:sources:3.0.0.RC3' from repository com.springsource.private.rep : : : [INFO] Spring Roo - Addon - Web - Flow ....................... SUCCESS [1.231s] [INFO] Spring Roo - Addon - Web Selenium Test Generator ...... SUCCESS [2.070s] [INFO] Spring Roo - Addon - Test Data On Demand .............. SUCCESS [1.036s] [INFO] Spring Roo - Addon - Automated Integration Testing .... SUCCESS [1.164s] [INFO] Spring Roo - Addon - Backup ........................... SUCCESS [1.338s] [INFO] Spring Roo - Bootstrap ................................ SUCCESS [35.972s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 46 seconds [INFO] Finished at: Thu Dec 03 12:40:58 CET 2009 [INFO] Final Memory: 134M/239M [INFO] ------------------------------------------------------------------------


Reply With Quote