mtedone / podam

PODAM - POjo DAta Mocker
https://mtedone.github.io/podam
MIT License
326 stars 749 forks source link

Serenity-bdd 1.0.59 doesn't support Java 6 resulting in impossibility to build Podam with Java 6 #215

Closed daivanov closed 8 years ago

daivanov commented 8 years ago

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
daivanov commented 8 years ago

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.

mtedone commented 8 years ago

I agree. We could move compatibility to Java 7

From: Daniil Ivanov notifications@github.com Reply-To: devopsfolks/podam reply@reply.github.com Date: Saturday, 20 August 2016 at 18:49 To: devopsfolks/podam podam@noreply.github.com 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.

daivanov commented 8 years ago

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.