RE: Maven 2, Eclipse WTP

2006-11-09 Thread hermod.opstvedt
Hi

Sorry, I am using a newer version that obviously supports 1.5 (At least it does 
not complain when I specify that parameter). Use 1.0 instead then with your 
version.

Hermod

-Original Message-
From: Daniel Serodio [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 2:47 PM
To: Maven Users List
Subject: Re: Maven 2, Eclipse  WTP


[EMAIL PROTECTED] wrote:
 Hi

 There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 
 eclipse:eclipse (You can also specify 1.5 and 0.7 for wtpversion)
   
I tried using 1.5 but it gave me an error Unsupported WTP version: 1.5.
This plugin currently supports only the following versions: 1.0 R7 none.

Daniel Serodio
 -Original Message-
 From: Alexandre Touret [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 07, 2006 10:30 AM
 To: Maven Users List
 Subject: Re: Maven 2, Eclipse  WTP


 Hello,
 I have already tried this.

 Regards,
 Alexandre
 [EMAIL PROTECTED] wrote:
   
 Hi

 Try: mvn -DwtpVersion=1.0 eclipse:eclipse

 Hermod
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2, Eclipse WTP

2006-11-07 Thread Alexandre Touret

Hello,
I have already tried this.

Regards,
Alexandre
[EMAIL PROTECTED] wrote:

Hi

Try: mvn -DwtpVersion=1.0 eclipse:eclipse

Hermod

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2, Eclipse WTP

2006-11-07 Thread Alexandre Touret

Alexandre Touret wrote:


2 / The configuration of project facets
how may configure the eclipse plugin in order to specify the versions 
of projects facets of WTP (Servlet API version number, JAVA version 
,...) ?


I finally solved this problem. I add the following configuration to the 
maven-compiler-plugin


   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
   source1.5/source
   target1.5/target
   /configuration
   /plugin

Regards,
Alexandre

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven 2, Eclipse WTP

2006-11-07 Thread hermod.opstvedt
Hi

There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 eclipse:eclipse 
(You can also specify 1.5 and 0.7 for wtpversion)

Hermod

-Original Message-
From: Alexandre Touret [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 10:30 AM
To: Maven Users List
Subject: Re: Maven 2, Eclipse  WTP


Hello,
I have already tried this.

Regards,
Alexandre
[EMAIL PROTECTED] wrote:
 Hi

 Try: mvn -DwtpVersion=1.0 eclipse:eclipse

 Hermod

   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2, Eclipse WTP

2006-11-07 Thread Daniel Serodio
[EMAIL PROTECTED] wrote:
 Hi

 There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 
 eclipse:eclipse (You can also specify 1.5 and 0.7 for wtpversion)
   
I tried using 1.5 but it gave me an error Unsupported WTP version: 1.5.
This plugin currently supports only the following versions: 1.0 R7 none.

Daniel Serodio
 -Original Message-
 From: Alexandre Touret [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 07, 2006 10:30 AM
 To: Maven Users List
 Subject: Re: Maven 2, Eclipse  WTP


 Hello,
 I have already tried this.

 Regards,
 Alexandre
 [EMAIL PROTECTED] wrote:
   
 Hi

 Try: mvn -DwtpVersion=1.0 eclipse:eclipse

 Hermod
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2, Eclipse WTP

2006-11-07 Thread Srepfler Srgjan

Daniel Serodio wrote:

[EMAIL PROTECTED] wrote:
  

Hi

There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 eclipse:eclipse 
(You can also specify 1.5 and 0.7 for wtpversion)
  


I tried using 1.5 but it gave me an error Unsupported WTP version: 1.5.
This plugin currently supports only the following versions: 1.0 R7 none.
  

If you add the snapshots repository you could use 1.5 as well.
Srgjan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2, Eclipse WTP

2006-11-06 Thread Steinar Bang
 Alexandre Touret [EMAIL PROTECTED]:

 1 / The location of WEB-INF directory
 according to the maven structure, I put the WEB-INF directory in
 src/main/webapp
 Unfortunately when I start mvn eclipse:eclipse WTP doesnt retreive
 tthe right path of WEB-INF directory and always create a directory
 under src/main/java.
 How may I configure maven or wtp to configure this path ?
 Is the location of my WEB-INF directory on the right path ?

I thought it was supposed to be
 src/main/resources/WEB-INF
?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven 2, Eclipse WTP

2006-11-06 Thread hermod.opstvedt
Hi

Try: mvn -DwtpVersion=1.0 eclipse:eclipse

Hermod

-Original Message-
From: Alexandre Touret [mailto:[EMAIL PROTECTED]
Sent: Monday, November 06, 2006 1:48 PM
To: Maven Users List
Subject: Maven 2, Eclipse  WTP


Hello,
I m trying to integration a J2EE multiproject built with maven2 under 
eclipse WTP (last version)

I have some troubles:

1 / The location of WEB-INF directory
according to the maven structure, I put the WEB-INF directory in 
src/main/webapp
Unfortunately when I start mvn eclipse:eclipse WTP doesnt retreive tthe 
right path of WEB-INF directory and always create a directory under 
src/main/java.
How may I configure maven or wtp to configure this path ?
Is the location of my WEB-INF directory on the right path ?

2 / The configuration of project facets
how may configure the eclipse plugin in order to specify the versions of 
projects facets of WTP (Servlet API version number, JAVA version ,...) ?

3/ The context root

I saw a bug entry to this subject.But is there a way to configure the 
context root of a dynamic web project ?

Thanks for your help

Regards,
Alexandre






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2, Eclipse WTP

2006-11-06 Thread Srepfler Srgjan

Steinar Bang wrote:

Alexandre Touret [EMAIL PROTECTED]:



  

1 / The location of WEB-INF directory
according to the maven structure, I put the WEB-INF directory in
src/main/webapp
Unfortunately when I start mvn eclipse:eclipse WTP doesnt retreive
tthe right path of WEB-INF directory and always create a directory
under src/main/java.
How may I configure maven or wtp to configure this path ?
Is the location of my WEB-INF directory on the right path ?



I thought it was supposed to be
 src/main/resources/WEB-INF
?
  

What? Isn't it src\main\webapp\WEB-INF ?

Srgjan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]