maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/plugin PluginParameterExpressionEvaluator.java
Date Tue, 28 Dec 2004 19:29:14 GMT
jvanzyl     2004/12/28 11:29:14

  Modified:    maven-core/src/main/java/org/apache/maven/plugin
                        PluginParameterExpressionEvaluator.java
  Log:
  o throw a configuration exception if a component can't be found we can't recover from that.
  
  Revision  Changes    Path
  1.4       +2 -2      maven-components/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
  
  Index: PluginParameterExpressionEvaluator.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PluginParameterExpressionEvaluator.java	25 Dec 2004 16:26:25 -0000	1.3
  +++ PluginParameterExpressionEvaluator.java	28 Dec 2004 19:29:14 -0000	1.4
  @@ -42,7 +42,7 @@
               }
               catch ( ComponentLookupException e )
               {
  -                // do nothing
  +                throw new PluginConfigurationException( "Cannot lookup component: ", e
);
               }
           }
           else if ( expression.equals( "#localRepository" ) )
  
  
  

Mime
View raw message