]
Nick Boldt resolved ERT-534.
----------------------------
Resolution: Done
All wtp projects can now build with Tycho 1.0
support building with Tycho 1.0 [EBZ#526333]
--------------------------------------------
Key: ERT-534
URL:
https://issues.jboss.org/browse/ERT-534
Project: Eclipse Release Train
Issue Type: Task
Components: WTP Webservices
Reporter: Friendly Jira Robot
Assignee: Nick Boldt
Labels: 3.10_M4, bzira, jst.ws
Fix For: Photon (4.8) M4
Quick hack to support Tycho 1.0 (instead of <= 0.26.0) is to enable
tycho-compiler-plugin's useProjectSettings=false [1] so that things like API
restrictions that SHOULD fail the build are allowed.
Ultimately, these API violation should be fixed, but if your Eclipse settings are
allowing these to be ignored as warnings instead of errors, then so too should Tycho do
the same.
Thus we need to add this to the root pom:
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<useProjectSettings>false</useProjectSettings>
</configuration>
</plugin>
</plugins>
</build>
[1]
https://wiki.eclipse.org/Tycho/Release_Notes/1.0.0#Compiler
BTW, the Version here should be 3.10, but bugzilla needs to be updated to add that
fixversion.