puniverse / capsule-maven

Runtime dependency-resolution caplet

Home Page:http://capsule.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For a Java 7 maven project capsule-maven 0.10.4 fails with Unsupported major.minor version 52.0

tngmech opened this issue · comments

In contrast to capsule-maven 0.10.3 a Maven project still using Java 7 fails with a message during the build that the class version is unsupported. 52.0 ist Java 8, so probably from 0.10.3 to 0.10.4 the compiler level was changed. This issue should be reproducible with a real JDK 7 installation by just flipping the versions between 0.10.3 and 0.10.4.
It would be great to have Java 7 still supported for a build.

I have seen a stale capsule jdk8 branch with gradle being set to Java 8 while master is Java 7 (again).
Probably the maven plugin 0.10.4 pulls that JDK8 version accidentally.

Wrong project. This issue belongs in capsule-maven-plugin or possibly Capsule. In any case, Capsule 1.0-rc1 is the version you should use.