Interesting. Something must have changed in CLI as I noticed that sometimes
"" was being recorded as a goal.

I haven't seen it, but can you file this in JIRA, and attach the output when
done with -X? Specifically the part where it is first going to attain the
goal and says it is selecting the default (or the whole lot is fine).

Thanks,
Brett

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 29 April 2004 10:00 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with HEAD and -o or -X
> 
> 
> I've had a problem recently with HEAD where goals are being 
> ignored and 
> only the default goal for a project is being executed, e.g. I have a 
> project with a default goal of 'inl:nightly-build', which is 
> defined in 
> maven.xml, and when I run "maven -o multiproject:clean", it 
> executes the 
> default goal, not multiproject:clean.
> 
> Here's some output:
> 
> C:\source\wsad\workspace\Deployment>maven -o 
> multiproject:clean  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3-SNAPSHOT
> 
> You are working offline so the build will continue, but 
> general-common-SNAPSHOT.jar may be out of date!
> You are working offline so the build will continue, but 
> general-ejb-SNAPSHOT.jar may be out of date!
> build:start:
> 
> inl:nightly-build:
>     [cvs] ? XmlToFlatConverter.jelly
>     [cvs] cvs server: Updating .
>     [cvs] U cruisecontrol.xml
>     [cvs] P sql/general/createViews.jelly
>     [cvs] cvs server: Updating batch
>     [cvs] cvs server: Updating lib
>     [cvs] cvs server: Updating mq
>     [cvs] cvs server: Updating sql
>     [cvs] cvs server: Updating sql/fixedasset
>     [cvs] cvs server: Updating sql/general
>     [cvs] cvs server: Updating sql/generalledger
>     [cvs] cvs server: Updating sql/inl
>     [cvs] cvs server: Updating sql/property
>     [cvs] U sql/property/constraints.jelly
>     [cvs] U sql/property/createTables.jelly
>     [cvs] P sql/property/createViews.jelly
>     [cvs] cvs server: Updating sql/reports
>     [cvs] cvs server: Updating sql/uat
>     [cvs] cvs server: Updating xdocs
>     [cvs] cvs server: Updating xdocs/images
>     [cvs] cvs server: Updating xml
> 
> Here's the same without -o
> 
> C:\source\wsad\workspace\Deployment>maven multiproject:clean
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3-SNAPSHOT
> 
> Attempting to download general-common-SNAPSHOT.jar.
> Attempting to download general-ejb-SNAPSHOT.jar.
> build:start:
> 
> multiproject:clean:
> multiproject:projects-init:
>     [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> General Common
> Fixed Assets Common
> Fixed Assets Documentation
> General EJB
> Fixed Assets EJB
> INL Common
> General Web
> ...
> 
> Before I go file this in Jira, has anyone else seen this?
> 
> FWIW, the same happens with -X.
> --
> dIon Gillard, Multitask Consulting
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to