Установка vaadin-addons с Spring Roo завершается с помощью компиляции Maven - PullRequest
1 голос
/ 09 января 2012

Я использую Spring Source Tool Suite версии 2.8, Maven версии 3.0.3 и мой плагин Maven-Eclipse полностью обновлен. У меня есть проект Vaadin, и я пытаюсь установить пользовательские дополнения, используя командную строку Spring ROO, и все работает идеально, пока я не выполню команду: Мой файл pom.xml не показывает ошибок, и я включил свой пользовательский набор виджетов в файл web.xml?

Vaadin Widgetset create 

Оболочка ROO может обновить мой файл pom.xml, чтобы добавить необходимые файлы. Первая команда ROO: Failed

Vaadin widgetset update

[CODE]roo> vaadin widgetset update 
[INFO] Scanning for projects...
Downloading: http://maven.springframework.org/release/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/milestone/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/release/org/codehaus/mojo/maven-metadata.xml
Downloading: http://spring-roo-repository.springsource.org/release/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/milestone/org/codehaus/mojo/maven-metadata.xml
Downloading: http://spring-roo-repository.springsource.org/release/org/codehaus/mojo/maven-metadata.xml
Downloading: http://maven.springframework.org/release/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://spring-roo-repository.springsource.org/release/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/milestone/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/release/org/codehaus/mojo/maven-metadata.xml
Downloading: http://maven.springframework.org/milestone/org/codehaus/mojo/maven-metadata.xml
Downloading: http://spring-roo-repository.springsource.org/release/org/codehaus/mojo/maven-metadata.xml
4 KB   
5 KB   
9 KB   
11 KB   

Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml

Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml (11 KB at 13.0 KB/sec)
4 KB    
8 KB   
12 KB   
13 KB   
17 KB   
19 KB   

Downloaded: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (19 KB at 25.7 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.154s
[INFO] Finished at: Thu Jan 05 13:42:24 CST 2012
[INFO] Final Memory: 6M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'vaadin' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/warz07/.m2/repository), spring-maven-release (http://maven.springframework.org/release), spring-maven-milestone (http://maven.springframework.org/milestone), spring-roo-repository (http://spring-roo-repository.springsource.org/release), central (http://repo1.maven.org/maven2)] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException[/CODE]

Затем я запустил эту команду: [CODE] vaadin widgetset create [/ CODE]

vaadin widgetset create


Updated SRC_MAIN_WEBAPP/WEB-INF/web.xml
[INFO] Scanning for projects...
Downloading: http://spring-roo-repository.springsource.org/release/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/release/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/milestone/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.springframework.org/release/org/codehaus/mojo/maven-metadata.xml
Downloading: http://maven.springframework.org/milestone/org/codehaus/mojo/maven-metadata.xml
4 KB   
5 KB   
9 KB   
11 KB   

Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml (11 KB at 18.5 KB/sec)
Downloading: http://spring-roo-repository.springsource.org/release/org/codehaus/mojo/maven-metadata.xml

Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml

4 KB    
8 KB   
9 KB   
13 KB   
17 KB   
18 KB   
19 KB   

Downloaded: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (19 KB at 21.2 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.509s
[INFO] Finished at: Thu Jan 05 13:45:01 CST 2012
[INFO] Final Memory: 5M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'vaadin' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/warz07/.m2/repository), spring-maven-release (http://maven.springframework.org/release), spring-maven-milestone (http://maven.springframework.org/milestone), spring-roo-repository (http://spring-roo-repository.springsource.org/release), central (http://repo1.maven.org/maven2)] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
Updated ROOT/pom.xml [added dependencies com.google.gwt:gwt-user:2.3.0, javax.validation:validation-api:1.0.0.GA:sources; added plugin gwt-maven-plugin; added plugin vaadin-maven-plugin]
Created SRC_MAIN_JAVA/org/bixin/dugsi/client/managed/request
Created SRC_MAIN_JAVA/org/bixin/dugsi/client/managed/request/ApplicationRequestFactory.java
Created SRC_MAIN_JAVA/org/bixin/dugsi/client/scaffold/gae
Created SRC_MAIN_JAVA/org/bixin/dugsi/client/scaffold/gae/GaeHelper.java
Updated ROOT/pom.xml [removed plugin gwt-maven-plugin; added plugin gwt-maven-plugin; added dependency com.google.appengine:appengine-api-1.0-sdk:1.5.1][/CODE]

Есть ли другой способ с или без использования оболочки roo для установки дополнений vaadin с помощью maven?

...