You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2008/08/29 18:20:45 UTC

svn commit: r690315 - /maven/components/branches/maven-2.1.0-M1-RC/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

Author: jdcasey
Date: Fri Aug 29 09:20:42 2008
New Revision: 690315

URL: http://svn.apache.org/viewvc?rev=690315&view=rev
Log:
improve warning when extension components of DefaultLifecycleExecutor are found that contain incomplete component requirements.

Modified:
    maven/components/branches/maven-2.1.0-M1-RC/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

Modified: maven/components/branches/maven-2.1.0-M1-RC/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.0-M1-RC/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java?rev=690315&r1=690314&r2=690315&view=diff
==============================================================================
--- maven/components/branches/maven-2.1.0-M1-RC/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java (original)
+++ maven/components/branches/maven-2.1.0-M1-RC/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java Fri Aug 29 09:20:42 2008
@@ -1932,8 +1932,9 @@
 
     // -------------------------------------------------------------------------
     // TODO: The methods and fields below are only needed for products like Hudson,
-    //  that provide their own LifecycleExecutor and component configuration, 
-    //  which may not contain up-to-date component requirements.
+    // that provide their own LifecycleExecutor and component configuration that extend
+    // default implementation, and which may become out-of-date as component requirements
+    // are updated within Maven itself.
     public void initialize()
         throws InitializationException
     {
@@ -1971,6 +1972,10 @@
         buffer.append( "\n\nThis Maven runtime contains a LifecycleExecutor component with an incomplete configuration." );
         buffer.append( "\n\nLifecycleExecutor class: " ).append( getClass().getName() );
         buffer.append( "\nMissing component requirement: " ).append( role );
+        buffer.append( "\n" );
+        buffer.append( "\nNOTE: This seems to be a third-party Maven derivative you are using. If so, please" );
+        buffer.append( "\nnotify the developers for this derivative project of the problem. The Apache Maven team is not" );
+        buffer.append( "\nresponsible for maintaining the integrity of third-party component overrides." );
         buffer.append( "\n\n" );
         
         getLogger().warn( buffer.toString() );