I can't launch hosted mode in any of my projects because Maven is
picking up the Codehaus Mojo plugin instead. It fails because the new
plugin requires Maven 2.0.9, but this is very frustrating, I want it
to use the gwt-maven plugin. I haven't changed any settings in my POM
which worked perfectly fine on Friday. Here's the error:
arthur@ares:~/work/mshab/mshab-widgets$ mvn gwt:gwt
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'gwt'.
[INFO] Ignoring available plugin update: 1.0 as it requires Maven version 2.0.9
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.codehaus.mojo:gwt-maven-plugin' does not exist
or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Nov 24 11:20:50 EST 2008
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
Thank you in advance.
Regards,
--
Arthur Kalmenson
arthur@ares:~/work/upma$ mvn gwt:gwt
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'gwt'.
[INFO] artifact org.codehaus.mojo:gwt-maven-plugin: checking for
updates from gwt-maven-plugins
[INFO] artifact org.codehaus.mojo:gwt-maven-plugin: checking for
updates from central
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/gwt-maven-plugin/1.0/gwt-maven-plugin-1.0.pom
7K downloaded
[INFO] Ignoring available plugin update: 1.0 as it requires Maven version 2.0.9
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.codehaus.mojo:gwt-maven-plugin' does not exist
or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Nov 24 11:45:07 EST 2008
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
This is infuriating and very annoying :(
--
Arthur Kalmenson
| Just to confirm, my team has also run into this issue just recently today (11/24). This will definitely impact a large number of people. I found the old issue from April talking about the codehaus plugin, and whether or not this project (google gwt-maven) was going to change their prefix or not. For those still stuck, resolution is to instead of 'mvn gwt:gwt', use: mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt Reference link: http://code.google.com/p/gwt-maven/issues/detail?id=107 -D --- On Mon, 11/24/08, Mirko Nasato <mirko....@gmail.com> wrote: |
| gwtmaven +1 (matches the project name) --- On Tue, 11/25/08, Charlie Collins <charlie...@gmail.com> wrote: |
My motive is that we're about to force everyone to re-learn how to
launch, we may as well clear out the entire garage of target names,
etc. :-)
-jesse