You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Julien HENRY <he...@yahoo.fr> on 2009/04/23 14:23:08 UTC

Re : Re : M2 and Eclipse

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 <he...@yahoo.fr>
À : Maven Users List <us...@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 <wo...@vaisberg.de>
À : Maven Users List <us...@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


  


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


      


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


Re : Re : Re : Re : M2 and Eclipse

Posted by Julien HENRY <he...@yahoo.fr>.
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 <wo...@vaisberg.de>
À : Maven Users List <us...@maven.apache.org>
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
>
> Regards
>
>
>
> ----- Message d'origine ----
> De : Alexander Vaysberg <wo...@vaisberg.de>
> À : Maven Users List <us...@maven.apache.org>
> 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 <he...@yahoo.fr>
>> À : Maven Users List <us...@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 <wo...@vaisberg.de>
>> À : Maven Users List <us...@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-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache..org
>>
>>
>>  
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>      
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven..apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>  
>>    
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>      
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven..apache.org
>
>  


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


      


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


Re: Re : Re : Re : M2 and Eclipse

Posted by Alexander Vaysberg <wo...@vaisberg.de>.
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
>
> Regards
>
>
>
> ----- Message d'origine ----
> De : Alexander Vaysberg <wo...@vaisberg.de>
> À : Maven Users List <us...@maven.apache.org>
> 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 <he...@yahoo.fr>
>> À : Maven Users List <us...@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 <wo...@vaisberg.de>
>> À : Maven Users List <us...@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-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache..org
>>
>>
>>  
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>      
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>  
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>       
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   


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


Re : Re : Re : M2 and Eclipse

Posted by Julien HENRY <he...@yahoo.fr>.
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 <wo...@vaisberg.de>
À : Maven Users List <us...@maven.apache.org>
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 <he...@yahoo.fr>
> À : Maven Users List <us...@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 <wo...@vaisberg.de>
> À : Maven Users List <us...@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache..org
>
>
>  
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>      
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>  


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


      


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


Re: Re : Re : M2 and Eclipse

Posted by Alexander Vaysberg <wo...@vaisberg.de>.
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 <he...@yahoo.fr>
> À : Maven Users List <us...@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 <wo...@vaisberg.de>
> À : Maven Users List <us...@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>   
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>       
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   


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