maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r746819 - /maven/components/trunk/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
Date Sun, 22 Feb 2009 21:01:29 GMT
Author: bentmann
Date: Sun Feb 22 21:01:29 2009
New Revision: 746819

URL: http://svn.apache.org/viewvc?rev=746819&view=rev
Log:
o Partly reverted r746431 to restore backward-compat with plugins like Surefire that access
this field directly for manual container lookups

Modified:
    maven/components/trunk/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

Modified: maven/components/trunk/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java?rev=746819&r1=746818&r2=746819&view=diff
==============================================================================
--- maven/components/trunk/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
(original)
+++ maven/components/trunk/maven-toolchain/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
Sun Feb 22 21:01:29 2009
@@ -28,9 +28,13 @@
  */
 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
+}



Mime
View raw message