Re: newbie problem with deploy:deploy-file

2014-06-17 Thread Robert Scholte
Hi Andy, First of all: welcome in the world of Apache Maven! I won't go into detail too much right now, I'd suggest to do some getting-started tutorials[2] to understand the basics. Let's start with: With Maven you can call 2 things: a phase of a lifecycle[1] or a goal from a specific

Running plugin with own classloader for slf4j in maven 3.2

2014-06-17 Thread alexlehm
Until Maven 3.0.x it was possible to run plugins that use slf4j with a configuration of slf4j chosen by the project files (e.g. slf4j log4j binding or a simplelogging config in the project), since Maven wasn't using slf4j itself. Now in 3.2, the slf4j classes are loaded by Maven and so use the

Re: Running plugin with own classloader for slf4j in maven 3.2

2014-06-17 Thread Michael Osipov
Am 2014-06-17 21:34, schrieb alexlehm: Until Maven 3.0.x it was possible to run plugins that use slf4j with a configuration of slf4j chosen by the project files (e.g. slf4j log4j binding or a simplelogging config in the project), since Maven wasn't using slf4j itself. Now in 3.2, the slf4j

Re: Running plugin with own classloader for slf4j in maven 3.2

2014-06-17 Thread Jason van Zyl
I've seen 3 people ask about this thus far but making this mechanism configurable for servers that need to run inside Maven is not high on my priority list. Can you not just fork and then use the runtime as it would be launched in production. Running app servers inside Maven in general I don't

Re: newbie problem with deploy:deploy-file

2014-06-17 Thread Andrew Davidson
many many thanks Andy On Jun 17, 2014, at 11:28 AM, Robert Scholte rfscho...@apache.org wrote: Hi Andy, First of all: welcome in the world of Apache Maven! I won't go into detail too much right now, I'd suggest to do some getting-started tutorials[2] to understand the basics. Let's

Re: Running plugin with own classloader for slf4j in maven 3.2

2014-06-17 Thread alexlehm
When I include logback in the project, it just keeps using the simple logger, there is no message about multiple bindings. You can swap slf4j-simple against Logback if you like. As far as I know, plugins are isolated aren't they? Does SLF4J report duplicate bindings if you try so? --

Re: Running plugin with own classloader for slf4j in maven 3.2

2014-06-17 Thread alexlehm
Thanks, I will take a look how to implement that. I've seen 3 people ask about this thus far but making this mechanism configurable for servers that need to run inside Maven is not high on my priority list. Can you not just fork and then use the runtime as it would be launched in production.