You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Paul Benedict <pb...@apache.org> on 2007/07/10 05:53:00 UTC

New M2 snapshots use org.apache.commons?

For development of new releases, should the commons-* folders be forgone 
and use org.apache.commons now?

Thanks,
Paul

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


Re: New M2 snapshots use org.apache.commons?

Posted by Paul Benedict <pb...@apache.org>.
Good points. I've been through that very same problem many times. I 
guess I am just used to excluding the old names. Yeah, it's a bit of a 
troublemaker, but I'd rather have a correct name. In any case, perhaps 
this name-game will gain traction once Maven adds capabilities to 
provide aliases.

Henri Yandell wrote:
> The core issue is one of transitive dependencies clashes.
>
> For example, I had a problem the other day with the antrun plugin
> which depends on ant.ant-1.6.5, and we had a dependency of ant-trax
> (1.7.0), which depends on org.apache.ant.ant-1.7.0. Those aren't the
> same project, so Maven couldn't yell at us for having a clashing
> dependency. Not that I know if the plugin system would have warned me
> of the clash, it was a fun bug :)
>
> With something as low as Commons, this transitive dependency clash is
> really, really valuable.
>
> Hen
>
> On 7/10/07, Paul Benedict <pb...@apache.org> wrote:
>> Because it has already been discussed, I might as well throw in my two
>> cents.
>>
>> Whatever direction commons decides to take, it's worth acknowledging
>> that more than a few popular Apache projects moved to
>> org.apache.whatever.* without relocating their previous releases. They
>> broke with the Maven 1 conventions and released new versions under the
>> naming conventions for Maven 2. Because developers must modify their POM
>> to update the version number anyway, editing the groupId is a trivial
>> additive.
>>
>> Paul
>>
>> Henri Yandell wrote:
>> > On 7/9/07, Wendy Smoak <ws...@gmail.com> wrote:
>> >> On 7/9/07, Paul Benedict <pb...@apache.org> wrote:
>> >>
>> >> > For development of new releases, should the commons-* folders be
>> >> forgone
>> >> > and use org.apache.commons now?
>> >>
>> >> Check the list archives for some past discussion... it has to be
>> >> handled carefully with old releases "relocated" in the central
>> >> repository, or downstream users will be adversely affected.
>> >>
>> >> Nabble turns up a few relevant posts:
>> >> 
>> http://www.nabble.com/forum/Search.jtp?forum=317&local=y&query=commons+maven+groupid 
>>
>> >>
>> >
>> > Yeah, my view is that Maven need a better system :) I keep meaning to
>> > dig into the code of how to do such a thing.
>> >
>> > Hen
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


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


Re: New M2 snapshots use org.apache.commons?

Posted by Henri Yandell <fl...@gmail.com>.
The core issue is one of transitive dependencies clashes.

For example, I had a problem the other day with the antrun plugin
which depends on ant.ant-1.6.5, and we had a dependency of ant-trax
(1.7.0), which depends on org.apache.ant.ant-1.7.0. Those aren't the
same project, so Maven couldn't yell at us for having a clashing
dependency. Not that I know if the plugin system would have warned me
of the clash, it was a fun bug :)

With something as low as Commons, this transitive dependency clash is
really, really valuable.

Hen

On 7/10/07, Paul Benedict <pb...@apache.org> wrote:
> Because it has already been discussed, I might as well throw in my two
> cents.
>
> Whatever direction commons decides to take, it's worth acknowledging
> that more than a few popular Apache projects moved to
> org.apache.whatever.* without relocating their previous releases. They
> broke with the Maven 1 conventions and released new versions under the
> naming conventions for Maven 2. Because developers must modify their POM
> to update the version number anyway, editing the groupId is a trivial
> additive.
>
> Paul
>
> Henri Yandell wrote:
> > On 7/9/07, Wendy Smoak <ws...@gmail.com> wrote:
> >> On 7/9/07, Paul Benedict <pb...@apache.org> wrote:
> >>
> >> > For development of new releases, should the commons-* folders be
> >> forgone
> >> > and use org.apache.commons now?
> >>
> >> Check the list archives for some past discussion... it has to be
> >> handled carefully with old releases "relocated" in the central
> >> repository, or downstream users will be adversely affected.
> >>
> >> Nabble turns up a few relevant posts:
> >> http://www.nabble.com/forum/Search.jtp?forum=317&local=y&query=commons+maven+groupid
> >>
> >
> > Yeah, my view is that Maven need a better system :) I keep meaning to
> > dig into the code of how to do such a thing.
> >
> > Hen
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

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


Re: New M2 snapshots use org.apache.commons?

Posted by Paul Benedict <pb...@apache.org>.
Because it has already been discussed, I might as well throw in my two 
cents.

Whatever direction commons decides to take, it's worth acknowledging 
that more than a few popular Apache projects moved to 
org.apache.whatever.* without relocating their previous releases. They 
broke with the Maven 1 conventions and released new versions under the 
naming conventions for Maven 2. Because developers must modify their POM 
to update the version number anyway, editing the groupId is a trivial 
additive.

Paul

Henri Yandell wrote:
> On 7/9/07, Wendy Smoak <ws...@gmail.com> wrote:
>> On 7/9/07, Paul Benedict <pb...@apache.org> wrote:
>>
>> > For development of new releases, should the commons-* folders be 
>> forgone
>> > and use org.apache.commons now?
>>
>> Check the list archives for some past discussion... it has to be
>> handled carefully with old releases "relocated" in the central
>> repository, or downstream users will be adversely affected.
>>
>> Nabble turns up a few relevant posts:
>> http://www.nabble.com/forum/Search.jtp?forum=317&local=y&query=commons+maven+groupid 
>>
>
> Yeah, my view is that Maven need a better system :) I keep meaning to
> dig into the code of how to do such a thing.
>
> Hen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

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


Re: New M2 snapshots use org.apache.commons?

Posted by Henri Yandell <fl...@gmail.com>.
On 7/9/07, Wendy Smoak <ws...@gmail.com> wrote:
> On 7/9/07, Paul Benedict <pb...@apache.org> wrote:
>
> > For development of new releases, should the commons-* folders be forgone
> > and use org.apache.commons now?
>
> Check the list archives for some past discussion... it has to be
> handled carefully with old releases "relocated" in the central
> repository, or downstream users will be adversely affected.
>
> Nabble turns up a few relevant posts:
> http://www.nabble.com/forum/Search.jtp?forum=317&local=y&query=commons+maven+groupid

Yeah, my view is that Maven need a better system :) I keep meaning to
dig into the code of how to do such a thing.

Hen

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


Re: New M2 snapshots use org.apache.commons?

Posted by Wendy Smoak <ws...@gmail.com>.
On 7/9/07, Paul Benedict <pb...@apache.org> wrote:

> For development of new releases, should the commons-* folders be forgone
> and use org.apache.commons now?

Check the list archives for some past discussion... it has to be
handled carefully with old releases "relocated" in the central
repository, or downstream users will be adversely affected.

Nabble turns up a few relevant posts:
http://www.nabble.com/forum/Search.jtp?forum=317&local=y&query=commons+maven+groupid

-- 
Wendy

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