Eugene Kuleshov <[EMAIL PROTECTED]> wrote on 16/06/2008 00:05:53:

> 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";>

But it does...:

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd"; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>

    <modelVersion>4.0.0</modelVersion>

Ah! I see, you must have a default name space supplied.

I did not have this bit: 

xmlns="http://maven.apache.org/POM/4.0.0"; 

added to the project definition. All good now. I'll go and fix the 
archetypes now as well.

Thanks!
 
>   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.

That is what I was looking for.

Is it meant to be in/functional in 0.9.5.20080610?

-Chris


**********************************************************************
CAUTION - This message is intended for the addressee named above. It may 
contain privileged or confidential information. 

If you are not the intended recipient of this message you must: 
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer 
immediately.

Internet emails are not necessarily secure. Australian Associated Motors 
Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not 
accept responsibility for changes made to this message after it was sent.

Unless otherwise stated, views expressed within this email are the author's own 
and do not represent those of AAMI.
**********************************************************************

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

    http://xircles.codehaus.org/manage_email


Reply via email to