WTP 2.0 strategy?

View: New views
4 Messages — Rating Filter:   Alert me  

WTP 2.0 strategy?

by Bugzilla from rob@hasselbaum.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm trying to use Maven for an Eclipse Europa (WTP 2.0) project. What's
the best way to do this, given that the Eclipse plugin doesn't support
WTP 2.0 yet? I tried running the eclipse:eclipse goal anyway and managed
to turn the resulting "plain" project into a Web App project. But the
problem I'm facing now is that Eclipse won't deploy any of the
Maven-managed dependency libraries with the WAR file. In order for that
to happen, I think they need to be present under the WEB-INF\lib folder
in the project. Is there any way to do this short of me going into the
M2 repo and copying them by hand?

Also, since I'm new to Maven, how does the Eclipse project get updated
if the dependencies change?

Any advice appreciated!
-Rob

Re: WTP 2.0 strategy?

by Siarhei :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

maven-eclipse-plugin 2.5-SNAPSHOT does support WTP 2.0 with hot deployment
on servers defined via WTP and even exploded deployment of JBoss Tools 2.0.

On 12/10/07, Rob Hasselbaum <rob@...> wrote:

>
> Hi,
>
> I'm trying to use Maven for an Eclipse Europa (WTP 2.0) project. What's
> the best way to do this, given that the Eclipse plugin doesn't support
> WTP 2.0 yet? I tried running the eclipse:eclipse goal anyway and managed
> to turn the resulting "plain" project into a Web App project. But the
> problem I'm facing now is that Eclipse won't deploy any of the
> Maven-managed dependency libraries with the WAR file. In order for that
> to happen, I think they need to be present under the WEB-INF\lib folder
> in the project. Is there any way to do this short of me going into the
> M2 repo and copying them by hand?
>
> Also, since I'm new to Maven, how does the Eclipse project get updated
> if the dependencies change?
>
> Any advice appreciated!
> -Rob
>
IPROFS
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl

Re: WTP 2.0 strategy?

by Bugzilla from rob@hasselbaum.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I noticed that. Is the snapshot code fairly stable at this point?
I'm glad to hear it plays nicely with JBoss Tools, too.


On 12/11/2007 07:13 AM, Siarhei Dudzin wrote:

> maven-eclipse-plugin 2.5-SNAPSHOT does support WTP 2.0 with hot deployment
> on servers defined via WTP and even exploded deployment of JBoss Tools 2.0.
>
> On 12/10/07, Rob Hasselbaum <rob@...> wrote:
>  
>> Hi,
>>
>> I'm trying to use Maven for an Eclipse Europa (WTP 2.0) project. What's
>> the best way to do this, given that the Eclipse plugin doesn't support
>> WTP 2.0 yet? I tried running the eclipse:eclipse goal anyway and managed
>> to turn the resulting "plain" project into a Web App project. But the
>> problem I'm facing now is that Eclipse won't deploy any of the
>> Maven-managed dependency libraries with the WAR file. In order for that
>> to happen, I think they need to be present under the WEB-INF\lib folder
>> in the project. Is there any way to do this short of me going into the
>> M2 repo and copying them by hand?
>>
>> Also, since I'm new to Maven, how does the Eclipse project get updated
>> if the dependencies change?
>>
>> Any advice appreciated!
>> -Rob
>>
>>    
>
>  


Re: WTP 2.0 strategy?

by Siarhei :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, it looks pretty stable (at least the WTP-2 support)

On 12/11/07, Rob Hasselbaum <rob@...> wrote:

>
> Yes, I noticed that. Is the snapshot code fairly stable at this point?
> I'm glad to hear it plays nicely with JBoss Tools, too.
>
>
> On 12/11/2007 07:13 AM, Siarhei Dudzin wrote:
> > maven-eclipse-plugin 2.5-SNAPSHOT does support WTP 2.0 with hot
> deployment
> > on servers defined via WTP and even exploded deployment of JBoss Tools
> 2.0.
> >
> > On 12/10/07, Rob Hasselbaum <rob@...> wrote:
> >
> >> Hi,
> >>
> >> I'm trying to use Maven for an Eclipse Europa (WTP 2.0) project. What's
> >> the best way to do this, given that the Eclipse plugin doesn't support
> >> WTP 2.0 yet? I tried running the eclipse:eclipse goal anyway and
> managed
> >> to turn the resulting "plain" project into a Web App project. But the
> >> problem I'm facing now is that Eclipse won't deploy any of the
> >> Maven-managed dependency libraries with the WAR file. In order for that
> >> to happen, I think they need to be present under the WEB-INF\lib folder
> >> in the project. Is there any way to do this short of me going into the
> >> M2 repo and copying them by hand?
> >>
> >> Also, since I'm new to Maven, how does the Eclipse project get updated
> >> if the dependencies change?
> >>
> >> Any advice appreciated!
> >> -Rob
> >>
> >>
> >
> >
>
>
IPROFS
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl