Author: tmortagne
Date: 2007-11-13 19:24:08 +0100 (Tue, 13 Nov 2007)
New Revision: 5851

Added:
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/derby/
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/derby/pom.xml
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/hsqldb/
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/hsqldb/pom.xml
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/mysql/
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/mysql/pom.xml
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/pgsql/
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/pgsql/pom.xml
   xwiki-products/xwiki-enterprise-manager/trunk/web-database/pom.xml
Modified:
   
xwiki-products/xwiki-enterprise-manager/trunk/distribution/derby/src/assemble/application.xml
   
xwiki-products/xwiki-enterprise-manager/trunk/distribution/hsqldb/src/assemble/application.xml
   
xwiki-products/xwiki-enterprise-manager/trunk/distribution/mysql/src/assemble/application-no-database.xml
   
xwiki-products/xwiki-enterprise-manager/trunk/distribution/pgsql/src/assemble/application-no-database.xml
   xwiki-products/xwiki-enterprise-manager/trunk/distribution/pom.xml
   xwiki-products/xwiki-enterprise-manager/trunk/pom.xml
Log:
Add XEM sub project between web and distribution that generate a web + 
hibernate config + db connector.

Modified: 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/derby/src/assemble/application.xml
===================================================================
--- 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/derby/src/assemble/application.xml
       2007-11-13 17:38:11 UTC (rev 5850)
+++ 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/derby/src/assemble/application.xml
       2007-11-13 18:24:08 UTC (rev 5851)
@@ -32,15 +32,10 @@
            not specified -->
       <outputFileNameMapping></outputFileNameMapping>
       <includes>
-        <include>com.xpn.xwiki.products:xwiki-enterprise-manager-web</include>
+        
<include>com.xpn.xwiki.products:xwiki-enterprise-manager-web-${xwiki.db}</include>
       </includes>
       <outputDirectory>webapps/xwiki</outputDirectory>
       <unpack>true</unpack>
-      <unpackOptions>
-        <excludes>
-          <exclude>**/hibernate.cfg.xml</exclude>
-        </excludes>
-      </unpackOptions>
     </dependencySet>
     <!-- Copy sh files so that we can set their permissions. This is required 
since the
          Assembly plugin looses file permissions.
@@ -80,13 +75,6 @@
       </unpackOptions>
     </dependencySet>
     <dependencySet>
-      <includes>
-        <include>${xwiki.db.jdbc.groupId}:${xwiki.db.jdbc.artifactId}</include>
-      </includes>
-      <outputDirectory>webapps/xwiki/WEB-INF/lib</outputDirectory>
-      <unpack>false</unpack>
-    </dependencySet>
-    <dependencySet>
       <!-- This shouldn't be required but there's a bug in version 2.2-beta-1 
of the Assembly
            plugin where the artifact name will be used instead of / if 
outputFileNameMapping is
            not specified -->
@@ -98,10 +86,4 @@
       <unpack>true</unpack>
     </dependencySet>
   </dependencySets>
-  <files>
-       <file>
-       
<source>${basedir}/target/maven-shared-archive-resources/hibernate.cfg.xml</source>
-      <outputDirectory>webapps/xwiki/WEB-INF</outputDirectory>
-    </file>
-  </files>
 </assembly>

Modified: 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/hsqldb/src/assemble/application.xml
===================================================================
--- 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/hsqldb/src/assemble/application.xml
      2007-11-13 17:38:11 UTC (rev 5850)
+++ 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/hsqldb/src/assemble/application.xml
      2007-11-13 18:24:08 UTC (rev 5851)
@@ -32,15 +32,10 @@
            not specified -->
       <outputFileNameMapping></outputFileNameMapping>
       <includes>
-        <include>com.xpn.xwiki.products:xwiki-enterprise-manager-web</include>
+        
<include>com.xpn.xwiki.products:xwiki-enterprise-manager-web-${xwiki.db}</include>
       </includes>
       <outputDirectory>webapps/xwiki</outputDirectory>
       <unpack>true</unpack>
-      <unpackOptions>
-        <excludes>
-          <exclude>**/hibernate.cfg.xml</exclude>
-        </excludes>
-      </unpackOptions>
     </dependencySet>
     <!-- Copy sh files so that we can set their permissions. This is required 
since the
          Assembly plugin looses file permissions.
@@ -80,13 +75,6 @@
       </unpackOptions>
     </dependencySet>
     <dependencySet>
-      <includes>
-        <include>${xwiki.db.jdbc.groupId}:${xwiki.db.jdbc.artifactId}</include>
-      </includes>
-      <outputDirectory>webapps/xwiki/WEB-INF/lib</outputDirectory>
-      <unpack>false</unpack>
-    </dependencySet>
-    <dependencySet>
       <!-- This shouldn't be required but there's a bug in version 2.2-beta-1 
of the Assembly
            plugin where the artifact name will be used instead of / if 
outputFileNameMapping is
            not specified -->
@@ -98,10 +86,4 @@
       <unpack>true</unpack>
     </dependencySet>
   </dependencySets>
-  <files>
-       <file>
-       
<source>${basedir}/target/maven-shared-archive-resources/hibernate.cfg.xml</source>
-      <outputDirectory>webapps/xwiki/WEB-INF</outputDirectory>
-    </file>
-  </files>
 </assembly>

Modified: 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/mysql/src/assemble/application-no-database.xml
===================================================================
--- 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/mysql/src/assemble/application-no-database.xml
   2007-11-13 17:38:11 UTC (rev 5850)
+++ 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/mysql/src/assemble/application-no-database.xml
   2007-11-13 18:24:08 UTC (rev 5851)
@@ -32,15 +32,10 @@
            not specified -->
       <outputFileNameMapping></outputFileNameMapping>
       <includes>
-        <include>com.xpn.xwiki.products:xwiki-enterprise-manager-web</include>
+        
<include>com.xpn.xwiki.products:xwiki-enterprise-manager-web-${xwiki.db}</include>
       </includes>
       <outputDirectory>webapps/xwiki</outputDirectory>
       <unpack>true</unpack>
-      <unpackOptions>
-        <excludes>
-          <exclude>**/hibernate.cfg.xml</exclude>
-        </excludes>
-      </unpackOptions>
     </dependencySet>
     <!-- Copy sh files so that we can set their permissions. This is required 
since the
          Assembly plugin looses file permissions.
@@ -79,18 +74,5 @@
         </excludes>
       </unpackOptions>
     </dependencySet>
-    <dependencySet>
-      <includes>
-        <include>${xwiki.db.jdbc.groupId}:${xwiki.db.jdbc.artifactId}</include>
-      </includes>
-      <outputDirectory>webapps/xwiki/WEB-INF/lib</outputDirectory>
-      <unpack>false</unpack>
-    </dependencySet>
   </dependencySets>
-  <files>
-       <file>
-       
<source>${basedir}/target/maven-shared-archive-resources/hibernate.cfg.xml</source>
-      <outputDirectory>webapps/xwiki/WEB-INF/</outputDirectory>
-    </file>
-  </files>
 </assembly>

Modified: 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/pgsql/src/assemble/application-no-database.xml
===================================================================
--- 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/pgsql/src/assemble/application-no-database.xml
   2007-11-13 17:38:11 UTC (rev 5850)
+++ 
xwiki-products/xwiki-enterprise-manager/trunk/distribution/pgsql/src/assemble/application-no-database.xml
   2007-11-13 18:24:08 UTC (rev 5851)
@@ -32,15 +32,10 @@
            not specified -->
       <outputFileNameMapping></outputFileNameMapping>
       <includes>
-        <include>com.xpn.xwiki.products:xwiki-enterprise-manager-web</include>
+        
<include>com.xpn.xwiki.products:xwiki-enterprise-manager-web-${xwiki.db}</include>
       </includes>
       <outputDirectory>webapps/xwiki</outputDirectory>
       <unpack>true</unpack>
-      <unpackOptions>
-        <excludes>
-          <exclude>**/hibernate.cfg.xml</exclude>
-        </excludes>
-      </unpackOptions>
     </dependencySet>
     <!-- Copy sh files so that we can set their permissions. This is required 
since the
          Assembly plugin looses file permissions.
@@ -79,18 +74,5 @@
         </excludes>
       </unpackOptions>
     </dependencySet>
-    <dependencySet>
-      <includes>
-        <include>${xwiki.db.jdbc.groupId}:${xwiki.db.jdbc.artifactId}</include>
-      </includes>
-      <outputDirectory>webapps/xwiki/WEB-INF/lib</outputDirectory>
-      <unpack>false</unpack>
-    </dependencySet>
   </dependencySets>
-  <files>
-       <file>
-       
<source>${basedir}/target/maven-shared-archive-resources/hibernate.cfg.xml</source>
-      <outputDirectory>webapps/xwiki/WEB-INF/</outputDirectory>
-    </file>
-  </files>
 </assembly>

