RE: sepcify a goal for an attained goal (multiproject:goal)

2003-09-16 Thread dion
Christian Goos [EMAIL PROTECTED] wrote on 16/09/2003 
03:50:12 PM:

 Hi,
 
 In the same context I have another question.
 How can I specify a project.properties file for the multiproject-plugin,
 when calling it the way described below?
 (Just setting the property with j:set is not enough. It gets overridden,
 when the multiproject:goal is run.)
 The reason why I want to do this is that I want to run the
 multiproject-plugin for subsets of my projects.

Why not set the maven.multiproject.includes and excludes dynamically?

--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



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



Re: sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread khote
If you look in the multiproject plugin.jelly:
.
  goal name=multiproject:goal 
description=Run a given goal on all projects

  maven:param-check value=${goal} fail=true
A goal to run must be specified, e.g.
maven -Dgoal=clean multiproject:goal/maven:param-check

  maven:reactor
basedir=${maven.multiproject.basedir}
banner=Executing ${goal}
includes=${maven.multiproject.includes}
excludes=${maven.multiproject.excludes}
postProcessing=false
goals=${goal}
ignoreFailures=${maven.multiproject.ignoreFailures}
  /
/goal


then in your maven.xml:

j:set var=goal value=java:compile/

attainGoal name=multiproject:goal/  

- Original Message - 
From: Joachim Bader [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 11:25 PM
Subject: sepcify a goal for an attained goal (multiproject:goal)


Hi,

I can execute the goal java:compile of all subproject with 
maven -Dgoal=java:compile multirpoject:goal

How can I do this from maven.xml?

project
goal name=mygoal
!-- how can I set -Dgoal=java:compile --
attainGoal name=multiproject:goal/  
/goal
/project

cheers
Joachim

-
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]



Re: sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread dion
Joachim Bader [EMAIL PROTECTED] wrote on 15/09/2003 04:25:04 PM:

 Hi,
 
 I can execute the goal java:compile of all subproject with 
 maven -Dgoal=java:compile multirpoject:goal
 
 How can I do this from maven.xml?
 
 project
goal name=mygoal 
!-- how can I set -Dgoal=java:compile --

j:set var=goal name=java:compile/

   attainGoal name=multiproject:goal/ 
/goal
 /project
 
 cheers
 Joachim
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




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



RE: sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread Christian Goos
Hi,

In the same context I have another question.
How can I specify a project.properties file for the multiproject-plugin,
when calling it the way described below?
(Just setting the property with j:set is not enough. It gets overridden,
when the multiproject:goal is run.)
The reason why I want to do this is that I want to run the
multiproject-plugin for subsets of my projects
Thanks for help.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2003 1:30 AM
To: Maven Users List
Subject: Re: sepcify a goal for an attained goal (multiproject:goal)

Joachim Bader [EMAIL PROTECTED] wrote on 15/09/2003 04:25:04 PM:

 Hi,
 
 I can execute the goal java:compile of all subproject with 
 maven -Dgoal=java:compile multirpoject:goal
 
 How can I do this from maven.xml?
 
 project
goal name=mygoal 
!-- how can I set -Dgoal=java:compile --

j:set var=goal name=java:compile/

   attainGoal name=multiproject:goal/ 
/goal
 /project
 
 cheers
 Joachim
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




-
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]