Re: Surefire not behaving the way I expect....

2011-11-18 Thread Kristian Rosenvold
FWIW, surefire 2.11-SNAPSHOT supports the use of JUnit @Categories, which I believe a lot of users should be looking at for including/excluding tests, since it allows you to tag at the class/method level and apply multiple include/exclude filters, which means you can cross-cut a much more speci

multiple versions of jar in war

2011-11-18 Thread Heck, Timo
Hi there, I am trying to migrate some projects to maven layout. Now I stumbled across this issue I can't find any information about. I am developing a webapp project and moved it to maven layout. I am working with maven 3.0.3 and eclipse indigo, m2e wtp plugin. When I run this webapp from within

Re: Multiple goals per phase

2011-11-18 Thread Manfred Moser
You could have all the stub server code in a normal library jar and have the two plugins be very shallow and just depend on the library.. just saying.. On Fri, November 18, 2011 1:17 pm, Oliver Stewart wrote: > Thanks Kristian, > We were hoping to avoid that approach, as it would prevent us from

Re: Multiple goals per phase

2011-11-18 Thread Oliver Stewart
Thanks Kristian, We were hoping to avoid that approach, as it would prevent us from keeping the related stub server code together, but it's good to have a backup plan. Cheers, Oliver On Fri, Nov 18, 2011 at 3:15 PM, kristian wrote: > still a bit invasiv but you could split stubserver-maven-plug

Re: Multiple goals per phase

2011-11-18 Thread kristian
still a bit invasiv but you could split stubserver-maven-plugin into two plugins, one for starting and for stopping. that gives you at least a "readable" pom. - Kristian On Sat, Nov 19, 2011 at 1:33 AM, Oliver Stewart wrote: > Hello.  We are trying to perform automated integration testing in our

Multiple goals per phase

2011-11-18 Thread Oliver Stewart
Hello. We are trying to perform automated integration testing in our Maven build. We have our webapp starting via the Cargo plugin in the pre-integration-test phase, then stopping in the post-integration-test phase. This seems like a straightforward application of the Maven lifecycle. Because o

Re: Report Plugin Dependencies (Maven 3 style) for Site

2011-11-18 Thread Olivier Lamy
Hello, I wonder if you try to declare checktyle plugin too in build/plugins section with your dependency. That should works for maven3 2011/11/15 Nate Stoddard : > I'm resending this because the formatting got butchered the first type. > Sorry for the duplicate. > > Nate Stoddard > > = > > I'

Errors with Maven-soap-ui

2011-11-18 Thread Roshini
Hi, I have been implementing some soap ui tests and maven. They work fine from the command prompt. I integrated them in team city and now I get the following error :(. Not sure what i am doing wrong. It is the first time I am using maven! [ERROR] Failed to execute goal eviware:maven-soapui-plugi

Re: How to write a working Custom Lifecycle?

2011-11-18 Thread Olivier Lamy
2011/11/16 Oliver Fischer : > Hi all, > > I try to define my own custom lifecycle, which I would like to use in some > of my projects. As far as I understood, I should be enough to create a > module with packaging type jar, to create a components.xml and to place this > file below META-INF/plexus.

Re: Does maven eclipse plugin downloads unnecesary artifacts?

2011-11-18 Thread Gabriel Belingueres
Thanks Barrie! 2011/11/18 Barrie Treloar : > On Fri, Nov 18, 2011 at 6:19 AM, Gabriel Belingueres > wrote: >> Hi! >> >> I usually use the maven eclipse plugin (v2.8) using the >> downloadSources and downloadJavadocs properties, however I added some >> runtime scoped dependency but the eclipse plu

Re: What is the test list for "mvn test"?

2011-11-18 Thread Stephen Connolly
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#runOrder can make the order a bit more predictable, though the recommendation would be to use either "random" or "hourly" in order to ensure that there is no sequence relationships masking bad tests On 18 November 2011 10:14, Kar

Re: What is the test list for "mvn test"?

2011-11-18 Thread Karl Heinz Marbaise
Hi, you mean in which order the test cases have been run? The only source of such information could be the test report...but it shouldn't be relevant for unit tests, cause all unit tests should run without any particular order... Kind regards Karl Heinz Marbaise - Kind regards Karl Heinz Mar