Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] should <showWarnings>false</showWarnings> work?

Hi,

i have this:

    <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<showWarnings>false</showWarnings>
xxxx

but it will show warnings no matter what

i also tried to run with:

mvn clean install -Dmaven.compiler.showWarnings=false

but still a lot of warnings..


The same thing is that i can't get that <useJDK> to work

i have added this in my toolchains.xml file:

<toolchain>
       <type>jdk</type>
       <provides>
       <id>JavaSE-8</id>
       </provides>
       <configuration>
       <jdkHome>c:/javatools/jdk18/</jdkHome>
       </configuration>
  </toolchain>

and then use

<useJDK>BREE</useJDK>

in the configuration of the tycho compiler plugin

and in the manifest i do have:

Bundle-RequiredExecutionEnvironment: JavaSE-1.8

But no matter what if i then run maven (java.home property) with java12
it will start to complain it can't find or use it:

Could not find specification for custom execution environment profile 'JavaSE-12'

also the -X of maven doesn't really tell that much, i had hopped for a bit more output of the compiler plugin..


--
Johan Compagner
Servoy

Back to the top