You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ke...@apache.org on 2007/07/18 18:35:19 UTC
svn commit: r557320 -
/maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AbstractAntMojo.java
Author: kenney
Date: Wed Jul 18 09:35:18 2007
New Revision: 557320
URL: http://svn.apache.org/viewvc?view=rev&rev=557320
Log:
Restore old method to not break binary compatibility; deprecated the method.
Modified:
maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AbstractAntMojo.java
Modified: maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AbstractAntMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AbstractAntMojo.java?view=diff&rev=557320&r1=557319&r2=557320
==============================================================================
--- maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AbstractAntMojo.java (original)
+++ maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AbstractAntMojo.java Wed Jul 18 09:35:18 2007
@@ -48,6 +48,15 @@
extends AbstractMojo
{
/**
+ * @deprecated use {@link AbstractAntMojo#executeTasks(Target,MavenProject,List)}.
+ */
+ protected void executeTasks( Target antTasks, MavenProject mavenProject )
+ throws MojoExecutionException
+ {
+ executeTasks( antTasks, mavenProject, null );
+ }
+
+ /**
* @param antTasks
* @param mavenProject
* @throws MojoExecutionException