You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ralph Goers <ra...@dslextreme.com> on 2012/01/08 06:21:06 UTC

Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

On Jan 7, 2012, at 11:44 AM, Luc Maisonobe wrote:

> Le 07/01/2012 15:36, Gary Gregory a écrit :
>>> 
>> 
>> When can we drop support for M2?
> 
> I guess there are still a lot of m2 users, and for the next few years
> there will still be many. At least when I run an "aptitude search maven"
> on my Debian Linux box, I only see maven 2 supported. Getting rid of
> maven 2 is not an option for me now.

I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.

Ralph


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by Christian Grobmeier <gr...@gmail.com>.
On Sun, Jan 8, 2012 at 12:23 PM, sebb <se...@gmail.com> wrote:

>>> I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.
>>
>
> But remember that the ASF releases source, so we cannot arbitrarily
> change build procedures without at least considering how that might
> affect downstream users.

Sources are delivered via svn and tar-balls.
We are distributing sources, but I fail to understand why we can't
define the requirements for building them ourselves.

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


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by sebb <se...@gmail.com>.
On 8 January 2012 11:11, Christian Grobmeier <gr...@gmail.com> wrote:
> On Sun, Jan 8, 2012 at 6:21 AM, Ralph Goers <ra...@dslextreme.com> wrote:
>>
>> On Jan 7, 2012, at 11:44 AM, Luc Maisonobe wrote:
>>
>>> Le 07/01/2012 15:36, Gary Gregory a écrit :
>>>>>
>>>>
>>>> When can we drop support for M2?
>>>
>>> I guess there are still a lot of m2 users, and for the next few years
>>> there will still be many. At least when I run an "aptitude search maven"
>>> on my Debian Linux box, I only see maven 2 supported. Getting rid of
>>> maven 2 is not an option for me now.
>>
>
> Out of curiosity: why can't you run m3 on debian linux? m3 is java,
> you should be able to download it and place it in your path.
> I thought everybody who wants to build commons components himself
> should be able to install m3 on every plattform with java around. Or
> do I miss something?

I think what everyone is missing is that CP22 (now) works fine with M2.
The .svn issue was a red herring, because it also affects M3 when
using a SVN 1.7 client.

However, Commons Parent does not (yet) work properly with M3, e.g.
problems with non-Nexus deployment.

>> I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.
>

But remember that the ASF releases source, so we cannot arbitrarily
change build procedures without at least considering how that might
affect downstream users.

> +1
>
> Cheers
> Christian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by Gary Gregory <ga...@gmail.com>.
On Jan 8, 2012, at 7:43, Christian Grobmeier <gr...@gmail.com> wrote:

> On Sun, Jan 8, 2012 at 1:13 PM, Luc Maisonobe <Lu...@free.fr> wrote:
>> Le 08/01/2012 12:11, Christian Grobmeier a écrit :
>>> Out of curiosity: why can't you run m3 on debian linux? m3 is java,
>>> you should be able to download it and place it in your path.
>>
>> I probably could. I simply did not try yet, and relied only on what was
>> provided by the distribution.
>
> OK thanks for explaining
>
>>> I thought everybody who wants to build commons components himself
>>> should be able to install m3 on every plattform with java around. Or
>>> do I miss something?
>>
>> My point is simply that requiring very specific tools or tools versions
>> that require specific knowledge or installation should be avoided if
>> possible. We don't have the resources to help users installing these
>> tools too.
>
> Right. But help for installing m3 is not our business, it is business
> of m3-users list.
>
> Every open source project I know rely on only one build tool, be it
> npm, gradle, buildr, ant, m3, m2 or whatever.
>
> At commons we support 2 - 4 building tools: ant, m1, m2 and m3. Of
> course this might be wrong, because this doc is clearly outdated:
> http://wiki.apache.org/commons/BuildSystems
>
> If you say we don't have enough human power around, we should support
> only one building tool for all components. This reduces the overhead
> discussions on incompatibilities. Then we can update this:
> http://commons.apache.org/building.html
> and remove all the wiki pages speaking about m1 and m2.
>
> Supporting 2, 3 or even 4 building systems is a waste of the less
> resources Commons has. And it does not bring much benefit in turn,
> imho.
>

