Re: Maven coordinates going forward

2017-03-30 Thread Keegan Witt
That's a good point. It could cause some issues for Groovy as a transitive dependency, but doing a global exclude in Maven is fairly easy to do. On Tue, Mar 28, 2017 at 1:42 PM, Cédric Champeau wrote: > One thing one has to consider when changing Maven coordinates,

RE: Maven coordinates going forward

2017-03-30 Thread Miro Bezjak
I feel we have changed topics. OP's starting question was maven coordinates. This naturally led to the question of package names. Now we ended up on the topic of JDK9 modules. They are related to maven coordinates and package names but my previous comment didn't intend to address the modules. So

Re: Maven coordinates going forward

2017-03-30 Thread Guillaume Laforge
And there's also groovy-wslite. Also we can't wait for all possible abandonned project to update to a newer version of Groovy. Those projects depending on libraries using an old version of Groovy should probably just not upgrade at all. On Thu, Mar 30, 2017 at 4:09 PM, David Clark

Re: Maven coordinates going forward

2017-03-30 Thread David Clark
The original http-builder is unmaintained. However http-builder-ng is maintained: https://http-builder-ng.github.io/http-builder-ng/ We already had to change the maven coordinates because of Maven/Sonatype restrictions, so things should be fine provided people upgrade to the newer library. On

Re: Maven coordinates going forward

2017-03-30 Thread Cédric Champeau
And again, _we have no choice_. If we want Groovy to run as a module, we HAVE to break binary compatibility. There's absolutely no other way around. It's a thing. If we don't want to break it, Groovy will never run as a module. And if JDK 9 modules become legion, then Groovy would die. 2017-03-30

Re: Maven coordinates going forward

2017-03-30 Thread Cédric Champeau
To me the idea would be to be able to run Groovy 2 and Groovy NG concurrently. 2017-03-30 15:12 GMT+02:00 Winnebeck, Jason : > Can you explain the story around a library like > org.codehaus.groovy.modules.http-builder:http-builder, which is no longer > really

Re: Groovy compiler configuration BytecodeProcessor

2017-03-30 Thread Cherif Gouiaa
OK. Thanks for the (fast) response. Actually, I just need to confirm that there is no way to limit the amount of memory which a sandboxed groovy script will use. (By the way, the sandbox is based on your blog post )... 2017-03-30 13:18

Re: Groovy compiler configuration BytecodeProcessor

2017-03-30 Thread Cédric Champeau
It can be used for various purposes: dumping the generated bytecode, post-processing it (to avoid runtime instrumentation), storing generated bytecode on disk, ... As for memory size a groovy script will allocate, this statement is too blury: the only thing you can measure is the size of the

Groovy compiler configuration BytecodeProcessor

2017-03-30 Thread Cherif Gouiaa
What is the exact role of a BytecodeProcessor when used in a org.codehaus.groovy.control.CompilerConfiguration. Can I rely on it to measure the memory size which a groovy script will allocate. (i.e. original.length) ? -- *Cherif Gouiaa* Ingenieur de developpement [image: logo]

Re: Maven coordinates going forward

2017-03-30 Thread Russel Winder
On Thu, 2017-03-30 at 09:26 +0200, Cédric Champeau wrote: > We have to keep in mind that there's a larger story here, which is > supporting Groovy as a module. And this *will* require package > changes and > binary breaking changes. So I don't think the status quo is > acceptable in > the long

Re: Maven coordinates going forward

2017-03-30 Thread Russel Winder
On Wed, 2017-03-29 at 15:42 -0400, Keith Suderman wrote: > Given Cédric's email and recent comments I think I have been > convinced to change my vote to a -1 for changing Maven coordinates or > package names. > > Is there a compelling technical argument for either change?  Going by > the old