[JBoss JIRA] (ERT-531) Maven 3.3.1 doesn't pick up the customized Toolchain for the WTP build [EBZ#472084]
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/ERT-531?page=com.atlassian.jira.plugin.sy... ]
Nick Boldt reassigned ERT-531:
------------------------------
Assignee: Nick Boldt
> Maven 3.3.1 doesn't pick up the customized Toolchain for the WTP build [EBZ#472084]
> -----------------------------------------------------------------------------------
>
> Key: ERT-531
> URL: https://issues.jboss.org/browse/ERT-531
> Project: Eclipse Release Train
> Issue Type: Task
> Components: Community
> Reporter: Friendly Jira Robot
> Assignee: Nick Boldt
> Priority: Critical
> Labels: Hudson, bzira
>
> A few WTP plugins need to build with the old JDK and a WTP toolchains.xml is set up. It works fine with Maven 3.2.5 but fails with Maven 3.3.1.
> The current investigation showed that instead of using the WTP specific toolchains.xml which is defined in the Hudson build configuration, a common toolchains /opt/public/common/maven-toolchains.xml is linked as the user toolchains.
> genie.gef ~> ll ~/.m2
> [....]
> lrwxrwxrwx 1 genie.gef tools.gef 37 23 févr. 04:05 settings.xml -> /opt/public/common/maven-settings.xml
> lrwxrwxrwx 1 genie.gef tools.gef 39 23 févr. 04:05 toolchains.xml -> /opt/public/common/maven-toolchains.xml
> I wonder how Maven 3.2.5 can pick up the customized toolchains but not 3.3.1. It would be great if Maven 3.3.1 can pick up the customized toolchains as 3.2.5.
> At the same time, I wonder whether the common toolchains file can be changed to support IBM JDK 1.4. Its current JDK 1.4 points to the Sun's which is broken and generates compile errors.
> <toolchain>
> <type>jdk</type>
> <provides>
> <id>J2SE-1.4</id>
> </provides>
> <configuration>
> <jdkHome>/shared/webtools/apps/IBMJava2-142-SR13FP10/jre</jdkHome>
> </configuration>
> </toolchain>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ERT-534) support building with Tycho 1.0 [EBZ#526333]
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/ERT-534?page=com.atlassian.jira.plugin.sy... ]
Nick Boldt reassigned ERT-534:
------------------------------
Assignee: Nick Boldt
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ERT-534) support building with Tycho 1.0 [EBZ#526333]
by Friendly Jira Robot (JIRA)
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)
8 years, 4 months
[JBoss JIRA] (ERT-531) Maven 3.3.1 doesn't pick up the customized Toolchain for the WTP build [EBZ#472084]
by Friendly Jira Robot (JIRA)
Friendly Jira Robot created ERT-531:
---------------------------------------
Summary: Maven 3.3.1 doesn't pick up the customized Toolchain for the WTP build [EBZ#472084]
Key: ERT-531
URL: https://issues.jboss.org/browse/ERT-531
Project: Eclipse Release Train
Issue Type: Task
Components: Community
Reporter: Friendly Jira Robot
Priority: Critical
A few WTP plugins need to build with the old JDK and a WTP toolchains.xml is set up. It works fine with Maven 3.2.5 but fails with Maven 3.3.1.
The current investigation showed that instead of using the WTP specific toolchains.xml which is defined in the Hudson build configuration, a common toolchains /opt/public/common/maven-toolchains.xml is linked as the user toolchains.
genie.gef ~> ll ~/.m2
[....]
lrwxrwxrwx 1 genie.gef tools.gef 37 23 févr. 04:05 settings.xml -> /opt/public/common/maven-settings.xml
lrwxrwxrwx 1 genie.gef tools.gef 39 23 févr. 04:05 toolchains.xml -> /opt/public/common/maven-toolchains.xml
I wonder how Maven 3.2.5 can pick up the customized toolchains but not 3.3.1. It would be great if Maven 3.3.1 can pick up the customized toolchains as 3.2.5.
At the same time, I wonder whether the common toolchains file can be changed to support IBM JDK 1.4. Its current JDK 1.4 points to the Sun's which is broken and generates compile errors.
<toolchain>
<type>jdk</type>
<provides>
<id>J2SE-1.4</id>
</provides>
<configuration>
<jdkHome>/shared/webtools/apps/IBMJava2-142-SR13FP10/jre</jdkHome>
</configuration>
</toolchain>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months