+1 to supporting one build system. Perhaps one version of a build system.

Gary


> Cheers
> Christian
>
>>
>> Luc
>>
>>>
>>>> I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.
>>>
>>> +1
>>>
>>> Cheers
>>> Christian
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
>
>
> --
> http://www.grobmeier.de
> https://www.timeandbill.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by Christian Grobmeier <gr...@gmail.com>.
On Sun, Jan 8, 2012 at 1:13 PM, Luc Maisonobe <Lu...@free.fr> wrote:
> Le 08/01/2012 12:11, Christian Grobmeier a écrit :
>> Out of curiosity: why can't you run m3 on debian linux? m3 is java,
>> you should be able to download it and place it in your path.
>
> I probably could. I simply did not try yet, and relied only on what was
> provided by the distribution.

OK thanks for explaining

>> I thought everybody who wants to build commons components himself
>> should be able to install m3 on every plattform with java around. Or
>> do I miss something?
>
> My point is simply that requiring very specific tools or tools versions
> that require specific knowledge or installation should be avoided if
> possible. We don't have the resources to help users installing these
> tools too.

Right. But help for installing m3 is not our business, it is business
of m3-users list.

Every open source project I know rely on only one build tool, be it
npm, gradle, buildr, ant, m3, m2 or whatever.

At commons we support 2 - 4 building tools: ant, m1, m2 and m3. Of
course this might be wrong, because this doc is clearly outdated:
http://wiki.apache.org/commons/BuildSystems

If you say we don't have enough human power around, we should support
only one building tool for all components. This reduces the overhead
discussions on incompatibilities. Then we can update this:
http://commons.apache.org/building.html
and remove all the wiki pages speaking about m1 and m2.

Supporting 2, 3 or even 4 building systems is a waste of the less
resources Commons has. And it does not bring much benefit in turn,
imho.

Cheers
Christian

>
> Luc
>
>>
>>> I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.
>>
>> +1
>>
>> Cheers
>> Christian
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>



-- 
http://www.grobmeier.de
https://www.timeandbill.de

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


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by Ralph Goers <ra...@dslextreme.com>.
On Jan 8, 2012, at 4:13 AM, Luc Maisonobe wrote:

> Le 08/01/2012 12:11, Christian Grobmeier a écrit :
>> On Sun, Jan 8, 2012 at 6:21 AM, Ralph Goers <ra...@dslextreme.com> wrote:
>>> 
>>> On Jan 7, 2012, at 11:44 AM, Luc Maisonobe wrote:
>>> 
>>>> Le 07/01/2012 15:36, Gary Gregory a écrit :
>>>>>> 
>>>>> 
>>>>> When can we drop support for M2?
>>>> 
>>>> I guess there are still a lot of m2 users, and for the next few years
>>>> there will still be many. At least when I run an "aptitude search maven"
>>>> on my Debian Linux box, I only see maven 2 supported. Getting rid of
>>>> maven 2 is not an option for me now.
>>> 
>> 
>> Out of curiosity: why can't you run m3 on debian linux? m3 is java,
>> you should be able to download it and place it in your path.
> 
> I probably could. I simply did not try yet, and relied only on what was
> provided by the distribution.
> 
>> I thought everybody who wants to build commons components himself
>> should be able to install m3 on every plattform with java around. Or
>> do I miss something?
> 
> My point is simply that requiring very specific tools or tools versions
> that require specific knowledge or installation should be avoided if
> possible. We don't have the resources to help users installing these
> tools too.

Requiring a newer version of the same build tool should not be an unexpected event.  Many, many projects are already using Maven 3 so it isn't like we are venturing into uncharted waters. 

