You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2007/06/07 22:19:07 UTC

maven-surefire-plugin: skip=false

Hi,

can anyone tell me, why the parameter "skip" is set to false for the
maven-surefire-plugin in most of the Axis2 pom files?

In other words: Why do you intentionally take any possibility to omit
the tests from me?

For those who do not know: The Maven 2 default is to execute tests,
unless I specify a command line parameter "-Dmaven.test.skip=true".
This behaviour makes perfect sense to me. It means, that I *should*
run the tests, but I *may* omit them. In my case (I am interested in
fixing an issue in one of the Maven 2 plugins) this is exactly what I
want, in particular, because the test suite fails.

However, the POM settings override my command line setting: I cannot
omit running the tests. That's an onvious nonsense to me: The command
line should always have top priority.

Jochen

-- 
Women have the ability to wind you round their little finger.
Daughters can use all of the fingers together.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: maven-surefire-plugin: skip=false

Posted by David Illsley <da...@gmail.com>.
It's there because the parent had skip=true set and I overrode that
module by module.
You're welcome to clear it up.
David

On 07/06/07, Davanum Srinivas <da...@gmail.com> wrote:
> Jochen,
>
> Did you try -Dtest=false from commandline? that works for me.
>
> -- dims
>
> On 6/7/07, Jochen Wiedmann <jo...@gmail.com> wrote:
> > Hi,
> >
> > can anyone tell me, why the parameter "skip" is set to false for the
> > maven-surefire-plugin in most of the Axis2 pom files?
> >
> > In other words: Why do you intentionally take any possibility to omit
> > the tests from me?
> >
> > For those who do not know: The Maven 2 default is to execute tests,
> > unless I specify a command line parameter "-Dmaven.test.skip=true".
> > This behaviour makes perfect sense to me. It means, that I *should*
> > run the tests, but I *may* omit them. In my case (I am interested in
> > fixing an issue in one of the Maven 2 plugins) this is exactly what I
> > want, in particular, because the test suite fails.
> >
> > However, the POM settings override my command line setting: I cannot
> > omit running the tests. That's an onvious nonsense to me: The command
> > line should always have top priority.
> >
> > Jochen
> >
> > --
> > Women have the ability to wind you round their little finger.
> > Daughters can use all of the fingers together.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: maven-surefire-plugin: skip=false

Posted by Davanum Srinivas <da...@gmail.com>.
Jochen,

Did you try -Dtest=false from commandline? that works for me.

-- dims

On 6/7/07, Jochen Wiedmann <jo...@gmail.com> wrote:
> Hi,
>
> can anyone tell me, why the parameter "skip" is set to false for the
> maven-surefire-plugin in most of the Axis2 pom files?
>
> In other words: Why do you intentionally take any possibility to omit
> the tests from me?
>
> For those who do not know: The Maven 2 default is to execute tests,
> unless I specify a command line parameter "-Dmaven.test.skip=true".
> This behaviour makes perfect sense to me. It means, that I *should*
> run the tests, but I *may* omit them. In my case (I am interested in
> fixing an issue in one of the Maven 2 plugins) this is exactly what I
> want, in particular, because the test suite fails.
>
> However, the POM settings override my command line setting: I cannot
> omit running the tests. That's an onvious nonsense to me: The command
> line should always have top priority.
>
> Jochen
>
> --
> Women have the ability to wind you round their little finger.
> Daughters can use all of the fingers together.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org