OK, now when I run "maven -Dgoal=continuousintegration
multiproject:goal" it tries to run this goal on my root project which
has no unit tests and therefore it fails. I have my projects set up
like so:

root/project.xml
core/project.xml
misc/project.xml

Where misc and core extend ../root/project.xml. In
root/project.properties, I have the following:

maven.multiproject.basedir=${basedir}/../
maven.multiproject.includes=*/project.xml
maven.multiproject.excludes=root/project.xml

And yet, it tries to run "continuousintegration" on root and I think
it fails because there are no tests to run in root.

On 8/17/05, Emmanuel Schmitt <[EMAIL PROTECTED]> wrote:
> For the 1.X branch, you can avoid to run tests twice using this kind
> of tip : http://jroller.com/page/carlossg?entry=maven_tips_and_tricks_avoid
> 
> Emmanuel Schmitt.
> 
> 2005/8/17, Jamie Bisotti <[EMAIL PROTECTED]>:
> > On 8/17/05, Craig McDaniel <[EMAIL PROTECTED]> wrote:
> > > I am using Damage Control on my project to run automated builds. As
> > > part of the automated build, I want to deploy a snapshot jar and build
> > > the site. DC is therefore executing "maven clean jar:deploy-snapshot
> > > site". Unfortunately, this causes the unit tests to execute twice,
> > > once for jar:deploy and once for site. Is this the expected behavior?
> > >
> > > --
> > > Craig McDaniel
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > AFAIK, yes...for the 1.X branch at least.
> > --
> > Jamie Bisotti
> >
> > ---------------------------------------------------------------------
> > 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]
> 
> 


-- 
Craig McDaniel

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

Reply via email to