You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/01/18 13:35:52 UTC
[maven-jmod-plugin] 01/03: MJMOD-20: Groovinize method
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 b1875903cf86b37576899c3121a30c15e0d75b34
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jan 18 13:41:46 2019 +0100
MJMOD-20: Groovinize method
---
src/it/mjmod-20-set-main-class/verify.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/it/mjmod-20-set-main-class/verify.groovy b/src/it/mjmod-20-set-main-class/verify.groovy
index 83a0cc7..3db0c9d 100644
--- a/src/it/mjmod-20-set-main-class/verify.groovy
+++ b/src/it/mjmod-20-set-main-class/verify.groovy
@@ -66,10 +66,10 @@ else
return false
}
-def validateArtifact( String module, List<String> artifactNames )
+def validateArtifact(module, artifactNames)
{
println( "Checking if ${basedir}/${module}/target exists." )
- File target = new File( basedir, "/${module}/target" )
+ def target = new File( basedir, "/${module}/target" )
assert target.isDirectory()
File artifact = new File( target, "/jmods/myproject.${module}.jmod" )