mirror of
https://github.com/apache/maven.git
synced 2025-02-21 01:15:42 +00:00
Set svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497665 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c4b85767a
commit
fc7629a13f
@ -1,28 +1,28 @@
|
||||
/**
|
||||
* Beanshell mojo integration test.
|
||||
* @goal it0020
|
||||
*/
|
||||
|
||||
import org.apache.maven.plugin.Mojo;
|
||||
import org.apache.maven.script.beanshell.BeanshellMojoAdapter;
|
||||
|
||||
execute()
|
||||
{
|
||||
logger.info( "Executing it0020..." );
|
||||
print( "info level?" );
|
||||
org.codehaus.plexus.util.FileUtils.fileWrite( outDir.getAbsolutePath() + "/out.txt", "This is a Beanshell test" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Output directory for files.
|
||||
*
|
||||
* @parameter expression="${project.build.directory}" type="java.io.File"
|
||||
* @required
|
||||
*/
|
||||
setOutDir( file )
|
||||
{
|
||||
outDir = file;
|
||||
}
|
||||
|
||||
return new BeanshellMojoAdapter( (Mojo) this, this.interpreter );
|
||||
|
||||
/**
|
||||
* Beanshell mojo integration test.
|
||||
* @goal it0020
|
||||
*/
|
||||
|
||||
import org.apache.maven.plugin.Mojo;
|
||||
import org.apache.maven.script.beanshell.BeanshellMojoAdapter;
|
||||
|
||||
execute()
|
||||
{
|
||||
logger.info( "Executing it0020..." );
|
||||
print( "info level?" );
|
||||
org.codehaus.plexus.util.FileUtils.fileWrite( outDir.getAbsolutePath() + "/out.txt", "This is a Beanshell test" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Output directory for files.
|
||||
*
|
||||
* @parameter expression="${project.build.directory}" type="java.io.File"
|
||||
* @required
|
||||
*/
|
||||
setOutDir( file )
|
||||
{
|
||||
outDir = file;
|
||||
}
|
||||
|
||||
return new BeanshellMojoAdapter( (Mojo) this, this.interpreter );
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
* @author <a href="brett@apache.org">Brett Porter</a>
|
||||
* @author <a href="evenisse@apache.org">Emmanuel Venisse</a>
|
||||
* @author <a href="carlos@apache.org">Carlos Sanchez</a>
|
||||
* @version $Id: ScmWagon.java 480335 2006-11-29 02:20:53Z brett $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class ScmWagon
|
||||
extends AbstractWagon
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Test for classpath issues
|
||||
*
|
||||
* @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
|
||||
* @version $Id: ScmReport.java 385830 2006-03-14 16:51:44Z brett $
|
||||
* @version $Id$
|
||||
* @goal test
|
||||
*/
|
||||
public class ScmTestMojo
|
||||
|
Loading…
x
Reference in New Issue
Block a user