Two things:
1. M2eclipse supports both versions of maven project dependencies
* all in one big project with the modules as subfolders, in this case
some of the functionalities of Eclipse do not work. Up to now I did not see any
project like your packaging combination in this category.
* all modules and the main project as separate Eclipse projects
2. Have a look at http://taylor.sourceforge.net/index.php/Overview as an
example for your requirements. It runs with 3.3 Eclipse maybe it gives some
additional info
regards
Holger Sachse
Würth Phoenix S.r.l.
Holger Sachse
Via Kravogl 4
I-39100 Bolzano
Direct: +39 0471 56 40 16
Mobile: +39 335 6 19 24 74
Fax: +39 0471 56 41 22
E-Mail: [EMAIL PROTECTED]
Website: www.wuerth-phoenix.com
-----Original Message-----
From: cailie [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 13, 2007 02:16
To: [email protected]
Subject: Re: maven + eclipse server adapter
Good point.... I tried that and received the following:
Unsupported WTP version: 2.0. This plugin currently supports only the
following versions: 1.0 1.5 R7 none.
I am using Eclipse Europa, so that includes WTP 2.0. So I tried to see if
specifying 1.5 or R7 would work. It didn't .... it looked like it might
work, but then deployment failed with a weird error:
Could not publish to the server.
index=0, size=0
There is no problem with my EAR file -- it deploys fine with the Glassfish
asadmin tool.
Arnaud HERITIER wrote:
>
> Did you generated your eclipse settings with the WTP option of the eclipse
> plugin ?
> It should activate the support required to deploy your artifacts in the
> application server
>
> Arnaud
>
> On Dec 12, 2007 6:37 PM, cailie <[EMAIL PROTECTED]> wrote:
>
>>
>> I have a multi-module POM project that packages three modules: EAR, EJB,
>> and
>> WAR. To deploy the EAR module, I use the codehaus exec-maven-plugin.
>>
>> Now, I would like to use the Glassfish V2 Java EE 5 server adapter for
>> Eclipse and manage the deployment through the IDE.
>>
>> Not surprisingly, this is not as simple as it is for Eclipse-generated
>> web
>> projects -- I cannot right-click on the server under the "Server" view
>> and
>> add my multi-module project, nor any of its modules. They are not
>> presented
>> as choices in the "Add and Remove Projects" wizard.
>>
>> Ideally, I would like to configure my project using Maven so that it can
>> be
>> automatically run via the Eclipse server adapter. Anyone have ideas on
>> this?
>>
>> * I have searched for related posts in this forum, but did not find
>> anything. If you find something, please let me know.
>> --
>> View this message in context:
>> http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14300046.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>
>
--
View this message in context:
http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14307863.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]