Re: [ANN] Maven Assembly Plugin 2.2-beta-3 Released

2009-01-07 Thread TM
This was eagerly awaited. Thanks for the good work! However, I've found one minor difference that caused a change in my assembly descriptors when upgrading from 2.2-beta-1 to 2.2-beta-3. So far, it was possible to exclude an entire directory from a fileset just by listening its name, as in the

WLST scripts support in maven 1.X

2009-01-07 Thread mohan1982
Hi all, I am very much new to maven, and i want to invoke a WLST script to start/stop ...weblogic server from maven goals. is maven supports such things? What are pre-requisites for this? plz provide some sample examples or useful links if possible. Thnx in advance. -- View this message in

skipping execution of plugins, which are creating the environment for tests

2009-01-07 Thread Eugeny N Dzhurinsky
Hello! Can somebody please advice, is it possible to skip execution of certain plugins, which are only needed when performing the tests? For instance, we need to prepare the correct SQL database for our tests, we are using sql-maven-plugin to create the database and insert the required data into

Re: skipping execution of plugins, which are creating the environment for tests

2009-01-07 Thread Baptiste MATHUS
Hi, Just an idea, I see here ( http://mojo.codehaus.org/sql-maven-plugin/execute-mojo.html#skip) there's a skip option. Have you tried adding the corresponding configuration, and just put something like: configuration skip${maven.test.skip}/skip /configuration HTH. Cheers 2009/1/7 Eugeny N

Re: skipping execution of plugins, which are creating the environment for tests

2009-01-07 Thread John Stoneham
On Wed, Jan 7, 2009 at 9:22 AM, Eugeny N Dzhurinsky b...@redwerk.com wrote: Can somebody please advice, is it possible to skip execution of certain plugins, which are only needed when performing the tests? You could create a profile that contains these plugins, which is activated in the absence

Re: skipping execution of plugins, which are creating the environment for tests

2009-01-07 Thread Eugeny N Dzhurinsky
On Wed, Jan 07, 2009 at 03:36:44PM +0100, Baptiste MATHUS wrote: Hi, Just an idea, I see here ( http://mojo.codehaus.org/sql-maven-plugin/execute-mojo.html#skip) there's a skip option. Have you tried adding the corresponding configuration, and just put something like: configuration

Re: skipping execution of plugins, which are creating the environment for tests

2009-01-07 Thread Eugeny N Dzhurinsky
On Wed, Jan 07, 2009 at 09:35:16AM -0500, John Stoneham wrote: On Wed, Jan 7, 2009 at 9:22 AM, Eugeny N Dzhurinsky b...@redwerk.com wrote: Can somebody please advice, is it possible to skip execution of certain plugins, which are only needed when performing the tests? You could create a

RE: plugins now require me to provide a version ?

2009-01-07 Thread Brian E. Fox
This should explain how it works: http://blogs.sonatype.com/people/2008/04/maven-209-released/ I can't explain why it would suddenly change for you now. -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, January 06, 2009 9:54 AM To:

Launching a stand-alone test program

2009-01-07 Thread Trevor Harmon
Hi, In addition to the usual automated unit tests that run in Maven's test phase, I now need to add a special kind of test program. It's stand- alone, requires user interaction, and should be run only occasionally, not during every test phase. As for location, I assume I should just put

Re: Launching a stand-alone test program

2009-01-07 Thread Wayne Fay
As for location, I assume I should just put it somewhere in src/test/java, but what about invoking it? How would I configure the POM file so that users can launch this test program only when needed, on demand, rather than on every mvn test? Use a profile. Wayne

Re: Launching a stand-alone test program

2009-01-07 Thread John Stoneham
On Wed, Jan 7, 2009 at 12:06 PM, Trevor Harmon tre...@vocaro.com wrote: As for location, I assume I should just put it somewhere in src/test/java, but what about invoking it? How would I configure the POM file so that users can launch this test program only when needed, on demand, rather than

Annotations process with javac in compiler plugin

2009-01-07 Thread Francisco José Cadaval Arrola
Hi all. This is my first mail to this list. I hope a can help and be helped. And please excuse me for my bad English. I would like to get help from this list to a proble I have with maven compiler plugin and annotation processing in javac. As you can see in plugin definition at myproject.pom I

Re: Launching a stand-alone test program

2009-01-07 Thread Wendy Smoak
On Wed, Jan 7, 2009 at 10:06 AM, Trevor Harmon tre...@vocaro.com wrote: In addition to the usual automated unit tests that run in Maven's test phase, I now need to add a special kind of test program. It's stand-alone, requires user interaction, and should be run only occasionally, not during

maven-dependency-plugin copy-dependencies

2009-01-07 Thread Ryan Moquin
I'm trying to understand how to use the copy-dependencies goal for the maven-dependency-plugin. Basically I want to just copy a few dependencies that are important to a directory, and exclude the rest. For some reason, I can't seem to get any of the filters to work, here is an example of the

Re: Launching a stand-alone test program

2009-01-07 Thread Trevor Harmon
On Jan 7, 2009, at 12:20 PM, John Stoneham wrote: If you're just running a standalone program that doesn't really need to interact with anything that's in the POM or be tied to the Maven lifecycle or dependencies, no sense trying to couple it into Maven. I should have clarified what I meant

Re: Launching a stand-alone test program

2009-01-07 Thread Trevor Harmon
On Jan 7, 2009, at 12:56 PM, Wendy Smoak wrote: FWIW, I rely on my IDE to do this kind of thing. There's usually a Run configuration you can set up, and it figures out the classpath for you, lets you set parameters, etc. Setting up a Run configuration in an IDE is fine for a single user.

Re: Launching a stand-alone test program

2009-01-07 Thread Kalle Korhonen
If it's a manually run test application I'd create a separate module for it. You can set the main application as a dependency of this module, then spit out the required classpath with dependency:build-classpath and put the run parameters in your pom file, then write them out to a filtered shell or

Question on the dependency plugin

2009-01-07 Thread stug23
I am trying to figure out how to use dependency plugin to copy both .class jar files as well as source jars. Unfortunately, so far I only able to copy the .class jar files, but the source jars (which I know are available for my artifacts) do not get copied. Please have a look at my plugin