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.
>
> 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" goal I
get these errors:
[ERROR]Failed to load external profiles from project directory:
[ERROR]/home/wouter/dev/vp/workspace/vpa
[ERROR]Error message:
[ERROR]Unrecognised tag: 'settings' (position: START_TAG seen <?xml version="1.0"?>\n<settings>... @2:11)
[ERROR]Line:
[ERROR]Column:
[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.xsdIt looks like MevenIDE doesn't like my profiles.xml file. It looks like this
<?xml version="1.0"?>
<settings>
<activeProfiles>
<activeProfile>glassfish</activeProfile>
<activeProfile>oracle</activeProfile>
</activeProfiles>
</settings>
Any idea how I may improve it?
Thanks, Wouter
--
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