Community
Participate
Working Groups
When compiling with xtend-maven-plugin where are no way to control the various errors/warnings for the compiler. This is possible in the IDE and means you can have different results when compiling with Maven and the IDE. Please provide a way to specify the errors/warnings like used for the java compiler.
Eclipse-IDE stores its compiler-settings in file ".settings/org.eclipse.jdt.core.prefs". You can advise maven/tycho to use exactly these settings by adding the following to your pom.xml (in section project/build/pluginManagement/plugins): <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-compiler-plugin</artifactId> <version>${tycho-version}</version> <configuration> <compilerArguments> <properties>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</properties> </compilerArguments> </configuration> </plugin> See also https://wiki.eclipse.org/Tycho/FAQ#How_to_configure_warning.2Ferror_settings_of_the_OSGi_compiler.3F
(In reply to Thomas Fritsch from comment #1) > Eclipse-IDE stores its compiler-settings in file > ".settings/org.eclipse.jdt.core.prefs". > You can advise maven/tycho to use exactly these settings by adding the > following > to your pom.xml I have a way for JDT, but I need a similar way for Xtend...