Can we make the property shorter and easier to remember... that's what I liked about the -Dtest=0 hack
-Stephen On Dec 20, 2007 10:23 PM, Dan Fabulich <[EMAIL PROTECTED]> wrote: > Jason Chaffee wrote: > > > You can compile test classes and still use maven.test.skip=true if you > > have the compliler plugin configured as followings: > > > > > > > > <plugin> > > <artifactId>maven-compiler-plugin</artifactId> > > <configuration> > > <skip>false</skip> > > </configuration> > > </plugin> > > This works, but I think using -Dmaven.test.skip.exec=true is a better > practice... skipExec does exactly what you want and not anything else. > > More generally, I want to try to spread awareness of maven.test.skip.exec > and advocate that people use it instead of maven.test.skip. When we > suggest skipping tests, we should always try to suggest using > maven.test.skip.exec instead of just maven.test.skip. > > [Arguably, very few people want maven.test.skip to skip test-compile, > since compiling the tests is rarely time consuming or failure prone... > long term, we might want to disable that property association on the test > compiler.] > > -Dan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]