This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch JMOD-20 in repository https://gitbox.apache.org/repos/asf/maven-jmod-plugin.git
commit 59068958f6666518a4a6a7ccc167b07dba11d9e4 Author: rfscholte <[email protected]> AuthorDate: Fri Jan 18 13:46:53 2019 +0100 MJMOD-20: replace target expression with actual command --- src/it/mjmod-20-set-main-class/verify.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/it/mjmod-20-set-main-class/verify.groovy b/src/it/mjmod-20-set-main-class/verify.groovy index 3db0c9d..340a7c9 100644 --- a/src/it/mjmod-20-set-main-class/verify.groovy +++ b/src/it/mjmod-20-set-main-class/verify.groovy @@ -61,7 +61,7 @@ if ( ! sout.toString().trim().isEmpty() && serr.toString().trim().isEmpty() ) else { System.err.println( "Some error happened while trying to run 'jmod describe " - + "${target}/jmods/myproject.greetings.jmod'" ) + + "${basedir}/greetings/target/jmods/myproject.greetings.jmod'" ) System.err.println( serr ) return false } @@ -69,10 +69,10 @@ else def validateArtifact(module, artifactNames) { println( "Checking if ${basedir}/${module}/target exists." ) - def target = new File( basedir, "/${module}/target" ) - assert target.isDirectory() + def targetDir = new File( basedir, "/${module}/target" ) + assert targetDir.isDirectory() - File artifact = new File( target, "/jmods/myproject.${module}.jmod" ) + File artifact = new File( targetDir, "/jmods/myproject.${module}.jmod" ) assert artifact.isFile() Set contents = new HashSet()
