Hi Arnaud,
Thank you for the info! I tried it out and was able to successfully run the
project using WTP. Looking forward to the final release.
-C


Arnaud HERITIER wrote:
> 
> We are actually working on the support for WTP 2.0.
> It's available in the current 2.5-SNAPSHOT.
> If if we don't discover an important issue, I'll release it between Xmas
> and
> the new year's day.
> To use it you have to add in your settings a new profile :
>     <profile>
>       <id>apache.snapshots</id>
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>false</enabled>
>           </releases>
>           <snapshots/>
>           <id>apache.snapshots</id>
>           <name>Maven Snapshots</name>
>           <url>http://people.apache.org/maven-snapshot-repository</url>
>         </repository>
>       </repositories>
>       <pluginRepositories>
>         <pluginRepository>
>           <releases>
>             <enabled>false</enabled>
>           </releases>
>           <snapshots/>
>           <id>apache.plugin.snapshots</id>
>           <name>Maven Plugin Snapshots</name>
>           <url>http://people.apache.org/maven-snapshot-repository</url>
>         </pluginRepository>
>       </pluginRepositories>
>     </profile>
> 
> And then you can use it with :
> mvn
> org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse-Dwtpversion=
> 2.0 -Papache.snapshots
> 
> Arnaud
> 
> On Dec 13, 2007 2:16 AM, cailie <[EMAIL PROTECTED]> wrote:
> 
>>
>> 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]
>>
>>
> 
> 
> -- 
> ..........................................................
> 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-tp14300046s177p14451998.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]

Reply via email to