[
https://issues.apache.org/jira/browse/MNG-5855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703772#comment-14703772
]
Hervé Boutemy commented on MNG-5855:
------------------------------------
I just had a look at the real evidence of the failure (whatever the root cause
is) = the Hudson log
https://hudson.eclipse.org/webtools/job/WTP-R3_7_x_Maintenance_test/18/consoleFull
and I found:
{noformat}[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from
/shared/common/apache-maven-latest/conf/settings.xml
[DEBUG] Reading user settings from
/opt/public/hipp/homes/genie.webtools/.m2/settings.xml
[DEBUG] Reading global toolchains from
/shared/common/apache-maven-latest/conf/toolchains.xml
[DEBUG] Reading user toolchains from
/home/hudson/genie.webtools/.hudson/maven/documents/f1492191-c1d9-4caa-a6bf-44160486454d.xml
[WARNING]
[WARNING] Some problems were encountered while building the effective toolchains
[WARNING] Expected root element 'toolchains' but found 'document' (position:
START_TAG seen ...d9-4caa-a6bf-44160486454d" name="WTP Toolchain"
type="TOOLCHAINS">... @1:91) @ line 1, column 91
{noformat}
I don't know how this {{f1492191-c1d9-4caa-a6bf-44160486454d.xml}} file was
created, I suppose this if the "toolchains.xml" file you're talking about and
expect, but clearly its content is not
{code:xml}<toolchain>
<type>jdk</type>
<provides>
<id>J2SE-1.4</id>
</provides>
<configuration>
<jdkHome>/shared/webtools/apps/IBMJava2-142-SR13FP10/jre</jdkHome>
</configuration>
</toolchain>{code}
> Maven 3.3.3 ignores the customized Toolchain
> --------------------------------------------
>
> Key: MNG-5855
> URL: https://issues.apache.org/jira/browse/MNG-5855
> Project: Maven
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 3.3.3
> Reporter: Samuel Wu
> Labels: patch
> Fix For: 3.3.7
>
>
> This is an Eclipse build in the Hudson environment. Maven 3.3.3 was used to
> run the build and a customized Toolchain is defined by --toolchains option.
> But the customized toolchain location is ignored by Maven and the default
> user toolchain in the directoy ~/.m2 is always picked up.
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=472084 for more details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)