Hi Mirko,

It seems to be a namespace conflict with the new Codehaus plugin. My
POM did not change between Friday (when it worked) and today (when it
stopped working). I'm guessing that Maven checks the Codehaus plugin
repository by default to see if it can handle the "gwt" goal, finds
that it can and downloads it.

quadmasta on the #gwt IRC channel suggested using "mvn
com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt" which works fine. Is
there a way to give the gwt-maven residence over codehaus?

P.S. I checked the global settings.xml and can't find codehaus there.

--
Arthur Kalmenson



On Mon, Nov 24, 2008 at 11:55 AM, Mirko Nasato <[EMAIL PROTECTED]> wrote:
>
> That's weird; only plugins from org.apache.maven should be picked up
> automatically, not something from org.codehaus. What's in your
> pom.xml?
>
> 2008/11/24 Arthur Kalmenson <[EMAIL PROTECTED]>:
>>
>> I should have posted the full scanning that Maven does when it hasn't
>> downloaded the Codehaus plugin:
>>
>> [EMAIL PROTECTED]:~/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
>>
>>
>>
>> On Mon, Nov 24, 2008 at 11:33 AM, Arthur Kalmenson
>> <[EMAIL PROTECTED]> wrote:
>>> Hi everyone,
>>>
>>> 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:
>>>
>>> [EMAIL PROTECTED]:~/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
>>>
>>
>> >
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to