It seems that if in maven-compiler-plugin configuration you have 
<source>1.5</source> <target>1.5</target> then the web version will be 2.5.

See the mapping file here:
http://svn.sonatype.org/m2eclipse/branches/raghu/org.maven.ide.eclipse.wtp.facet/src/org/maven/ide/eclipse/wtp/facet/jst.web.properties

Regards



----- Message d'origine ----
De : Alexander Vaysberg <[email protected]>
À : Maven Users List <[email protected]>
Envoyé le : Jeudi, 23 Avril 2009, 15h10mn 19s
Objet : Re: Re : Re : M2 and Eclipse

ok, and how I can it's management?

Julien HENRY schrieb:
> 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 <[email protected]>
> À : Maven Users List <[email protected]>
> 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 <[email protected]>
> À : Maven Users List <[email protected]>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>  
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>      
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to