On Fri, 2016-02-12 at 14:46 +0100, Jean-Baptiste Onofré wrote: > Hi Arnaud, > > yes, it should be updated (I'm doing it now), but you can see: > > http://karaf.apache.org/download.html > > in the table about Java Version Support, that the min is 8.
I was trying to work on KARAF-4273, refactoring the GrepAction in Java 8 but IntelliJ complains about the version of java ;-) I attach a little patch, I hope it helps ;-) Cheers, -- Arnaud Vandyck <avand...@gmail.com>
From ed33b1c56acf52737b012b71ddb4784ccb12a5f9 Mon Sep 17 00:00:00 2001 From: avandyck <arnaud.vand...@staff.voo.be> Date: Thu, 11 Feb 2016 11:24:54 +0100 Subject: [PATCH] Upgrade to java 8 --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 4f9889d..666aa94 100644 --- a/pom.xml +++ b/pom.xml @@ -2006,8 +2006,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.7</source> - <target>1.7</target> + <source>1.8</source> + <target>1.8</target> <maxmem>256M</maxmem> <fork>${compiler.fork}</fork> </configuration> @@ -2027,7 +2027,7 @@ <version>[3,4)</version> </requireMavenVersion> <requireJavaVersion> - <version>[1.7,1.9)</version> + <version>[1.8,1.9)</version> </requireJavaVersion> </rules> </configuration> @@ -2303,7 +2303,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> - <source>1.7</source> + <source>1.8</source> </configuration> <executions> <execution> -- 2.7.0