mirror of https://github.com/apache/maven.git
Set project's basedir on the ant Target so relative paths
work. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232502 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f14a81d454
commit
aefdc2b95d
|
@ -46,6 +46,7 @@ public abstract class AbstractAntMojo
|
||||||
antLogger.setOutputPrintStream( System.out );
|
antLogger.setOutputPrintStream( System.out );
|
||||||
antLogger.setErrorPrintStream( System.err );
|
antLogger.setErrorPrintStream( System.err );
|
||||||
antTasks.getProject().addBuildListener( antLogger );
|
antTasks.getProject().addBuildListener( antLogger );
|
||||||
|
antTasks.getProject().setBaseDir( mavenProject.getBasedir() );
|
||||||
|
|
||||||
getLog().info( "Executing tasks" );
|
getLog().info( "Executing tasks" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue