<snip/>
> Yes. And this is currently how Maven is implemented now.  The only thing
> that is dependant on passing tests is the generation of the jar.  You can
> still generate the site/docs even though there are failing tests.  The
> documentation targets just use the reports, if any, from target/test-reports
> to generate the html unit test reports.
> 
> I apologize. I must still be confused.
Say I run the following:

  ant maven:dist-build maven:site

The site will never be generated as the build fails if any of the
unit tests do not pass.

I agree with you when you say that a property tends to be forgotten
and that a different target would be a better solution.

-John K

> 
> =================================================================
> Jeffrey D. Brekke                                   Quad/Graphics
> [EMAIL PROTECTED]                              http://www.qg.com
> 
> > On Wednesday, June 12, 2002, at 04:32  PM, John Keyes wrote:
> > 
> > > The reason why I asked is that for our nightly builds
> > > it would be nice to have the site created even if
> > > the unit tests fail.  A mail is sent to indicate build
> > > success or failure.  It would then be the responsibility
> > > of each developer working on the project to check the
> > > reports to see why the build failed.
> > 
> > 
> > On Wednesday, June 12, 2002, at 03:35  PM, Martin van den Bemt wrote:
> > 
> > > And don't worry failing will be the default ;) (that is 
> > what I want when
> > > developing, but my automated builds don't like failing too 
> > much, since
> > > the site will never get an update that way, which was the 
> > reason in the
> > > first place to make that simple hack...)
> > 
> > [snip]
> > 
> > > The problem with this best practice is, is that it kills all the
> > > feedback you can get via a nice site that something is 
> > wrong and what is
> > > wrong. (which is, at least for me, one of the reasons why I 
> > use maven in
> > > the first place). I want my development site to reflect the latest
> > > nigthly build and not the latest without failing tests.
> > 
> > [snip]
> > 
> > > Getting a nag mail from gump is also nice, but is highly 
> > outclassed by
> > > the feedback maven can give us if it can actually finish a 
> > build where
> > > tests are failing.
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to