Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-29 Thread Chris Graham
On Sat, Apr 28, 2012 at 12:12 PM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: On 27 April 2012 18:20, Chris Graham chrisgw...@gmail.com wrote: On Sat, Apr 28, 2012 at 11:06 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: On 27 April 2012 17:51, Chris Graham chrisgw...@gmail.com

discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Vincent Latombe
Hello, I would be very interested to have [1] implemented. Our use case is to compile a subpart of our aggregator + all associated dependencies. The current behaviour requires us to provide *all* individual modules, which defeats the purpose of aggregators. I've made a patch proposal a while ago

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Jason van Zyl
The idea sounds fine. Changing the semantics of existing functionality is not a good idea. If you can implement it such that it is purely additive, and orthogonal, to existing functionality it's much easier to evaluate. Changing how the switch might work for those using it currently is not

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Hilco Wijbenga
On 27 April 2012 01:34, Vincent Latombe vincent.lato...@gmail.com wrote: I would be very interested to have [1] implemented. Our use case is to compile a subpart of our aggregator + all associated dependencies. The current behaviour requires us to provide *all* individual modules, which

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Jesse Glick
On 04/27/2012 01:39 PM, Hilco Wijbenga wrote: What about -am and -amd? -am does work together with -pl. Vincent's issue is that -pl must be given a full list of submodules; just passing an aggregator is not enough. For example, take top +- libs | +- lib1 | +- lib2 +- apps +- app1 |

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Hilco Wijbenga
On 27 April 2012 13:29, Jesse Glick jesse.gl...@oracle.com wrote: On 04/27/2012 01:39 PM, Hilco Wijbenga wrote: What about -am and -amd? -am does work together with -pl. Vincent's issue is that -pl must be given a full list of submodules; just passing an aggregator is not enough. For

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Chris Graham
On Sat, Apr 28, 2012 at 7:04 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: Actually, I've been working on a Maven extension that uses checksums to determine whether a particular project needs to be rebuilt (taking all its dependencies into account). We are currently using a Bash script

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Hilco Wijbenga
On 27 April 2012 17:51, Chris Graham chrisgw...@gmail.com wrote: On Sat, Apr 28, 2012 at 7:04 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: Actually, I've been working on a Maven extension that uses checksums to determine whether a particular project needs to be rebuilt (taking all its

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Chris Graham
On Sat, Apr 28, 2012 at 11:06 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: On 27 April 2012 17:51, Chris Graham chrisgw...@gmail.com wrote: On Sat, Apr 28, 2012 at 7:04 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: Actually, I've been working on a Maven extension that uses

Re: discussion on MNG-4637 : -pl switch negates recursion into sub projects

2012-04-27 Thread Hilco Wijbenga
On 27 April 2012 18:20, Chris Graham chrisgw...@gmail.com wrote: On Sat, Apr 28, 2012 at 11:06 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote:  On 27 April 2012 17:51, Chris Graham chrisgw...@gmail.com wrote: On Sat, Apr 28, 2012 at 7:04 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: