I have noted this same problem with m2eclipse. I tracked it down to a missing
namespace attribute in the POM project element.

For example, instead of a pom project element like this:

<project xmlns="http://maven.apache.org/POM/4.0.0";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>

I would find one like this - missing the xmlns=... attribute.

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>

 In cases like this the element would start out okay (from an archetype or
new project) with the xmlns=... and sometime later it would have been
dropped by some operation in m2eclipse. Replacing the xmlns=... would
restore the values on the elements in the outline view. 

I'm not sure what operation caused it though. I'll keep an eye out for this
so as to identify a reproducible case.



Eugene Kuleshov wrote:
> 
> 
>   How did you open this particular POM? I.e. is it located in your 
> workspace or you opened it from local Maven repository? If you don't 
> know, please show how text on the editor tab look like.
> 
>   regards,
>   Eugene
> 
> [EMAIL PROTECTED] wrote:
>> Using 0.9.5.20080610-1457 under RSA V7(.0.0.6).
>> The outline view support information is missing (as seen in 
>> http://docs.codehaus.org/display/M2ECLIPSE/New+and+Noteworthy):
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/POM-editor-outline-view-tp17816117p17834896.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to