Forgot my previous message.

According to [1] it seems it is not based on servlet-api version but on 
compiler version.

[1] : http://docs.codehaus.org/display/M2ECLIPSE/Maven+To+WTP

Julien


----- Message d'origine ----
De : Julien HENRY <henr...@yahoo.fr>
À : Maven Users List <users@maven.apache.org>
Envoyé le : Jeudi, 23 Avril 2009, 14h11mn 11s
Objet : Re : M2 and Eclipse


Hi,

Do you have declared servlet-api as a dependency in your pom? If yes, which 
version?

Regards,

Julien



----- Message d'origine ----
De : Alexander Vaysberg <w...@vaisberg.de>
À : Maven Users List <users@maven.apache.org>
Envoyé le : Jeudi, 23 Avril 2009, 13h55mn 55s
Objet : M2 and Eclipse

Hi,

i have a Problem with M2Plugin in Eclipse. If I generate the project with  mvn 
eclipse:m2eclipse then the org.eclipse.wst.common.project.facet.core.xml has :
<faceted-project>
<fixed facet="jst.java"/>
<fixed facet="jst.web"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="jst.java" version="5..0"/>
</faceted-project>
But, if I used the in Eclipse "Update Project Configuration" than I have:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="jst.java"/>
<fixed facet="jst.web"/>
<installed facet="jst..java" version="5.0"/>
<installed facet="jst.web" version="2.5"/>
</faceted-project>
The Problem ist jst.web version="2.5". I use Tomcat 5.5(Tomcat version 5.5 only 
supports J2EE 1.2, 1.3, and 1.4 Web modules).. Tomcat 5.5 is 2.4. How can I it 
configuration, that is the same  if  I it  "Update Project Configuration".

Alexander Vaysberg



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to