You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:35:50 UTC
[maven-invoker-plugin] 08/24: Changing verification script to be
more general-purpose, as a post-build hook.
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to annotated tag maven-invoker-plugin-1.0
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
commit f7bd57a98ee8929c57f9fb2a046b17ba0080a30e
Author: John Dennis Casey <jd...@apache.org>
AuthorDate: Wed Aug 23 19:38:27 2006 +0000
Changing verification script to be more general-purpose, as a post-build hook.
git-svn-id: https://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-invoker-plugin@434137 13f79535-47bb-0310-9956-ffa450edef68
---
src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java b/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
index b5d7e5e..236436b 100644
--- a/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
@@ -126,11 +126,11 @@ public class InvokerMojo
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 @@ public class InvokerMojo
{
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 )
{
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.