ideauidesigner-maven-plugin 1.0-beta-1 fails when compiling to Java 9

Answered

I am trying to compile to Java 9 with a Maven POM. It works on Java 7 but I've just tried to compile to Java 9. I've included the JDK for Java 9+181 and it does show me new and added Java 9 classes and methods.

The build fails when we try to use the ideauidesigner-maven-plugin which seems to have never been updated since 1.0-beta-1. Here is the full error message:

Execution default of goal org.codehaus.mojo:ideauidesigner-maven-plugin:1.0-beta-1:javac2 failed: 1612

None of the dialogs have changed so I will try just removing this step and hope that the existing code will work. But my guess is that this will fail because the target folder is cleared on each build so old versions will be gone.

Is there a new version of ideauidesigner-maven-plugin that could work with Java 9?

 

Thank you.

 

0
3 comments

There doesn't seem to be Java 9 compatible version of this plug-in.

0
Avatar
Permanently deleted user

Thank you for the quick reply, Serge. That's what I was afraid of. It turns out OK for us - I just removed the use of ideauidesigner-maven-plugin in the POM and it was not missed. I seems that this was a left-over from part of the project that is no longer included!

I'm impressed how well the rest of IntelliJ works with JDK 9! We're up and running again.

 

Thanks.

0
Avatar
Permanently deleted user

This doesn't work for shading.  :(

0

Please sign in to leave a comment.