geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r390685 - /geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
Date Sat, 01 Apr 2006 15:38:38 GMT
Author: sppatel
Date: Sat Apr  1 07:38:37 2006
New Revision: 390685

URL: http://svn.apache.org/viewcvs?rev=390685&view=rev
Log:
remove accidental check-in of method

Modified:
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java

Modified: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java?rev=390685&r1=390684&r2=390685&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
Sat Apr  1 07:38:37 2006
@@ -23,18 +23,13 @@
 import java.net.URLClassLoader;
 import java.util.Arrays;
 import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
 import java.util.Map;
 import java.util.StringTokenizer;
 
-import org.apache.maven.model.Plugin;
 import org.apache.maven.plugin.AbstractMojo;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.MojoFailureException;
 import org.apache.maven.project.MavenProject;
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.taskdefs.Delete;
 
 abstract public class LaunchOSGIMojo extends AbstractMojo {
 
@@ -151,19 +146,5 @@
 
 	protected void validate() throws MojoFailureException {
 
-	}
-	
-	private int getTotalExecutions() {
-		int totalExecutions = 0;
-		List plugins = mavenProject.getBuild().getPlugins();
-		Iterator i = plugins.iterator();
-		while(i.hasNext()) {
-			Plugin plugin = (Plugin) i.next();
-			if(plugin.getArtifactId().equals("maven-emf-plugin")) {
-				totalExecutions = plugin.getExecutions().size();
-				break;
-			}
-		}
-		return totalExecutions;
 	}
 }



Mime
View raw message