geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r396207 - in /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common: pluginXmlTemplate.vm pom.xml
Date Sun, 23 Apr 2006 02:56:35 GMT
Author: sppatel
Date: Sat Apr 22 19:56:33 2006
New Revision: 396207

URL: http://svn.apache.org/viewcvs?rev=396207&view=rev
Log:
forget checkin of  pom and plugin descriptor template

Added:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pluginXmlTemplate.vm
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml
  (with props)

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pluginXmlTemplate.vm
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pluginXmlTemplate.vm?rev=396207&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pluginXmlTemplate.vm
(added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pluginXmlTemplate.vm
Sat Apr 22 19:56:33 2006
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin
+  id="$id"
+  name="$name"
+  version="$version"
+  provider-name="Apache Software Foundation">
+  <runtime>
+#set($libs = $libDir.listFiles() )
+#foreach( $lib in $libs )
+    <library name="lib/$lib.getName()">
+      <export name="*"/>
+    </library>  
+#end  
+  </runtime>
+  <requires>
+     <import plugin="org.apache.geronimo.runtime.common" export="true"/>
+  </requires>
+</plugin>
\ No newline at end of file

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml?rev=396207&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml
(added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml
Sat Apr 22 19:56:33 2006
@@ -0,0 +1,90 @@
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.apache.geronimo.runtime.common</artifactId>
+    <packaging>jar</packaging>
+    <version>${org.apache.geronimo.runtime.common_version}</version>
+    <name>${artifactId}</name>
+    <parent>
+        <groupId>org.apache.geronimo.devtools</groupId>
+        <artifactId>geronimo-eclipse-plugin</artifactId>
+        <version>1.0</version>
+    </parent>
+    <build>
+        <resources>
+            <resource>
+                <directory>.</directory>
+                <includes>
+                    <include>plugin.xml</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>lib</directory>
+                <targetPath>lib</targetPath>
+                <includes>
+                    <include>*.jar</include>
+                </includes>
+            </resource>
+        </resources>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.geronimo.specs</groupId>
+                                    <artifactId>geronimo-j2ee-deployment_1.1_spec</artifactId>
+                                    <version>${geronimo_spec_version}</version>
+                                </artifactItem>
+                            </artifactItems>
+                            <outputDirectory>lib</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.geronimo.devtools</groupId>
+                <artifactId>maven-geronimodevtools-plugin</artifactId>
+                <configuration>
+                    <libDir>lib</libDir>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>generate-plugin-descriptor</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>pluginxml</goal>
+                        </goals>
+                        <configuration>
+                            <templateFile>pluginXmlTemplate.vm</templateFile>
+                            <destFile>plugin.xml</destFile>
+                            <contextMap>
+                                <id>${artifactId}</id>
+                                <name>Apache Geronimo Common Runtime Plug-in</name>
+                                <version>${version}</version>
+                            </contextMap>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>generate-classpath</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>classpath</goal>
+                        </goals>
+                        <configuration>
+                            <templateFile>classpathXmlTemplate.vm</templateFile>
+                            <destFile>.classpath</destFile>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
\ No newline at end of file

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message