Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Using Maven Compiler plugin with tycho-compiler-jdt and toolchains.xml

Hi there,

I am trying to use tycho-compiler-jdt 1.1.0 with maven-compiler-plugin as described here

However my requirement is to also use the maven-toolchains-plugin, this means, I need to execute the Maven build with JDK8 but compile some modules with lower JDKs. I first tried to use the plexus-compiler-eclipse but it ignores the toolchain configuration and always tries to compile against the runtime of the JDK that is used to executed with maven.

When using tycho-compiler-jdt instead of plexus-compiler-eclipse, the build fails with "compileoutOfProcess not supported", even setting the option <fork>false</fork> does not help.

The tycho-compiler-plugin already seems to be toolchain aware

I saw that with this commit
some improvements have been done in regards to toolchains support to tycho-compiler-jdt.

So I wonder if there is any configuration to get tycho-compiler-jdt + maven-compiler-plugin + maven-toolchains-plugin working?


Back to the top