ChrisGWarp wrote:
It is in the local workspace. It was viewed under the XML editor.
I right clicked on the pom, selected the XML Editor from the Open With>
menu.
Right. As it already been pointed out, the problem is most likely because your pom don't have proper xml schema declaration, that should look 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";>

This is required by XML editing framework we are using and currently we don't know if we can work around such limitation.

Also note that there is a bug in "add dependency" feature that break schema declaration in pom.xml. It will be fixed in 0.9.5 release, but in a mean time you may want to watch out for this. There is a completion template for correct schema declaration that can be inserted before <project> element.
I was expecting a POM Editor option to show up, but I've never seen one
(which, from the description, I was kind of expecting).
The "pom editor" will be available starting from 0.9.5 version and it will include form-based editor, xml editor, as well as dependency hierarchy and graph viewers.

 regards,
 Eugene



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

   http://xircles.codehaus.org/manage_email


Reply via email to