Serenity-bdd 1.0.59 doesn't support Java 6 resulting in impossibility to build Podam with Java 6
Caused by: java.lang.UnsupportedClassVersionError: net/serenitybdd/maven/plugins/SerenityAggregatorMojo : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
... 41 more
Serenity 1.0.26 was already Java 6 incompatible, and versions below have issue with other Podam dependencies compatibility. I think dropping Java 6 support is an option here.
I agree. We could move compatibility to Java 7
From: Daniil Ivanov [email protected] Reply-To: devopsfolks/podam [email protected] Date: Saturday, 20 August 2016 at 18:49 To: devopsfolks/podam [email protected] Subject: Re: [devopsfolks/podam] Serenity-bdd 1.0.59 doesn't support Java 6 resulting in impossibility to build Podam with Java 6 (#215)
Serenity 1.0.26 was already Java 6 incompatible, and versions below have issue with other Podam dependencies compatibility. I think dropping Java 6 support is an option here.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Since Serenity is a test dependency, nothing special is needed. Actually compatibility with Java 6 might be still there, but it just cannot be verified any more.