Re: [mevenide-user] Badly formed Maven project

Wouter van Reeven <[email protected]> Tue, 28 Oct 2008 12:27:16 +0100
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
Hi Milos,


Thanks for your answer.

On Tue, Oct 28, 2008 at 12:01:46PM +0100, Milos Kleint wrote:
> Well, it generally means that the project failed loading. The loading
> is done with the 3.0-SNAPSHOT embedder, so mvn eclipse:eclipse is
> probably fine because a different version of maven was used.
> sometimes there's problems with poor multithreading of maven embedder.
> sometimes there's a bug in the embedder code.
> And of course sometimes there's a wrong pom.
> from outside of the embedder it's hard to tell what is wrong. The
> exception that gets thrown is often (unless a clear Xml parsing error)
> not clear.
>=20
> I think I've done some improvements in this area for 6.5, definitely
> should be failing less often but still can happen. But definitely
> something of of my reach to fix altogether :(

I am using maven 2.0.9 under Debian. When I try to execute the "package" go=
al I
get these errors:

[ERROR]Failed to load external profiles from project directory:=20
[ERROR]/home/wouter/dev/vp/workspace/vpa
[ERROR]Error message:=20
[ERROR]Unrecognised tag: 'settings' (position: START_TAG seen <?xml version=
=3D"1.0"?>\n<settings>... @2:11)=20
[ERROR]Line: =02
[ERROR]Column:=20
[ERROR]Project Id: nl.amis.vp:vpa:war:1.0-SNAPSHOT
[ERROR]From file: /home/wouter/dev/vp/workspace/vpa/pom.xml
[ERROR]Some tips:
[ERROR] - XSD location: http://maven.apache.org/xsd/profiles-1.0.0.xsd

It looks like MevenIDE doesn't like my profiles.xml file. It looks like this

<?xml version=3D"1.0"?>
<settings>
    <activeProfiles>
        <activeProfile>glassfish</activeProfile>
        <activeProfile>oracle</activeProfile>
    </activeProfiles>
</settings>

Any idea how I may improve it?


Thanks, Wouter

--=20

People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"

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

    http://xircles.codehaus.org/manage_email