How to resolve Required gwt mojo goal not found er

Q) I seem to have a conflict with another plugin that has the same prefix "gwt". How do I use multiple repositories that have different plugins with the same prefixes?

 

If you get errors that indicate the plugin does not exist, such as: "The plugin 'org.apache.maven.plugins:maven-gwt-plugin' does not exist or no valid version could be found", it may be because you have another repository enabled that has a different plugin with the gwt prefix.

To work around this (if you need both repos), try using the fully qualified name for the GWT-Maven plugin:

mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章