Might it be worthwhile to add another attribute to goals - scope = "private" | "public"

If a goal is private, only targets in the same script can call it.

Then for b9 this is deprecated behaviour - just warn when you call private goals.
b10 we stop that all together.


The main idea being that we stop people calling all the internal interfaces inside plugins?


Stephen McConnell wrote:




Kurt Schrader wrote:

Desired behavior is for goals with no description to not show up when
'maven -g' is invoked.



That's what I wanted to know!


:--)


-Kurt

On Wed, 19 Mar 2003, Stephen McConnell wrote:



Wht aspect of this is a bug? A shot answer is all I need.


[EMAIL PROTECTED] wrote:




This is definitely a bug.

--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au



-----"Vincent Massol" <[EMAIL PROTECTED]> wrote: -----

To: <[EMAIL PROTECTED]>
From: "Vincent Massol" <[EMAIL PROTECTED]>
Date: 03/19/2003 11:03PM
Subject: Private goals?

Hi,

It seems doing a "maven -g" nows lists *all* goals, even those that do
not have a description. Thus my question is: how do you make a goal
private (i.e. not visible by the end user)?

For example, typing "maven -g" get the following for the cactus plugin:

[cactus] ( NO DEFAULT GOAL )
compile .................... Compile Cactus tests
generate ................... Generate HTML report
init ....................... null
merge-webxml ............... null
single ..................... Execute a single test defined using the '
                             mavencactustestcase' variable
test ....................... Execute all testcases
test-init .................. null
test-swing ................. Start the tests using the swing runner
test-text .................. Start the tests using the text runner
test-text-single ........... Start the tests using the text runner
webapp ..................... Create the Cactus webapp
webapp-update .............. null

BTW, "null" is not a very nice description... ;-)

Thanks
-Vincent


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






--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net




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









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



Reply via email to