workaround what will be an ongoing problem with the plugin expressions at this point

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-22 07:31:29 +00:00
parent 297f542553
commit 4b75d55af2
1 changed files with 3 additions and 2 deletions

View File

@ -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 void execute()
// 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 )