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]