You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2006/06/02 00:30:03 UTC

svn commit: r410979 - in /geronimo/devtools/eclipse-plugin/trunk/emf/common: ./ pom.xml

Author: sppatel
Date: Thu Jun  1 15:30:02 2006
New Revision: 410979

URL: http://svn.apache.org/viewvc?rev=410979&view=rev
Log:
add module for shared genmodels

Added:
    geronimo/devtools/eclipse-plugin/trunk/emf/common/
    geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml   (with props)

Added: geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml?rev=410979&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml Thu Jun  1 15:30:02 2006
@@ -0,0 +1,179 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>geronimo-common-emf</artifactId>
+  <packaging>jar</packaging>
+  <version>1.0</version>
+  <name>${artifactId}</name>
+  <parent>
+    <groupId>org.apache.geronimo.devtools</groupId>
+    <artifactId>geronimo-eclipse-plugin</artifactId>
+    <version>1.1</version>
+  </parent>
+  
+  <!--TODO remove following properties after 3.2 migration -->
+  <properties>
+    <installLocation>${settings.localRepository}/eclipse/temp/</installLocation>
+    <platformDriver>S-3.2RC5-200605191206/eclipse-SDK-3.2RC5</platformDriver>
+    <geronimoVersion>1.0</geronimoVersion>
+    <openejbVersion>2.0</openejbVersion>
+  </properties>
+  
+  <build>
+    <resources>
+      <resource>
+        <targetPath>templates</targetPath>
+        <directory>templates</directory>
+        <includes>
+          <include>*.javajetinc</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.geronimo.devtools</groupId>
+        <artifactId>maven-geronimodevtools-plugin</artifactId>
+        <configuration>
+          <target>${project.build.outputDirectory}/schemas</target>
+          <includes>
+            <include>**/*.xsd</include>
+          </includes>
+        </configuration>
+        <executions>
+          <execution>
+            <id>import-resources</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>importresources</goal>
+            </goals>
+          </execution>
+          <!-- TODO remove following execution after 3.2 migration
+          need for running osgi under 3.2 due to platform bugs -->
+          <execution>
+            <id>create-eclipse-image</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>download</goal>
+            </goals>
+            <configuration>
+              <platformUrl>${platformUrl}</platformUrl>
+              <urls>
+                <url>${emfUrl}</url>
+              </urls>
+              <installLocation>${installLocation}</installLocation>
+              <propsFile>${installLocation}/install.props</propsFile>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>oro</groupId>
+            <artifactId>oro</artifactId>
+            <version>2.0.8</version>
+          </dependency>
+          <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant-apache-oro</artifactId>
+            <version>1.6.4</version>
+          </dependency>
+          <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant-optional</artifactId>
+            <version>1.5.3-1</version>
+          </dependency>
+        </dependencies>
+        <executions>
+          <execution>
+            <phase>process-classes</phase>
+            <configuration>
+              <tasks>
+                <taskdef name="replaceregexp" classname="org.apache.tools.ant.taskdefs.optional.ReplaceRegExp" classpathref="maven.plugin.classpath"/>
+                <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp"/>
+                <replaceregexp match='schemaLocation="http://www.w3.org/2001/xml.xsd"' replace='schemaLocation="http://www.w3.org/2001/03/xml.xsd"' byline="true">
+                  <fileset dir="${project.build.outputDirectory}/schemas/" includes="**/*.xsd"/>
+                </replaceregexp>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.geronimo.devtools</groupId>
+        <artifactId>maven-emf-plugin</artifactId>
+        <configuration>
+          <!-- TODO remove <eclipseHome> after 3.2 migration -->
+          <eclipseHome>${installLocation}/eclipse</eclipseHome>
+          <workspace>${project.build.directory}/workspace</workspace>
+          <modelProject>${project.build.directory}/org.apache.geronimo.common.deployment.model</modelProject>
+          <editProject>${project.build.directory}/org.apache.geronimo.common.deployment.model.edit</editProject>
+          <src>src</src>
+          <reload>true</reload>
+          <packagemap>
+            <org.apache.geronimo.xml.ns.security>http://geronimo.apache.org/xml/ns/security-1.1</org.apache.geronimo.xml.ns.security>   
+            <org.openejb.xml.ns.pkgen>http://www.openejb.org/xml/ns/pkgen-2.0</org.openejb.xml.ns.pkgen>
+          </packagemap>
+          <attributes>
+            <modelDirectory>/org.apache.geronimo.common.deployment.model/src</modelDirectory>
+            <editDirectory>/org.apache.geronimo.common.deployment.model.edit/src</editDirectory>
+            <modelPluginClass>org.apache.geronimo.common.deployment.model.GeronimoEMFModelPlugin</modelPluginClass>
+            <editPluginClass>org.apache.geronimo.common.deployment.model.edit.GeronimoEMFEditPlugin</editPluginClass>
+            <updateClasspath>false</updateClasspath>
+          </attributes>
+        </configuration>
+                <executions>
+          <execution>
+            <id>execution-security</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>xsd2genmodel</goal>
+              <goal>setattributes</goal>
+            </goals>
+            <configuration>
+              <schemas>
+                <schema>${project.build.outputDirectory}/schemas/geronimo-security-1.1.xsd</schema>
+              </schemas>
+              <genmodel>${project.build.outputDirectory}/emf/geronimo-security-1.1.genmodel</genmodel>
+              <packages>
+                <package>http://geronimo.apache.org/xml/ns/security-1.1</package>
+              </packages>
+            </configuration>
+          </execution>
+          <execution>
+            <id>execution-openejb-pkgen</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>xsd2genmodel</goal>
+              <goal>setattributes</goal>
+            </goals>
+            <configuration>
+              <schemas>
+                <schema>${project.build.outputDirectory}/schemas/openejb-pkgen-2.0.xsd</schema>
+              </schemas>
+              <genmodel>${project.build.outputDirectory}/emf/openejb-pkgen-2.0.genmodel</genmodel>
+              <packages>
+                <package>http://www.openejb.org/xml/ns/pkgen-2.0</package>
+              </packages>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>openejb</groupId>
+      <artifactId>openejb-pkgen-builder</artifactId>
+      <version>${openejbVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>geronimo</groupId>
+      <artifactId>geronimo-security-builder</artifactId>
+      <version>${geronimoVersion}</version>
+    </dependency>
+  </dependencies>
+</project>

Propchange: geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev

Propchange: geronimo/devtools/eclipse-plugin/trunk/emf/common/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml