maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r434137 - /maven/sandbox/plugins/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
Date Wed, 23 Aug 2006 19:38:28 GMT
Author: jdcasey
Date: Wed Aug 23 12:38:27 2006
New Revision: 434137

URL: http://svn.apache.org/viewvc?rev=434137&view=rev
Log:
Changing verification script to be more general-purpose, as a post-build hook.

Modified:
    maven/sandbox/plugins/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java

Modified: maven/sandbox/plugins/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java?rev=434137&r1=434136&r2=434137&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
(original)
+++ maven/sandbox/plugins/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
Wed Aug 23 12:38:27 2006
@@ -126,11 +126,11 @@
     private String preBuildHookScript;
 
     /**
-     * relative path of a verification beanshell script to run after executing the build.
+     * relative path of a cleanup/verification beanshell script to run after executing the
build.
      * 
-     * @parameter expression="${invoker.verificationScript}" default-value="verify.bsh"
+     * @parameter expression="${invoker.postBuildHookScript}" default-value="postbuild.bsh"
      */
-    private String verificationScript;
+    private String postBuildHookScript;
 
     /**
      * Location of a properties file that defines CLI properties for the test.
@@ -415,11 +415,11 @@
     {
         boolean result = true;
 
-        if ( verificationScript != null )
+        if ( postBuildHookScript != null )
         {
             try
             {
-                result = runScript( "verification script", basedir, verificationScript, logger
);
+                result = runScript( "verification script", basedir, postBuildHookScript,
logger );
             }
             catch ( final IOException e )
             {



Mime
View raw message