mirror of https://github.com/apache/maven.git
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:
parent
297f542553
commit
4b75d55af2
|
@ -54,7 +54,8 @@ public class CoreItMojo
|
||||||
{
|
{
|
||||||
private String outputDirectory;
|
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;
|
private String pluginItem;
|
||||||
|
|
||||||
|
@ -68,7 +69,7 @@ public class CoreItMojo
|
||||||
// This parameter should be aligned to the basedir as the parameter type is specified
|
// This parameter should be aligned to the basedir as the parameter type is specified
|
||||||
// as java.io.File
|
// as java.io.File
|
||||||
|
|
||||||
touch( basedirAlignmentDirectory, "touch.txt" );
|
touch( new File( basedirAlignmentDirectory ), "touch.txt" );
|
||||||
|
|
||||||
// Test parameter setting
|
// Test parameter setting
|
||||||
if ( pluginItem != null )
|
if ( pluginItem != null )
|
||||||
|
|
Loading…
Reference in New Issue