Steve,

On Mon, 2009-08-03 at 16:56 -0400, Steve Appling wrote:
> Russel Winder wrote:
> > Sanity check:
> > 
> > As far as I can see the Maven plugin has install depending on :jar, but
> > the Java plugin :jar does not depend on :test.
> > 
> > The consequence is that installing to the local Maven repository does
> > not invoke :test and stop installtion should the tests fail.
> > 
> > At least not by default.
> >  
> The change to make :jar not depend on :test was intentional.  I'm not sure 
> what 
> is desired for the install task.  I can change it to also depend on build, 
> which 
> would run the tests and code style checks first.  That seems to be the maven 
> way :).

If it is intentional that is fine.

I have to admit that with my Ant and Gant builds I use the standard
Maven viewpoint but always with a way of switching the tests off --
-DskipTests=true.

Maven may have been an initial inspiration, it doesn't have to be seen
as right all the time!

I guess the issue is:  what is the Gradle definition of lifecycle, and
is it publicized enough?  I am guessing that having a page on the
website and in the user guide with this information that gets indexed by
Google is what is needed.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to