hello,
i read a lot about profiles ans i 'm stuck on a problem
i'm using eclipse 3.2
my maven version is :
Maven version: 2.0.8
my java version is:
Java version: 1.6.0_03
so, in my pom.xml, i have a profile with build, plugins and depedencies
like this:
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>groupid</groupId>
<artifactId>artifactid</artifactId>
[...]
<profile>
<build>
[...]
</build>
<depedencies>
[...]
</depedencies>
[...]
</profile>
</project>
when i run this pom with the eclipse external tools launcher, everything
works fine
but i put mu profile between <profiles> tag like this
<project>
[...]
<profiles>
<profile>
[...]
</profile>
</profiles>
</project>
to add another profile, i've got an error which is:
INFO]
----------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Error scanning for extensions: Error building model lineage in
order to pre-scan for extensions: Failed to parse model from:
/home/<project>/pom.xml for project unknown at /home/<project>/pom.xml
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Jan 31 14:23:32 CET 2008
[INFO] Memory 2M/4M
[INFO]
----------------------------------------------------------------------------
what's wrong with my config??
regards
supareno
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]