Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Toolchain settings not transferred to release build [3.1.0-RC1](In 3.0.1 a release build got the toolchain file correctly, in 3.1-RC it seems to not get the information)
Toolchain settings not transferred to release build [3.1.0-RC1] [message #1094896] Mon, 26 August 2013 10:59 Go to next message
Andreas Magnusson is currently offline Andreas MagnussonFriend
Messages: 7
Registered: June 2010
Junior Member
I seem to have found a problem in 3.1.0-RC1 where the M3 toolchain information isn't transferred properly to a release build. In 3.0.1 it works perfectly, but the release:perform target cannot find the toolchain.
Just wondering if this is a known problem before I try to recreate it in a small scale project for a bug report.

Regards,
/Andreas

[Updated on: Mon, 26 August 2013 10:59]

Report message to a moderator

Re: Toolchain settings not transferred to release build [3.1.0-RC1] [message #1094901 is a reply to message #1094896] Mon, 26 August 2013 11:06 Go to previous message
Andreas Magnusson is currently offline Andreas MagnussonFriend
Messages: 7
Registered: June 2010
Junior Member
Just adding some initial information for those curious. Output showing that the toolchain is used:
[Grid.grid-trunk-release] $ /opt/maven/bin/mvn clean release:prepare release:perform --batch-mode -V -B -e -Dpassword=builder -DautoVersionSubmodules=true -Dusername=Builder -Dmaven.ext.class.path=/var/lib/hudson/maven/slavebundle/resources:/var/lib/hudson/maven/slavebundle/lib/maven3-eventspy-3.0.jar:/var/lib/hudson/slave.jar -Dhudson.eventspy.port=60581 -Dmaven.repo.local=/var/lib/hudson/workspace/Grid.grid-trunk-release/.maven/repo -f pom.xml
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: /opt/maven
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: /opt/jdk1.7.0_21/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-358.6.2.el6.x86_64", arch: "amd64", family: "unix"
[DEBUG] Connected to remote
[INFO] Error stacktraces are turned on.
[INFO] o.h.m.e.h.SettingsBuildingRequestHandler - Using global settings document ID: 76a9da60-5926-4d63-ad2a-3e405b404de1
[INFO] o.h.m.e.h.MavenExecutionRequestHandler - Using tool-chains document ID: 14522b99-43b9-4e3f-9a41-9eaee98ca637

However:
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-toolchains-plugin:1.0:toolchain (default) on project umbrella: Cannot find matching toolchain definitions for the following toolchain types:
[INFO] [ERROR] jdk [ vendor='sun' version='1.6' ]
[INFO] [ERROR] Please make sure you define the required toolchains in your ~/.m2/toolchains.xml file.
[INFO] [ERROR] -> [Help 1]

I could re-run the release on our old 3.0.1 host, so it does work there.
Previous Topic:SVN Publisher Clarifications
Next Topic:(SVN) "Tag this build" throws "authentication cancelled' exception
Goto Forum:
  


Current Time: Sat Dec 20 17:30:34 GMT 2014

Powered by FUDForum. Page generated in 0.01538 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software