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.
Regards
JB
On 02/12/2016 02:39 PM, Arnaud Vandyck wrote:
On Fri, 2016-02-12 at 09:43 +0100, Jean-Baptiste Onofré wrote:
Hi Arnaud,
it's already done: master (4.1.x) is Java 8 only (and it's the way
it's configured on Jenkins).
According to the pom
[1] https://github.com/apache/karaf/blob/master/pom.xml
I see this configuration for the maven-compiler-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<maxmem>256M</maxmem>
<fork>${compiler.fork}</fork>
</configuration>
</plugin>
Also the maven-enforcer-plugin, requireJavaVersion is [1.7,1.9).
Shouldn't these configurations be updated to 1.8 instead of 1.7?
The switch to java 8 is only to build and run karaf, the source code
and target will not be java 8?
Cheers,
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com