You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Mirko Friedenhagen <mf...@codehaus.org> on 2014/06/22 23:25:51 UTC

Re: [mojo-dev] Re: MVERSIONS-258 Add mojo display-ancestors which will output the line of heritage for parent poms

Good points, Stephen. As ancestors are not dependencies, I would prefer to
enhance the help plugin instead. Ccing this to maven-dev

Regards
Mirko
-- 
Sent from my mobile
On Jun 22, 2014 10:39 PM, "Stephen Connolly" <
stephen.alan.connolly@gmail.com> wrote:

> My concern is that the versions plugin has become a catch-all-grab-bag.
>
> I want to consolidate its functionality and reduce the number of goals and
> options that people need to use it.
>
> This is adding a new goal. The goal itself does not say anything about
> whether there are updates available (and it should not really as the only
> update in an ancestor that you can achieve on the pom you are looking at is
> the immediate parent.
>
> I think this might suit better beside dependency:tree or
> help:effective-pom where the plugins are not concerned with either
> comparing versions of things against the available versions or updating
> versions of things.
>
>
> On 22 June 2014 21:22, Mirko Friedenhagen <mf...@codehaus.org>
> wrote:
>
>> Hello Stephen,
>>
>> what do you think about adding this? I have already a working
>> implementation at
>>
>> https://svn.codehaus.org/mojo/branches/mfriedenhagen/versions-maven-plugin-display-ancestors
>> with an IT and would like to merge this back to trunk.
>>
>> See svn diff
>> https://svn.codehaus.org/mojo/trunk/mojo/versions-maven-plugin
>>
>> https://svn.codehaus.org/mojo/branches/mfriedenhagen/versions-maven-plugin-display-ancestors
>> for the diff.
>>
>> Regards
>> Mirko
>>
>
>

Re: [mojo-dev] Re: MVERSIONS-258 Add mojo display-ancestors which will output the line of heritage for parent poms

Posted by Mirko Friedenhagen <mf...@apache.org>.
OK, I just moved this issue to https://jira.codehaus.org/browse/MDEP-450.

On Mon, Jun 23, 2014 at 1:08 AM, Stephen Connolly
<st...@gmail.com> wrote:
> Ancestors are dependencies, you cannot build a project without its parent...
> You just don't reference them in a dependencies section is all!
>
> I think it actually would suit perfectly in dependency:tree (esp when you
> consider that crazy people can and do put dependencies in parent projects in
> order to inject them into all children)
>
>
> On Sunday, 22 June 2014, Mirko Friedenhagen <mf...@codehaus.org>
> wrote:
>>
>> Good points, Stephen. As ancestors are not dependencies, I would prefer to
>> enhance the help plugin instead. Ccing this to maven-dev
>>
>> Regards
>> Mirko
>> --
>> Sent from my mobile
>>
>> On Jun 22, 2014 10:39 PM, "Stephen Connolly"
>> <st...@gmail.com> wrote:
>>>
>>> My concern is that the versions plugin has become a catch-all-grab-bag.
>>>
>>> I want to consolidate its functionality and reduce the number of goals
>>> and options that people need to use it.
>>>
>>> This is adding a new goal. The goal itself does not say anything about
>>> whether there are updates available (and it should not really as the only
>>> update in an ancestor that you can achieve on the pom you are looking at is
>>> the immediate parent.
>>>
>>> I think this might suit better beside dependency:tree or
>>> help:effective-pom where the plugins are not concerned with either comparing
>>> versions of things against the available versions or updating versions of
>>> things.
>>>
>>>
>>> On 22 June 2014 21:22, Mirko Friedenhagen <mf...@codehaus.org>
>>> wrote:
>>>>
>>>> Hello Stephen,
>>>>
>>>> what do you think about adding this? I have already a working
>>>> implementation at
>>>>
>>>> https://svn.codehaus.org/mojo/branches/mfriedenhagen/versions-maven-plugin-display-ancestors
>>>> with an IT and would like to merge this back to trunk.
>>>>
>>>> See svn diff
>>>> https://svn.codehaus.org/mojo/trunk/mojo/versions-maven-plugin
>>>>
>>>> https://svn.codehaus.org/mojo/branches/mfriedenhagen/versions-maven-plugin-display-ancestors
>>>> for the diff.
>>>>
>>>> Regards
>>>> Mirko
>>>
>>>
>
>
> --
> Sent from my phone

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


Re: MVERSIONS-258 Add mojo display-ancestors which will output the line of heritage for parent poms

Posted by Stephen Connolly <st...@gmail.com>.
Ancestors are dependencies, you cannot build a project without its
parent... You just don't reference them in a dependencies section is all!

I think it actually would suit perfectly in dependency:tree (esp when you
consider that crazy people can and do put dependencies in parent projects
in order to inject them into all children)

On Sunday, 22 June 2014, Mirko Friedenhagen <mf...@codehaus.org>
wrote:

> Good points, Stephen. As ancestors are not dependencies, I would prefer to
> enhance the help plugin instead. Ccing this to maven-dev
>
> Regards
> Mirko
> --
> Sent from my mobile
> On Jun 22, 2014 10:39 PM, "Stephen Connolly" <
> stephen.alan.connolly@gmail.com
> <javascript:_e(%7B%7D,'cvml','stephen.alan.connolly@gmail.com');>> wrote:
>
>> My concern is that the versions plugin has become a catch-all-grab-bag.
>>
>> I want to consolidate its functionality and reduce the number of goals
>> and options that people need to use it.
>>
>> This is adding a new goal. The goal itself does not say anything about
>> whether there are updates available (and it should not really as the only
>> update in an ancestor that you can achieve on the pom you are looking at is
>> the immediate parent.
>>
>> I think this might suit better beside dependency:tree or
>> help:effective-pom where the plugins are not concerned with either
>> comparing versions of things against the available versions or updating
>> versions of things.
>>
>>
>> On 22 June 2014 21:22, Mirko Friedenhagen <mfriedenhagen@codehaus.org
>> <javascript:_e(%7B%7D,'cvml','mfriedenhagen@codehaus.org');>> wrote:
>>
>>> Hello Stephen,
>>>
>>> what do you think about adding this? I have already a working
>>> implementation at
>>>
>>> https://svn.codehaus.org/mojo/branches/mfriedenhagen/versions-maven-plugin-display-ancestors
>>> with an IT and would like to merge this back to trunk.
>>>
>>> See svn diff
>>> https://svn.codehaus.org/mojo/trunk/mojo/versions-maven-plugin
>>>
>>> https://svn.codehaus.org/mojo/branches/mfriedenhagen/versions-maven-plugin-display-ancestors
>>> for the diff.
>>>
>>> Regards
>>> Mirko
>>>
>>
>>

-- 
Sent from my phone