-
Notifications
You must be signed in to change notification settings - Fork 53
[xtend-maven-plugin][java11] Maven plugin fails to compile Xtend files when present in same folder as Java files #697
Comments
Xtend 2.16 does and will not support Java 11. This is planned for 2.17. |
@kthoms Is that even if the source and target are set to 1.8 but maven is running on Java 11? That's actually the case in this issue that I forgot to mention. |
well yes and no.on non mac it will accidentally work |
you can find snapshots here: https://github.com/cdietrich/Xpect/tree/cd_guava21 |
Ok thanks. |
can you share a minimal example @ghillairet |
Then let's reopen it. |
@cdietrich Here is my example https://github.com/ghillairet/xtend-java11 |
can you test with
and |
@cdietrich It's working as expected with |
Fixed in Xtext/Xtend 2.17 |
Good morning @cdietrich, I upgraded from Java 8 to Java 11 yesterday and unfortunately ran into this problem as well. I am using Xtext/Xtend 1.19. Can you please look into this again? If required I can provide a small sample of my own. Thanks! |
@georgschmidtdumont i currently have no time to create and debug an example. |
p.s.: https://github.com/ghillairet/xtend-java11 works perfectly fine with Xtext/Xtend 2.19 |
Hi @cdietrich, Thanks for your quick response! |
Xtend maven plugin version: 2.16.0
Java version: OpenJDK 11.0.2
Steps to reproduce:
src/main/java
src/main/java
that references the Java classmvn clean install
This results in a compilation error saying that a method from the Java class refers to the missing type Object.
This can be fixed if the Xtend class is moved to
src/main/xtend
. This seems to be an issue only with Java 11 and not prior Java versions.The text was updated successfully, but these errors were encountered: