Ok, it's working.
without problem in the project facets.
thank you for your help.
Post by Fred BriconHi Adil,
This is a WTP limitation. You cannot change the facet version of Web,
Ear, Ejb (and probably JCA) projects.
An immediate solution would be to delete your project in eclipse (not
the content), then outside eclipse, remove .classpath, .settings and
.project
Make sure you have a 2.5 web.xml in src\main\webapp\WEB-INF. It's the
most important part, as the web project facet is based on it.
Then you'll need to specifically set the maven-compiler-plugin version
<build>
...
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
...
</plugins>
</build>
then import your project back in WTP.
Alternatively you can set the maven-compiler-plugin after your project
is imported, but then you'd have to
left-click on the project, choose Maven > Update Configuration
Hope that helps.
regards,
Fred Bricon
On Wed, Sep 17, 2008 at 11:34 AM, ADIL KELLOUAI
Post by ADIL KELLOUAIHello,
It's my first use of m2eclipse plugin. I want to create a wtp
project
for
Post by ADIL KELLOUAIjsf using the myfaces artifact. The project is well created but the
dynamic
Post by ADIL KELLOUAIweb module version is 2.4. I need the 2.5 version. How can I switch
to
it. I
Post by ADIL KELLOUAItry to do it by changing the project facte but this operation is not
possible.
Any help is appreciated. Thank you.
Adil
--
GMail rox!
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email