You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Ben Walding <de...@walding.com> on 2003/03/19 21:52:13 UTC

Deprecation [Re: Private goals?]

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.
>>>
>>>
>>> dion@multitask.com.au 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" <vm...@pivolis.com> wrote: -----
>>>>
>>>> To: <de...@maven.apache.org>
>>>> From: "Vincent Massol" <vm...@pivolis.com>
>>>> 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: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>     
>>>
>>> -- 
>>>
>>> Stephen J. McConnell
>>> mailto:mcconnell@apache.org
>>> http://www.osm.net
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>   
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>>
>>  
>>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org