From 38e77993978da388ebd7be9cf101d599190043e0 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Sun, 22 Feb 2009 21:01:29 +0000 Subject: [PATCH] o Partly reverted r746431 to restore backward-compat with plugins like Surefire that access this field directly for manual container lookups git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746819 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/toolchain/ToolchainManager.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java b/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java index 65c3c0b77f..fe8117624f 100644 --- a/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java +++ b/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java @@ -28,9 +28,13 @@ import org.apache.maven.execution.MavenSession; */ public interface ToolchainManager { + + // NOTE: Some plugins like Surefire access this field directly! + String ROLE = ToolchainManager.class.getName(); + /** * to be used from plugins capable of working with toolchains. */ Toolchain getToolchainFromBuildContext( String type, MavenSession context ); -} \ No newline at end of file +}