Simpler strategy for telling Tycho to use existing project settings
See <https://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html#useProjectSettings> for more documentation on this feature, which first arrived in Tycho 0.22.
This commit is contained in:
parent
fbf4ff731d
commit
0b712f46b3
|
@ -11,15 +11,6 @@
|
||||||
<artifactId>com.ibm.wala.cast.js.nodejs</artifactId>
|
<artifactId>com.ibm.wala.cast.js.nodejs</artifactId>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
|
||||||
<artifactId>tycho-compiler-plugin</artifactId>
|
|
||||||
<version>${tycho-version}</version>
|
|
||||||
<configuration>
|
|
||||||
<source>1.8</source>
|
|
||||||
<target>1.8</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.7</version>
|
<version>1.7</version>
|
||||||
|
|
|
@ -11,15 +11,6 @@
|
||||||
<artifactId>com.ibm.wala.core.testdata</artifactId>
|
<artifactId>com.ibm.wala.core.testdata</artifactId>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
|
||||||
<artifactId>tycho-compiler-plugin</artifactId>
|
|
||||||
<version>${tycho-version}</version>
|
|
||||||
<configuration>
|
|
||||||
<source>1.8</source>
|
|
||||||
<target>1.8</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.7</version>
|
<version>1.7</version>
|
||||||
|
|
7
pom.xml
7
pom.xml
|
@ -116,12 +116,7 @@
|
||||||
<artifactId>tycho-compiler-plugin</artifactId>
|
<artifactId>tycho-compiler-plugin</artifactId>
|
||||||
<version>${tycho-version}</version>
|
<version>${tycho-version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.7</source>
|
<useProjectSettings>true</useProjectSettings>
|
||||||
<target>1.7</target>
|
|
||||||
<compilerArgument>-err:-forbidden</compilerArgument>
|
|
||||||
<compilerArguments>
|
|
||||||
<properties>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</properties>
|
|
||||||
</compilerArguments>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
Loading…
Reference in New Issue