Using site even if build fails

2015-03-27 Thread Robert Mark Bram
Hi all, I am trying this command line: mvn --fail-at-end -Plocal verify site And I find that if an integration test fails, site is *not* being run at all - even with --fail-at-end. This is my reporting element in pom.xml: reporting plugins plugin

Using site even if build fails

2015-03-27 Thread Robert Mark Bram
Hi all, Please excuse me if this is a double post - I couldn't be sure the first one went through. I am trying this command line: mvn --fail-at-end -Plocal verify site And I find that if an integration test fails, site is *not* being run at all - even with --fail-at-end. This is my reporting

What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Robert Mark Bram
My parent POM declares this Selenium project in a profile. profile iddefault-build/id !-- This profile will be active if another profile isn't triggered -- activation activeByDefaulttrue/activeByDefault /activation modules

Re: What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Robert Mark Bram
I would try to skip the deploy goal for this particular plugin see http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#skip Ah, yes - this is what I needed. So still use jar packaging but skip the deploy phase. Rob :)

Re: What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Robert Mark Bram
Well the question you really will want to know is: do I want any other modules to depend on the integration tests being successful? The Hatter opened his eyes very wide on hearing this; but all he said was, Why is a mvn like a writing-desk? If the answer is no then you will just configure

Re: Running integration tests

2014-10-07 Thread Robert Mark Bram
Thank you Stephen - this was very useful and came just when I am ready to start piecing together this level of detail. 1) Default vs non-default plugins suddenly a White Rabbit with pink eyes ran close by Alice So, what I understood from this trip down the rabbit-hole. - Maven defines

Running integration tests

2014-10-06 Thread Robert Mark Bram
Hi All, A couple of questions about integration tests.. 1) Default vs non-default plugins I needed to include the maven-failsafe-plugin plugin to introduce integration tests into my project, but I didn't need to introduce the maven-surefire-plugin to my pom.xml for unit tests. Fair enough, but