Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-19 Thread Sylwester Lachiewicz
Yes, we can use Path from NIO now, but if we have methods that return File it will not work. - please check the last comments in MNG-6444. Looks like pressure to keep Resoler at Java 7 level is high - I'll not force that change. I hope after some time it will be more natural. Thx for votes and

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-19 Thread Sylwester Lachiewicz
For now, I can think only about movie code to Java 8 syntax (but yes, we still have lots of code that can be upgraded to level 5 and 7...) then maybe small refactoring just to have cleaner code. I would be best if we can have Java 8 Resolver + Wagon released before Maven 3.7 - but also nothing

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-19 Thread Elliotte Rusty Harold
On Tue, May 19, 2020 at 6:54 PM Sylwester Lachiewicz wrote: > > Hi, > I would prefer to keep in sync a minimal version of Java version for Maven > Core and Resolver so we can use all goodies from Java 8 like mentioned > streams, default methods. > Real cases -

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-19 Thread Sylwester Lachiewicz
Hi, I would prefer to keep in sync a minimal version of Java version for Maven Core and Resolver so we can use all goodies from Java 8 like mentioned streams, default methods. Real cases - https://jira.apache.org/jira/browse/MNG-6444 migrate code to use NIO - also in many places we still have

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-11 Thread Tibor Digana
The code written in j8 looks more compact. The loops and annonymous classes with one method do not waste the code lines. You can create a branch for the Maven Resolver 2.0 and the later Maven can use it. Do we need to have Maven Resolver 2.0 in the Maven 3.7.0? The Maven 3.7.0 is @j8 and using

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-11 Thread Michael Osipov
Strongly agree with Elliotte. Rather than rewriting existing, working code, I'd rather see issues addressed. M Am 2020-05-09 um 22:19 schrieb Elliotte Rusty Harold: It is not true that Java 7 updates are no longer available. Java 7 updates are available from Oracle for paying customers and

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-09 Thread Olivier Lamy
+1 Java8 finally On Sun, 10 May 2020 at 06:13, Sylwester Lachiewicz wrote: > Hi to all, > > based on the previous vote to require Java 8 for Maven Core - I would like > to propose setting the same minimum for Maven Resolver 2.0 > > Maven Resolver is a base component to solve dependencies

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-09 Thread Karl Heinz Marbaise
On 09.05.20 22:13, Sylwester Lachiewicz wrote: Hi to all, based on the previous vote to require Java 8 for Maven Core - I would like to propose setting the same minimum for Maven Resolver 2.0 Maven Resolver is a base component to solve dependencies for Maven. It can also be used separately

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-09 Thread Gary Gregory
+1 non-binding. On Sat, May 9, 2020, 16:13 Sylwester Lachiewicz wrote: > Hi to all, > > based on the previous vote to require Java 8 for Maven Core - I would like > to propose setting the same minimum for Maven Resolver 2.0 > > Maven Resolver is a base component to solve dependencies for Maven.

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-09 Thread Enrico Olivelli
+1 Enrico Il giorno sab 9 mag 2020 alle ore 22:19 Elliotte Rusty Harold < elh...@ibiblio.org> ha scritto: > It is not true that Java 7 updates are no longer available. Java 7 > updates are available from Oracle for paying customers and from other > vendors such as Azul for everyone. > > My

Re: JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-09 Thread Elliotte Rusty Harold
It is not true that Java 7 updates are no longer available. Java 7 updates are available from Oracle for paying customers and from other vendors such as Azul for everyone. My preference is not to move unless there's a clear reason to do so. Are there specific features in Java 8 that would be

JDK 8 Minimum Requirement for Maven Resolver 2.0

2020-05-09 Thread Sylwester Lachiewicz
Hi to all, based on the previous vote to require Java 8 for Maven Core - I would like to propose setting the same minimum for Maven Resolver 2.0 Maven Resolver is a base component to solve dependencies for Maven. It can also be used separately from Maven for other projects. Because Java 7