[jbosstools-issues] [JBoss JIRA] (ERT-534) support building with Tycho 1.0 [EBZ#526333]

Friendly Jira Robot (JIRA) issues at jboss.org
Thu Nov 23 12:32:00 EST 2017


Friendly Jira Robot created ERT-534:
---------------------------------------

             Summary: 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
             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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list