Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
I agree.. my problem is I have a backlog of about 1000 weekend hacks :-P On Tue, Feb 24, 2015 at 10:40 AM, Aldrin Leal wrote: > that requires resource coordination. Not a huge problem at all, given the > right tools. I'd say it is worthy a weekend hack > > -- > -- Aldrin Leal, > Master your EC2

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Aldrin Leal
that requires resource coordination. Not a huge problem at all, given the right tools. I'd say it is worthy a weekend hack -- -- Aldrin Leal, Master your EC2-fu! Get the latest ekaterminal public beta http://www.ingenieux.com.br/products/ekaterminal/ On Tue, Feb 24, 2015 at 3:31 PM, Kevin Burton

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
And also, you’re right about surefire… each individual test (or chunks of say 5-10 at a time) could be run on containers too. On Tue, Feb 24, 2015 at 10:31 AM, Kevin Burton wrote: > On Tue, Feb 24, 2015 at 10:16 AM, Aldrin Leal wrote: > >> Not quite - but I've been using Drone

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
On Tue, Feb 24, 2015 at 10:16 AM, Aldrin Leal wrote: > Not quite - but I've been using Drone (which is > wrapped around Docker) with Maven with little to no problems, although > building up a baseline takes a little practice. > > Meaning you run maven WITHIN a container? I

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Aldrin Leal
Not quite - but I've been using Drone (which is wrapped around Docker) with Maven with little to no problems, although building up a baseline takes a little practice. Perhaps a better question would be, say, how to make Surefire/Failsafe fork not across a machine, but instea

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
And for us this might be a week project to resolve. We’re using embedded zookeeper, activemq, cassandra, etc in a number of our unit tests and the embedding frameworks don’t always have a way to change the port number. On Tue, Feb 24, 2015 at 10:12 AM, Kevin Burton wrote: > Yes. But while this

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
Yes. But while this solves this problem for this one situation, singletons pop up everywhere. It might not be MY library but it might be something else. File names, database table names, port numbers. I’m sure I’m missing something. With containers, all of this stuff is solved and I don’t need

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Aldrin Leal
If you set the port number to zero, you'd get a random one. Try looking at some tests out there to find out how for reference: http://stackoverflow.com/questions/2231467/dynamically-choosing-port-number -- -- Aldrin Leal, Master your EC2-fu! Get the latest ekaterminal public beta http://www.ing

Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
The ‘singleton’ problem with maven tests around port numbers, file names, is a big problem that’s bitten me over the years. I’d love if Maven could fork tests or with parallelism, run tests in a container. Right now I have two modules running tests and they are conflicting on ports. If they were