diff --git a/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java b/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java index 2ace464af5..2246d9b2a3 100644 --- a/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java +++ b/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java @@ -54,7 +54,8 @@ public class CoreItMojo { private String outputDirectory; - private File basedirAlignmentDirectory; + // TODO: should be a File, but plugin manager can't convert that from an expression yet + private String basedirAlignmentDirectory; private String pluginItem; @@ -68,7 +69,7 @@ public class CoreItMojo // This parameter should be aligned to the basedir as the parameter type is specified // as java.io.File - touch( basedirAlignmentDirectory, "touch.txt" ); + touch( new File( basedirAlignmentDirectory ), "touch.txt" ); // Test parameter setting if ( pluginItem != null )