Hi,

I'm trying to get started with Isis using the SimpleApp archetype. Out of
the box it compiles fine on the command line and in the IDE. However, I
would like to use Java 8 so in the parent pom.xml I changed
maven-compiler-plugin configuration to 1.8. Following this change I needed
to change one line in SimpleObjects.java. Line 62 changed from

return container.allMatches(new QueryDefault<>(SimpleObject.class,
"findByName", "name", name));

to

return container.allMatches(new
QueryDefault<SimpleObject>(SimpleObject.class, "findByName", "name", name));

After this change my IDE shows no errors, but on the command line when I
run "mvn clean install" it aborts with the following error:

[ERROR] Failed to execute goal
org.datanucleus:datanucleus-maven-plugin:3.3.2:enhance (default) on project
naked-objects-dom: Error executing DataNucleus tool
org.datanucleus.enhancer.DataNucleusEnhancer:InvocationTargetException:
IllegalArgumentException -> [Help 1]

Is it possible to enable Java 8 support for Apache Isis?

-Ilkka

Reply via email to