Modified: xwiki-products/xwiki-enterprise-manager/trunk/distribution/pom.xml
===================================================================
--- xwiki-products/xwiki-enterprise-manager/trunk/distribution/pom.xml  
2007-11-13 17:38:11 UTC (rev 5850)
+++ xwiki-products/xwiki-enterprise-manager/trunk/distribution/pom.xml  
2007-11-13 18:24:08 UTC (rev 5851)
@@ -36,7 +36,7 @@
   <dependencies>
     <dependency>
       <groupId>com.xpn.xwiki.products</groupId>
-      <artifactId>xwiki-enterprise-manager-web</artifactId>
+      <artifactId>xwiki-enterprise-manager-web-${xwiki.db}</artifactId>
       <version>${pom.version}</version>
       <type>war</type>
     </dependency>
@@ -45,37 +45,12 @@
       <artifactId>xwiki-jetty-resources</artifactId>
       <version>${platform.tools.version}</version>
     </dependency>
-    <!-- Add the database JAR so that it's included in the expanded WAR since 
it's not included
-         by default in the XEM WAR. -->
-    <dependency>
-      <groupId>${xwiki.db.jdbc.groupId}</groupId>
-      <artifactId>${xwiki.db.jdbc.artifactId}</artifactId>
-      <version>${xwiki.db.jdbc.version}</version>
-      <scope>runtime</scope>
-    </dependency>
   </dependencies>
   <build>
     <pluginManagement>
       <plugins>
-        <!-- Inject Hibernate's configuration for the specified database 
(hibernate.cfg.xml) -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-remote-resources-plugin</artifactId>
-          <executions>
-            <execution>
-              <goals>
-                <goal>process</goal>
-              </goals>
-            </execution>
-          </executions>
-          <configuration>
-            <resourceBundles>
-              
<resourceBundle>com.xpn.xwiki.platform:xwiki-configuration-resources:${platform.tools.version}</resourceBundle>
-            </resourceBundles>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <executions>
             <execution>
@@ -118,4 +93,4 @@
       </modules>
     </profile>
   </profiles>
-</project>
\ No newline at end of file
+</project>

Modified: xwiki-products/xwiki-enterprise-manager/trunk/pom.xml
===================================================================
--- xwiki-products/xwiki-enterprise-manager/trunk/pom.xml       2007-11-13 
17:38:11 UTC (rev 5850)
+++ xwiki-products/xwiki-enterprise-manager/trunk/pom.xml       2007-11-13 
18:24:08 UTC (rev 5851)
@@ -43,6 +43,7 @@
   </scm>
   <modules>
     <module>web</module>
+    <module>web-database</module>
     <module>wikis</module>
     <module>database</module>
     <module>distribution</module>


Property changes on: xwiki-products/xwiki-enterprise-manager/trunk/web-database
___________________________________________________________________
Name: svn:ignore
   + target



Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/derby
___________________________________________________________________
Name: svn:ignore
   + target


Added: xwiki-products/xwiki-enterprise-manager/trunk/web-database/derby/pom.xml
===================================================================
--- xwiki-products/xwiki-enterprise-manager/trunk/web-database/derby/pom.xml    
                        (rev 0)
+++ xwiki-products/xwiki-enterprise-manager/trunk/web-database/derby/pom.xml    
2007-11-13 18:24:08 UTC (rev 5851)
@@ -0,0 +1,25 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.xpn.xwiki.products</groupId>
+    <artifactId>xwiki-enterprise-manager-web-database-parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>xwiki-enterprise-manager-web-derby</artifactId>
+  <name>XWiki Products - Enterprise Manager - Web Database - Derby</name>
+  <packaging>war</packaging>
+  <description>XWiki Products - Enterprise Manager - Web Database - 
Derby</description>
+  <build>
+    <plugins>
+      <!-- Inject Hibernate's configuration for the specified database -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/derby/pom.xml
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/hsqldb
___________________________________________________________________
Name: svn:ignore
   + target


Added: xwiki-products/xwiki-enterprise-manager/trunk/web-database/hsqldb/pom.xml
===================================================================
--- xwiki-products/xwiki-enterprise-manager/trunk/web-database/hsqldb/pom.xml   
                        (rev 0)
+++ xwiki-products/xwiki-enterprise-manager/trunk/web-database/hsqldb/pom.xml   
2007-11-13 18:24:08 UTC (rev 5851)
@@ -0,0 +1,25 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.xpn.xwiki.products</groupId>
+    <artifactId>xwiki-enterprise-manager-web-database-parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>xwiki-enterprise-manager-web-hsqldb</artifactId>
+  <name>XWiki Products - Enterprise Manager - Web Database - HSQLDB</name>
+  <packaging>war</packaging>
+  <description>XWiki Products - Enterprise Manager - Web Database - 
HSQLDB</description>
+  <build>
+    <plugins>
+      <!-- Inject Hibernate's configuration for the specified database -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/hsqldb/pom.xml
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/mysql
___________________________________________________________________
Name: svn:ignore
   + target


Added: xwiki-products/xwiki-enterprise-manager/trunk/web-database/mysql/pom.xml
===================================================================
--- xwiki-products/xwiki-enterprise-manager/trunk/web-database/mysql/pom.xml    
                        (rev 0)
+++ xwiki-products/xwiki-enterprise-manager/trunk/web-database/mysql/pom.xml    
2007-11-13 18:24:08 UTC (rev 5851)
@@ -0,0 +1,25 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.xpn.xwiki.products</groupId>
+    <artifactId>xwiki-enterprise-manager-web-database-parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>xwiki-enterprise-manager-web-mysql</artifactId>
+  <name>XWiki Products - Enterprise Manager - Web Database - MySQL</name>
+  <packaging>war</packaging>
+  <description>XWiki Products - Enterprise Manager - Web Database - 
MySQL</description>
+  <build>
+    <plugins>
+      <!-- Inject Hibernate's configuration for the specified database -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/mysql/pom.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: xwiki-products/xwiki-enterprise-manager/trunk/web-database/pgsql/pom.xml
===================================================================
--- xwiki-products/xwiki-enterprise-manager/trunk/web-database/pgsql/pom.xml    
                        (rev 0)
+++ xwiki-products/xwiki-enterprise-manager/trunk/web-database/pgsql/pom.xml    
2007-11-13 18:24:08 UTC (rev 5851)
@@ -0,0 +1,25 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.xpn.xwiki.products</groupId>
+    <artifactId>xwiki-enterprise-manager-web-database-parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>xwiki-enterprise-manager-web-pgsql</artifactId>
+  <name>XWiki Products - Enterprise Manager - Web Database - PGSQL</name>
+  <packaging>war</packaging>
+  <description>XWiki Products - Enterprise Manager - Web Database - 
PGSQL</description>
+  <build>
+    <plugins>
+      <!-- Inject Hibernate's configuration for the specified database -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/pgsql/pom.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: xwiki-products/xwiki-enterprise-manager/trunk/web-database/pom.xml
===================================================================
--- xwiki-products/xwiki-enterprise-manager/trunk/web-database/pom.xml          
                (rev 0)
+++ xwiki-products/xwiki-enterprise-manager/trunk/web-database/pom.xml  
2007-11-13 18:24:08 UTC (rev 5851)
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * See the NOTICE file distributed with this work for additional
+ * information regarding copyright ownership.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ *
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.xpn.xwiki.products</groupId>
+    <artifactId>xwiki-enterprise-manager-parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>xwiki-enterprise-manager-web-database-parent</artifactId>
+  <name>XWiki Products - Enterprise Manager - Web with database - Parent 
POM</name>
+  <packaging>pom</packaging>
+  <description>XWiki Products - Enterprise Manager - Web with database - 
Parent POM</description>
+  <dependencies>
+    <dependency>
+      <groupId>com.xpn.xwiki.products</groupId>
+      <artifactId>xwiki-enterprise-manager-web</artifactId>
+      <version>${pom.version}</version>
+      <type>war</type>
+    </dependency>
+    <dependency>
+      <groupId>${xwiki.db.jdbc.groupId}</groupId>
+      <artifactId>${xwiki.db.jdbc.artifactId}</artifactId>
+      <version>${xwiki.db.jdbc.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <!-- Inject Hibernate's configuration for the specified database 
(hibernate.cfg.xml) -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-remote-resources-plugin</artifactId>
+          <executions>
+            <execution>
+              <goals>
+                <goal>process</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <resourceBundles>
+              
<resourceBundle>com.xpn.xwiki.platform:xwiki-configuration-resources:${platform.tools.version}</resourceBundle>
+            </resourceBundles>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-war-plugin</artifactId>
+          <configuration>
+            <webResources>
+              <resource>
+                
<directory>${project.build.directory}/maven-shared-archive-resources</directory>
+                <targetPath>WEB-INF</targetPath>
+                <includes>
+                  <include>hibernate.cfg.xml</include>
+                </includes>
+              </resource>
+            </webResources>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+  <profiles>
+    <profile>
+      <id>hsqldb</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <modules>
+        <module>hsqldb</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>derby</id>
+      <modules>
+        <module>derby</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>pgsql</id>
+      <modules>
+        <module>pgsql</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>mysql</id>
+      <modules>
+        <module>mysql</module>
+      </modules>
+    </profile>
+  </profiles>
+</project>


Property changes on: 
xwiki-products/xwiki-enterprise-manager/trunk/web-database/pom.xml
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to