geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r581685 - in /geronimo/server/trunk/configs/system-database: pom.xml src/main/plan/plan.xml src/main/resources/
Date Wed, 03 Oct 2007 18:51:56 GMT
Author: prasad
Date: Wed Oct  3 11:51:55 2007
New Revision: 581685

URL: http://svn.apache.org/viewvc?rev=581685&view=rev
Log:
* create system-database plugin

Removed:
    geronimo/server/trunk/configs/system-database/src/main/resources/
Modified:
    geronimo/server/trunk/configs/system-database/pom.xml
    geronimo/server/trunk/configs/system-database/src/main/plan/plan.xml

Modified: geronimo/server/trunk/configs/system-database/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/system-database/pom.xml?rev=581685&r1=581684&r2=581685&view=diff
==============================================================================
--- geronimo/server/trunk/configs/system-database/pom.xml (original)
+++ geronimo/server/trunk/configs/system-database/pom.xml Wed Oct  3 11:51:55 2007
@@ -32,6 +32,10 @@
     <artifactId>system-database</artifactId>
     <name>Geronimo Configs :: System Database</name>
     <packaging>car</packaging>
+
+    <description>
+        System database plugin for geronimo.  This provides system databse together with
its dependencies as one dependency.
+    </description>
     
     <dependencies>
                 
@@ -42,6 +46,7 @@
             <type>car</type>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>org.apache.geronimo.configs</groupId>
             <artifactId>transaction</artifactId>
@@ -113,6 +118,41 @@
                         <artifactId>tranql-connector-derby-embed-xa</artifactId>
                         <type>rar</type>
                     </module>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                    <category>Geronimo Core</category>
+                     <instance>
+                        <plugin-artifact>
+                           <config-xml-content>
+                               <gbean name="DerbyNetwork">
+                                   <attribute name="host">#{ServerHostname}</attribute>
+                                   <attribute name="port">#{DerbyPort + PortOffset}</attribute>
+                               </gbean>
+                           </config-xml-content>
+                           <prerequisite>
+                               <id>
+                                   <groupId>org.apache.geronimo.configs</groupId>
+                                   <artifactId>transaction</artifactId>
+                               </id>
+                               <resource-type>Transaction</resource-type>
+                               <description>
+                                  Transaction configuration for Geronimo.
+                               </description>
+                            </prerequisite>
+                           <prerequisite>
+                             <id>
+                                 <groupId>org.apache.geronimo.configs</groupId>
+                                 <artifactId>connector-deployer</artifactId>
+                             </id>
+                               <resource-type>Deployment</resource-type>
+                               <description>
+                                  Connector deployer configuration for Geronimo.
+                               </description>
+                           </prerequisite>
+                        </plugin-artifact>
+                     </instance>
                 </configuration>
             </plugin>
         </plugins>

Modified: geronimo/server/trunk/configs/system-database/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/system-database/src/main/plan/plan.xml?rev=581685&r1=581684&r2=581685&view=diff
==============================================================================
--- geronimo/server/trunk/configs/system-database/src/main/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/system-database/src/main/plan/plan.xml Wed Oct  3 11:51:55
2007
@@ -15,58 +15,6 @@
     limitations under the License.-->
 <!--$Rev$ $Date$-->
 <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
-  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
-    <dep:moduleId>
-      <dep:groupId>org.apache.geronimo.configs</dep:groupId>
-      <dep:artifactId>system-database</dep:artifactId>
-      <dep:version>2.1-SNAPSHOT</dep:version>
-      <dep:type>car</dep:type>
-    </dep:moduleId>
-    <dep:dependencies>
-      <dep:dependency>
-        <dep:groupId>org.apache.derby</dep:groupId>
-        <dep:artifactId>derby</dep:artifactId>
-        <dep:version>10.2.2.0</dep:version>
-        <dep:type>jar</dep:type>
-        <dep:import>classes</dep:import>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>org.apache.geronimo.configs</dep:groupId>
-        <dep:artifactId>transaction</dep:artifactId>
-        <dep:type>car</dep:type>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>org.apache.geronimo.modules</dep:groupId>
-        <dep:artifactId>geronimo-derby</dep:artifactId>
-        <dep:version>2.1-SNAPSHOT</dep:version>
-        <dep:type>jar</dep:type>
-        <dep:import>classes</dep:import>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>org.apache.geronimo.modules</dep:groupId>
-        <dep:artifactId>geronimo-timer</dep:artifactId>
-        <dep:version>2.1-SNAPSHOT</dep:version>
-        <dep:type>jar</dep:type>
-        <dep:import>classes</dep:import>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>org.apache.derby</dep:groupId>
-        <dep:artifactId>derbyclient</dep:artifactId>
-        <dep:version>10.2.2.0</dep:version>
-        <dep:type>jar</dep:type>
-        <dep:import>classes</dep:import>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>org.apache.derby</dep:groupId>
-        <dep:artifactId>derbynet</dep:artifactId>
-        <dep:version>10.2.2.0</dep:version>
-        <dep:type>jar</dep:type>
-        <dep:import>classes</dep:import>
-      </dep:dependency>
-    </dep:dependencies>
-    <dep:hidden-classes/>
-    <dep:non-overridable-classes/>
-  </dep:environment>
   <resourceadapter>
     <outbound-resourceadapter>
       <connection-definition>



Mime
View raw message