geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r382374 - in /geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin: ./ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/emf/ src/main/java/org/apache/emf/plugin/
Date Thu, 02 Mar 2006 13:15:14 GMT
Author: sppatel
Date: Thu Mar  2 05:15:07 2006
New Revision: 382374

URL: http://svn.apache.org/viewcvs?rev=382374&view=rev
Log: (empty)

Added:
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
  (contents, props changed)
      - copied, changed from r382290, geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/XSDImporterMojo.java
Removed:
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/XSDImporterMojo.java
Modified:
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/pom.xml

Modified: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/pom.xml?rev=382374&r1=382373&r2=382374&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/pom.xml Thu Mar
 2 05:15:07 2006
@@ -37,6 +37,11 @@
       <artifactId>org.eclipse.emf.importer</artifactId>
       <version>2.1.0</version>
     </dependency>
+    <dependency>
+      <groupId>eclipse</groupId>
+      <artifactId>startup</artifactId>
+      <version>3.1.2</version>
+    </dependency>
   </dependencies>
   <build>
     <plugins>

Copied: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
(from r382290, geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/XSDImporterMojo.java)
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java?p2=geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java&p1=geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/XSDImporterMojo.java&r1=382290&r2=382374&rev=382374&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/XSDImporterMojo.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
Thu Mar  2 05:15:07 2006
@@ -1,5 +1,4 @@
-import org.eclipse.xsd.ecore.importer.XSDImporterApplication;
-
+package org.apache.emf.plugin;
 /**
  * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
  *
@@ -15,7 +14,57 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
+import java.io.File;
+import java.util.Map;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.eclipse.xsd.ecore.importer.XSDImporterApplication;
+
+/**
+ * @goal xsd2Java
+ */
+public class XSDImporterMojo extends AbstractMojo {
+
+	/**
+	 * @parameter
+	 */
+	protected Map packageMap;
+
+	/**
+	 * @paramter
+	 * @required
+	 */
+	protected File genModel;
+
+	/**
+	 * @paramter
+	 * @required
+	 */
+	protected File project;
+
+	/**
+	 * @paramter
+	 * @required
+	 */
+	protected String projectId;
+
+	/**
+	 * @paramter
+	 * @required
+	 */
+	protected String type;
+
+	XSDImporterApplication application;
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.maven.plugin.Mojo#execute()
+	 */
+	public void execute() throws MojoExecutionException, MojoFailureException {
 
-public class XSDImporterMojo extends XSDImporterApplication {
+	}
 
 }

Propchange: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message