Merge pull request #356 from eclipse/cd_eclipse_issue272

Fixed problem with the initial build after project creation in maven tycho
This commit is contained in:
Christian Dietrich 2017-06-08 14:08:42 +02:00 committed by GitHub
commit f7993d9e87
5 changed files with 8 additions and 0 deletions

View file

@ -247,6 +247,7 @@
<version>${tycho-version}</version>
<configuration>
<compilerArgument>-err:-forbidden</compilerArgument>
<useProjectSettings>false</useProjectSettings>
</configuration>
</plugin>
</plugins>

View file

@ -206,6 +206,7 @@
<version>${tycho-version}</version>
<configuration>
<compilerArgument>-err:-forbidden</compilerArgument>
<useProjectSettings>false</useProjectSettings>
</configuration>
</plugin>
</plugins>

View file

@ -249,6 +249,7 @@
<version>${tycho-version}</version>
<configuration>
<compilerArgument>-err:-forbidden</compilerArgument>
<useProjectSettings>false</useProjectSettings>
</configuration>
</plugin>
</plugins>

View file

@ -456,6 +456,7 @@ class ParentProjectDescriptor extends ProjectDescriptor {
<version>${tycho-version}</version>
<configuration>
<compilerArgument>-err:-forbidden</compilerArgument>
<useProjectSettings>false</useProjectSettings>
</configuration>
</plugin>
«ENDIF»

View file

@ -1495,6 +1495,10 @@ public class ParentProjectDescriptor extends ProjectDescriptor {
_builder.append("<compilerArgument>-err:-forbidden</compilerArgument>");
_builder.newLine();
_builder.append("\t\t\t");
_builder.append("\t\t");
_builder.append("<useProjectSettings>false</useProjectSettings>");
_builder.newLine();
_builder.append("\t\t\t");
_builder.append("\t");
_builder.append("</configuration>");
_builder.newLine();