Hi ,
i have in April the this problem between M2 Plugin and Maven:-
http://www.nabble.com/M2-and-Eclipse-td23195404.html.
Can you say, have you any changed?
Re : Re : Re : Re : M2 and Eclipse
Click to flag this post <javascript: void Nabble.setFlag(23198803);>
by Julien HENRY <http://www.nabble.com/user/UserProfile.jtp?user=76762>
Apr 23, 2009; 04:46pm :: Rate this Message:
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>- Use ratings to
moderate (? <http://www.nabble.com/help/Answer.jtp?id=16>)
Reply <http://www.nabble.com/forum/Reply.jtp?post=23198803> | Reply to
Author <http://www.nabble.com/user/SendEmail.jtp?type=pm&post=23198803>
| Print <http://www.nabble.com/forum/PrintPost.jtp?post=23198803> | View
Threaded <javascript: void Nabble.setView('newthreaded',23198803);> |
Show Only this Message
<http://www.nabble.com/Re-%3A-Re-%3A-Re-%3A-Re-%3A-M2-and-Eclipse-p23198803.html>
Good point. According to me, *m2eclipse* should rely on servlet API
version instead of Java version. Perhaps should you open a bug on
*m2eclipse* tracker:
https://issues.sonatype.org/browse/MNGECLIPSE
Regards,
Julien
----- Message d'origine ----
De : Alexander *Vaysberg* <w...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=0>>
À : Maven Users List <us...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=1>>
Envoyé le : Jeudi, 23 Avril 2009, 15h30mn 44s
Objet : Re: Re : Re : Re : *M2* *and* Eclipse
but, if i have a *project* with 1.5 jdk *and* must using the 2.4 *web*
server?
Julien HENRY schrieb:
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
<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* <w...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=2>>
À : Maven Users List <us...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=3>>
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
<http://docs.codehaus.org/display/M2ECLIPSE/Maven+To+WTP>
>
> Julien
>
>
> ----- Message d'origine ----
> De : Julien HENRY <henr...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=4>>
> À : Maven Users List <us...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=5>>
> 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...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=6>>
> À : Maven Users List <us...@...
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=7>>
> 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]