How to fail a build that has compiler warnings with Tycho

I read that Tycho 0.22 can reuse JDT compiler settings that are saved with the project.

Now I would like to complete the build if the compiler encounters warnings configured with the project settings. Can Tycho be configured for this?

Update 2016-11-29 : I am looking for a solution for this issue on the Tycho mailing list

+3


source to share


1 answer


Use compiler argument -err:all

:

<plugin>
  <groupId>org.eclipse.tycho</groupId>
  <artifactId>tycho-compiler-plugin</artifactId>
  <version>${tychoVersion}</version>
  <configuration>
    <compilerArgument>-err:all</compilerArgument>
  </configuration>
</plugin>

      



See also:

+1


source







All Articles