maven pre-integration and jetty/tomcat:run

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

maven pre-integration and jetty/tomcat:run

by bimargulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has anyone ever run a CXF service for maven integration tests by putting one
of the container plugins into pre-integration/post-integration?

Re: maven pre-integration and jetty/tomcat:run

by dkulp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu October 29 2009 12:22:35 pm Benson Margulies wrote:
> Has anyone ever run a CXF service for maven integration tests by putting
>  one of the container plugins into pre-integration/post-integration?

No, but I've often wondered if doing something like that for the systests
might be better.   Start all the services needed "upfront" in a single war,
run all the tests, then shut them down.

Then again, that sucks from a eclipse/debugging standpoint.

--
Daniel Kulp
dkulp@...
http://www.dankulp.com/blog

Re: maven pre-integration and jetty/tomcat:run

by bimargulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I got it to work & it is not too bad. mvnDebug is your friend.

On Oct 30, 2009, at 2:13 PM, Daniel Kulp <dkulp@...> wrote:

> On Thu October 29 2009 12:22:35 pm Benson Margulies wrote:
>> Has anyone ever run a CXF service for maven integration tests by  
>> putting
>> one of the container plugins into pre-integration/post-integration?
>
> No, but I've often wondered if doing something like that for the  
> systests
> might be better.   Start all the services needed "upfront" in a  
> single war,
> run all the tests, then shut them down.
>
> Then again, that sucks from a eclipse/debugging standpoint.
>
> --
> Daniel Kulp
> dkulp@...
> http://www.dankulp.com/blog