Yes, it's not the plugin, it's the embedder. And yes, it's very annoying,
but I tend to use external tools to build rather than the embedded version.
I use the plugin to make Eclipse compile my code correctly based on
artifacts I have already downloaded.

It would be nice if the embedder could be fixed, though. Really nice.

-K


On 2/28/06 10:58 AM, "Yann Le Du" <[EMAIL PROTECTED]> wrote:

> The problem is in Maven embedder :
> http://jira.codehaus.org/browse/MNG-1070
> 
> 2006/2/28, KC Baltz <[EMAIL PROTECTED]>:
>> 
>> Don't you need to install the M2 Eclipse plugin to get this to
>> work?  That's here:  http://maven.apache.org/eclipse-plugin.html
>> 
>> Note: the last I checked, the M2 Eclipse plugin still had a major bug
>> whereby it ignores your settings.xml file.
>> 
>> K.C.
>> 
>> -----Original Message-----
>> From: Kathryn Huxtable [mailto:[EMAIL PROTECTED]
>> Sent: Monday, February 27, 2006 9:06 PM
>> To: Maven Users List
>> Subject: Re: import statements in Eclipse and maven2
>> 
>> 
>> That's a link to one approach. Another approach is to enable the Maven2
>> nature for your project, which should make it use the dependencies in your
>> pom.xml file without needing to regenerate the .classpath file every time
>> you add a dependency.
>> 
>> -K
>> 
>> --
>> Kathryn Huxtable
>> Middleware Architect
>> Core Middleware
>> Information Technology, a division of Information Services
>> The University of Kansas
>> 
>> 
>> On 2/27/06 6:41 PM, "KC Baltz" <[EMAIL PROTECTED]> wrote:
>> 
>>> http://maven.apache.org/guides/mini/guide-ide-eclipse.html
>>> 
>>> 
>>> 
>>> -----Original Message-----
>>> From: Ashish Srivastava [mailto:[EMAIL PROTECTED]
>>> Sent: Monday, February 27, 2006 4:24 PM
>>> To: [email protected]
>>> Subject: import statements in Eclipse and maven2
>>> 
>>> 
>>> Hi,
>>>   I am using maven2 plugin on Eclipse and working on a
>>> project which uses maven2. In the eclipse' Java editor
>>> all the import statements (and the classes) are
>>> underlined red as if it could not find the jars. How
>>> can I configure the project to read the pom.xml and
>>> work out all the dependencies?
>>> 
>>> -Ashish
>>> 
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam protection around
>>> http://mail.yahoo.com
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to