brett 2005/03/21 23:31:29
Modified: maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit
CoreItMojo.java
Log:
workaround what will be an ongoing problem with the plugin expressions at
this point
Revision Changes Path
1.6 +3 -2
maven-components/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
Index: CoreItMojo.java
===================================================================
RCS file:
/home/cvs/maven-components/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- CoreItMojo.java 22 Mar 2005 06:43:31 -0000 1.5
+++ CoreItMojo.java 22 Mar 2005 07:31:29 -0000 1.6
@@ -54,7 +54,8 @@
{
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 @@
// 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 )