portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r526021 - /portals/jetspeed-2/branches/J2-M2-REDUX/pom.xml
Date Fri, 06 Apr 2007 01:21:11 GMT
Author: ate
Date: Thu Apr  5 18:21:10 2007
New Revision: 526021

URL: http://svn.apache.org/viewvc?view=rev&rev=526021
Log:
New global init-db plugin managment configuration

Modified:
    portals/jetspeed-2/branches/J2-M2-REDUX/pom.xml

Modified: portals/jetspeed-2/branches/J2-M2-REDUX/pom.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/J2-M2-REDUX/pom.xml?view=diff&rev=526021&r1=526020&r2=526021
==============================================================================
--- portals/jetspeed-2/branches/J2-M2-REDUX/pom.xml (original)
+++ portals/jetspeed-2/branches/J2-M2-REDUX/pom.xml Thu Apr  5 18:21:10 2007
@@ -1023,6 +1023,82 @@
             <addVersionToProjectName>true</addVersionToProjectName>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>${pom.groupId}</groupId>
+          <artifactId>jetspeed-maven-plugins</artifactId>
+          <version>${pom.version}</version>
+          <dependencies>
+            <dependency>
+              <groupId>${org.apache.jetspeed.test.jdbc.driver.groupId}</groupId>
+              <artifactId>${org.apache.jetspeed.test.jdbc.driver.artifactId}</artifactId>
+              <version>${org.apache.jetspeed.test.jdbc.driver.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>${org.apache.jetspeed.production.jdbc.driver.groupId}</groupId>
+              <artifactId>${org.apache.jetspeed.production.jdbc.driver.artifactId}</artifactId>
+              <version>${org.apache.jetspeed.production.jdbc.driver.version}</version>
+            </dependency>
+          </dependencies>
+          <executions>
+            <execution>
+              <phase>test</phase>
+              <goals>
+                <goal>init-db</goal>
+              </goals>
+              <configuration>
+                <goalPrefix>jetspeed</goalPrefix>
+                <unpackResources>
+                  <resourceBundle>${groupId}:jetspeed-portal-resources:${pom.version}</resourceBundle>
+                  <resources>
+                    <unpackResource>
+                      <fromDir>ddl/${org.apache.jetspeed.test.database.default.name}</fromDir>
+                      <toDir>ddl/${org.apache.jetspeed.test.database.default.name}</toDir>
+                    </unpackResource>
+                  </resources>
+                </unpackResources>
+                <sqlScripts>
+                  <sqlScript>
+                    <path>${project.build.directory}/ddl/${org.apache.jetspeed.test.database.default.name}/drop-schema.sql</path>
+                    <ignoreErrors>true</ignoreErrors>
+                  </sqlScript>
+                  <sqlScript>
+                    <path>${project.build.directory}/ddl/${org.apache.jetspeed.test.database.default.name}/create-schema.sql</path>
+                  </sqlScript>
+                </sqlScripts>
+                <username>${org.apache.jetspeed.test.database.user}</username>
+                <password>${org.apache.jetspeed.test.database.password}</password>
+                <url>${org.apache.jetspeed.test.database.url}</url>
+                <driver>${org.apache.jetspeed.test.database.driver}</driver>
+              </configuration>
+            </execution>
+          </executions>
+          <inherited>false</inherited>
+          <configuration>
+            <goalPrefix>jetspeed</goalPrefix>
+            <unpackResources>
+              <resourceBundle>${groupId}:jetspeed-portal-resources:${pom.version}</resourceBundle>
+              <resources>
+                <unpackResource>
+                  <fromDir>ddl/${org.apache.jetspeed.production.database.default.name}</fromDir>
+                  <toDir>ddl/${org.apache.jetspeed.production.database.default.name}</toDir>
+                </unpackResource>
+              </resources>
+            </unpackResources>
+            <sqlScripts>
+              <sqlScript>
+                <path>${project.build.directory}/ddl/${org.apache.jetspeed.production.database.default.name}/drop-schema.sql</path>
+                <ignoreErrors>true</ignoreErrors>
+              </sqlScript>
+              <sqlScript>
+                <path>${project.build.directory}/ddl/${org.apache.jetspeed.production.database.default.name}/create-schema.sql</path>
+              </sqlScript>
+            </sqlScripts>
+            <username>${org.apache.jetspeed.production.database.user}</username>
+            <password>${org.apache.jetspeed.production.database.password}</password>
+            <url>${org.apache.jetspeed.production.database.url}</url>
+            <driver>${org.apache.jetspeed.production.database.driver}</driver>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message