continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ri...@apache.org
Subject svn commit: r490638 - /maven/continuum/branches/key-based-refactor/continuum-model/pom.xml
Date Thu, 28 Dec 2006 03:28:11 GMT
Author: rinku
Date: Wed Dec 27 19:28:10 2006
New Revision: 490638

URL: http://svn.apache.org/viewvc?view=rev&rev=490638
Log:
o  added profile for DDL generation with jpox plugin.

Modified:
    maven/continuum/branches/key-based-refactor/continuum-model/pom.xml

Modified: maven/continuum/branches/key-based-refactor/continuum-model/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/key-based-refactor/continuum-model/pom.xml?view=diff&rev=490638&r1=490637&r2=490638
==============================================================================
--- maven/continuum/branches/key-based-refactor/continuum-model/pom.xml (original)
+++ maven/continuum/branches/key-based-refactor/continuum-model/pom.xml Wed Dec 27 19:28:10
2006
@@ -64,14 +64,14 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>jpox-maven-plugin</artifactId>
-        <version>1.0.3</version>
+        <version>${jpox.plugin.version}</version>
         <executions>
           <execution>
             <goals>
-              <goal>enhance</goal>
-            </goals>
+              <goal>enhance</goal>              
+            </goals>            
           </execution>
-        </executions>
+        </executions>            
       </plugin>
     </plugins>
   </build>
@@ -93,4 +93,42 @@
       <version>1.0.1</version>
     </dependency>
   </dependencies>
+  
+  <profiles>    
+    <profile>
+      <id>ddl</id>
+      <dependencies>
+        <dependency>
+          <groupId>hsqldb</groupId>
+          <artifactId>hsqldb</artifactId>
+        </dependency>
+      </dependencies>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>jpox-maven-plugin</artifactId>
+            <version>${jpox.plugin.version}</version>
+            <executions>
+              <execution>
+                <goals>                
+                  <goal>schema</goal>
+                </goals>            
+              </execution>
+            </executions>
+            <configuration>
+              <driverName>org.hsqldb.jdbcDriver</driverName>
+              <dbUser>sa</dbUser>          
+              <dbUrl>jdbc:hsqldb:mem:continuum</dbUrl>  
+              <outputFile>${project.build.directory}/schema.sql</outputFile>
+            </configuration>        
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <properties>
+    <jpox.plugin.version>1.0.4-SNAPSHOT</jpox.plugin.version>
+  </properties>
 </project>



Mime
View raw message