You have to require something.  Frankly, I'd be more worried if we said we required Gradle or Ant since that would almost require our end users to look inside the build script or whatever documentation we provide to figure out how to run the build.

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


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by Luc Maisonobe <Lu...@free.fr>.
Le 08/01/2012 12:11, Christian Grobmeier a écrit :
> On Sun, Jan 8, 2012 at 6:21 AM, Ralph Goers <ra...@dslextreme.com> wrote:
>>
>> On Jan 7, 2012, at 11:44 AM, Luc Maisonobe wrote:
>>
>>> Le 07/01/2012 15:36, Gary Gregory a écrit :
>>>>>
>>>>
>>>> When can we drop support for M2?
>>>
>>> I guess there are still a lot of m2 users, and for the next few years
>>> there will still be many. At least when I run an "aptitude search maven"
>>> on my Debian Linux box, I only see maven 2 supported. Getting rid of
>>> maven 2 is not an option for me now.
>>
> 
> Out of curiosity: why can't you run m3 on debian linux? m3 is java,
> you should be able to download it and place it in your path.

I probably could. I simply did not try yet, and relied only on what was
provided by the distribution.

> I thought everybody who wants to build commons components himself
> should be able to install m3 on every plattform with java around. Or
> do I miss something?

My point is simply that requiring very specific tools or tools versions
that require specific knowledge or installation should be avoided if
possible. We don't have the resources to help users installing these
tools too.

Luc

> 
>> I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.
> 
> +1
> 
> Cheers
> Christian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org


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


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by Gary Gregory <ga...@gmail.com>.
On Jan 8, 2012, at 7:13, Luc Maisonobe <Lu...@free.fr> wrote:

> Le 08/01/2012 12:11, Christian Grobmeier a écrit :
>> On Sun, Jan 8, 2012 at 6:21 AM, Ralph Goers <ra...@dslextreme.com> wrote:
>>>
>>> On Jan 7, 2012, at 11:44 AM, Luc Maisonobe wrote:
>>>
>>>> Le 07/01/2012 15:36, Gary Gregory a écrit :
>>>>>>
>>>>>
>>>>> When can we drop support for M2?
>>>>
>>>> I guess there are still a lot of m2 users, and for the next few years
>>>> there will still be many. At least when I run an "aptitude search maven"
>>>> on my Debian Linux box, I only see maven 2 supported. Getting rid of
>>>> maven 2 is not an option for me now.
>>>
>>
>> Out of curiosity: why can't you run m3 on debian linux? m3 is java,
>> you should be able to download it and place it in your path.
>
> I probably could. I simply did not try yet, and relied only on what was
> provided by the distribution.
>
>> I thought everybody who wants to build commons components himself
>> should be able to install m3 on every plattform with java around. Or
>> do I miss something?
>
> My point is simply that requiring very specific tools or tools versions
> that require specific knowledge or installation should be avoided if
> possible. We don't have the resources to help users installing these
> tools too.

We're talking about java programmers here, not app users. I would hope
that installing java, ant and maven is in our audience's wheelhouse.

Gary

>
> Luc
>
>>
>>> I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.
>>
>> +1
>>
>> Cheers
>> Christian
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Re: [ALL] Maven 2 - (was Commons Parent pom - any more changes needed?)

Posted by Christian Grobmeier <gr...@gmail.com>.
On Sun, Jan 8, 2012 at 6:21 AM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> On Jan 7, 2012, at 11:44 AM, Luc Maisonobe wrote:
>
>> Le 07/01/2012 15:36, Gary Gregory a écrit :
>>>>
>>>
>>> When can we drop support for M2?
>>
>> I guess there are still a lot of m2 users, and for the next few years
>> there will still be many. At least when I run an "aptitude search maven"
>> on my Debian Linux box, I only see maven 2 supported. Getting rid of
>> maven 2 is not an option for me now.
>

Out of curiosity: why can't you run m3 on debian linux? m3 is java,
you should be able to download it and place it in your path.
I thought everybody who wants to build commons components himself
should be able to install m3 on every plattform with java around. Or
do I miss something?

> I'm not sure how it is relevant whether commons users use maven 2 or 3. Even if we require Maven 3 to build a commons component anyone can still use it in a Maven 2 build. They only would require Maven 3 if they actually want to build one of our artifacts on their own.

+1

Cheers
Christian

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