JDK 1.7 is already supported. The latest version has been tested with
different flavours of Java 7.
I'm not sure why you have this issue. Can you provide a sample project
that reproduced the problem?
On 14/05/2014 23:47, Manav Brar wrote:
can we add support for java 1.7
when I set the maven compiler target to 1.7 get error
[ERROR] Failed to execute goal
org.jbehave:jbehave-maven-plugin:3.9.2:run-stories-as-embeddables
(embeddable-stories) on project trulia-stories-java: Execution
embeddable-stories of goal
org.jbehave:jbehave-maven-plugin:3.9.2:run-stories-as-embeddables
failed: An API incompatibility was encountered while executing
org.jbehave:jbehave-maven-plugin:3.9.2:run-stories-as-embeddables:
java.lang.UnsupportedClassVersionError:
com/trulia/stories/TruliaStories : Unsupported major.minor version 51.0
on switching back to maven compiler target to 1.6
everything looks fine
--
thanking you
Manav
(562)304-1785