xml files from "./src/main/resources/eu/etaxonomy/cdm" need to be accessible to the...
[cdmlib.git] / cdmlib-remote / pom.xml
index 00c8757618a4269b5f4042bbc81a97a19838b295..32f378870cbfd227679562b7e6819dfbd3b9535e 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<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"
+<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">
+  <!--
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+    http://maven.apache.org/maven-v4_0_0.xsd"
    -->
-       <parent>
-               <groupId>eu.etaxonomy</groupId>
-               <artifactId>cdmlib-parent</artifactId>
-               <version>2.4</version>
-       </parent>
-       
+  <parent>
+    <groupId>eu.etaxonomy</groupId>
+    <artifactId>cdmlib-parent</artifactId>
+               <version>3.0.13-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
   <modelVersion>4.0.0</modelVersion>
   <artifactId>cdmlib-remote</artifactId>
   <properties>
-    <!--  
-      custom property to hold the patch version number     
-      should'nt this be set in the parent pom? 
+    <!--
+      custom property to hold the patch version number
+      shouldn't this be set in the parent pom?
      -->
     <project.patchversion>0</project.patchversion>
-  </properties> 
+  </properties>
   <name>CDM Remote</name>
-       <description>The EDIT CDM Remote package allows remote access to
-               the common data model via webservices in the wider sense</description>
-  <packaging>war</packaging>
+  <description>The EDIT CDM Remote package allows remote access to
+    the common data model via webservices in the wider sense</description>
+  <!-- Revert this back to "war" before committing  -->
+  <packaging>jar</packaging>
   <scm>
-               <connection>
-                       scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
-               </connection>
-               <developerConnection>
-                       scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
-               </developerConnection>
-               <url>
-                       http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/
-               </url>
+    <connection>
+      scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
+    </connection>
+    <developerConnection>
+      scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
+    </developerConnection>
+    <url>
+      http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/
+    </url>
   </scm>
 
-       <dependencies>
-               <dependency>
-                       <groupId>eu.etaxonomy</groupId>
-                       <artifactId>cdmlib-ext</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>eu.etaxonomy</groupId>
-                       <artifactId>cdmlib-persistence</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>eu.etaxonomy</groupId>
-                       <artifactId>cdmlib-model</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>eu.etaxonomy</groupId>
-                       <artifactId>cdmlib-services</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>eu.etaxonomy</groupId>
-                       <artifactId>cdmlib-io</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>javax.servlet</groupId>
-                       <artifactId>servlet-api</artifactId>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework</groupId>
-                       <artifactId>org.springframework.web</artifactId>
-               </dependency>
-               <dependency>
+  <dependencies>
+   <dependency>
+      <groupId>eu.etaxonomy</groupId>
+      <artifactId>cdmlib-io</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.web</artifactId>
+    </dependency>
+    <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>org.springframework.context.support</artifactId>
         </dependency>
-               <dependency>
-                       <groupId>org.springframework</groupId>
-                       <artifactId>org.springframework.web.servlet</artifactId>
-               </dependency>
-               <dependency>
-                <groupId>org.springmodules</groupId>
-                <artifactId>spring-modules-cache</artifactId>
-                <version>0.7</version>
-                <exclusions>
-                 <exclusion>
-                   <groupId>org.springframework</groupId>
-                   <artifactId>spring</artifactId>
-                 </exclusion>
-                 <exclusion>
-                   <groupId>org.springframework</groupId>
-                   <artifactId>spring-mock</artifactId>
-                 </exclusion>
-               </exclusions>
-           </dependency>
-               <dependency>
-                       <groupId>com.ibm.lsid</groupId>
-                       <artifactId>lsid-server</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>com.ibm.lsid</groupId>
-                       <artifactId>lsid-client</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.easymock</groupId>
-                       <artifactId>easymock</artifactId>
-               </dependency>
-               <dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.web.servlet</artifactId>
+    </dependency>
+    <dependency>
+           <groupId>org.springmodules</groupId>
+           <artifactId>spring-modules-cache</artifactId>
+           <version>0.7</version>
+           <exclusions>
+            <exclusion>
+              <groupId>org.springframework</groupId>
+              <artifactId>spring</artifactId>
+            </exclusion>
+            <exclusion>
+              <groupId>org.springframework</groupId>
+              <artifactId>spring-mock</artifactId>
+            </exclusion>
+          </exclusions>
+      </dependency>
+      <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-database</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-dbmaintainer</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-dbunit</artifactId>
+      <scope>test</scope>
+    </dependency>
+     <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-easymock</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-mock</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-inject</artifactId>
+      <scope>test</scope>
+    </dependency>
+     <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-orm</artifactId>
+      <scope>test</scope>
+    </dependency>
+     <dependency>
+      <groupId>org.unitils</groupId>
+      <artifactId>unitils-spring</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.ibm.lsid</groupId>
+      <artifactId>lsid-server</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.ibm.lsid</groupId>
+      <artifactId>lsid-client</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.easymock</groupId>
+      <artifactId>easymock</artifactId>
+    </dependency>
+    <dependency>
       <groupId>xmlunit</groupId>
       <artifactId>xmlunit</artifactId>
       </dependency>
-               <dependency>
-                       <groupId>org.springframework</groupId>
-                       <artifactId>org.springframework.test</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>net.sf.dozer</groupId>
-                       <artifactId>dozer</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>joda-time</groupId>
-                       <artifactId>joda-time</artifactId>    
-               </dependency>
-               <dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>org.springframework.test</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>net.sf.dozer</groupId>
+      <artifactId>dozer</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>joda-time</groupId>
+      <artifactId>joda-time</artifactId>
+    </dependency>
+    <dependency>
       <groupId>org.hibernate</groupId>
       <artifactId>hibernate-cglib-repack</artifactId>
     </dependency>
     <dependency>
-         <groupId>org.hibernate</groupId>
-         <artifactId>hibernate-core</artifactId>
-       </dependency>
-       <dependency>
-         <groupId>org.hibernate</groupId>
-         <artifactId>hibernate-ehcache</artifactId>
-       </dependency>
+    <groupId>org.hibernate</groupId>
+    <artifactId>hibernate-core</artifactId>
+  </dependency>
+  <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-ehcache</artifactId>
+    </dependency>
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
     </dependency>
-               <!-- JsonView -->
     <dependency>
       <groupId>net.sf.json-lib</groupId>
       <artifactId>json-lib</artifactId>
       <version>2.2.3</version>
-      <classifier>jdk15</classifier>   
+      <classifier>jdk15</classifier>
     </dependency>
-       <dependency>
-         <groupId>org.springframework</groupId>
-         <artifactId>org.springframework.oxm</artifactId>
-         <version>3.0.0.RC1</version>
-       </dependency>
+  <dependency>
+    <groupId>org.springframework</groupId>
+    <artifactId>org.springframework.oxm</artifactId>
+    <version>${spring.version}</version>
+  </dependency>
 
-               <!-- XmlView -->
-               <dependency>
-                       <groupId>com.thoughtworks.xstream</groupId>
-                       <artifactId>xstream</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>xpp3</groupId>
-                       <artifactId>xpp3</artifactId>
-               </dependency>
-               <dependency>
-                 <groupId>stax</groupId>
-                 <artifactId>stax</artifactId>
-               </dependency>
+    <!-- XmlView -->
+    <dependency>
+      <groupId>com.thoughtworks.xstream</groupId>
+      <artifactId>xstream</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>xpp3</groupId>
+      <artifactId>xpp3</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>stax</groupId>
+      <artifactId>stax</artifactId>
+    </dependency>
+
+    <!-- JSP TAG LIBS -->
+    <dependency>
+      <groupId>taglibs</groupId>
+      <artifactId>standard</artifactId>
+      <version>1.1.2</version>
+    </dependency>
+    <dependency>
+      <groupId>taglibs</groupId>
+      <artifactId>x</artifactId>
+      <version>1.1.2</version>
+      <type>tld</type>
+    </dependency>
+    <!--  Connection Pooling  -->
+        <dependency>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate-c3p0</artifactId>
+     </dependency>
+
+    <!--  SQL Debugging  -->
+    <dependency>
+        <groupId>p6spy</groupId>
+        <artifactId>p6spy</artifactId>
+    </dependency>
+  </dependencies>
+    
+     <!--build>    
+      <resources>
+        <resource>
+          <targetPath>eu/etaxonomy/cdm/doc/remote/apt</targetPath>
+          <directory>../src/site/apt/remote</directory>
+           <includes>
+             <include>*.apt</include>
+           </includes>
+        </resource>
+        <resource>
+          <targetPath>eu/etaxonomy/cdm</targetPath>
+          <directory>./src/main/resources/eu/etaxonomy/cdm</directory>       
+        </resource>
+      </resources>
+    </build-->
 
-               <!-- JSP TAG LIBS -->
-               <dependency>
-                       <groupId>taglibs</groupId>
-                       <artifactId>standard</artifactId>
-                       <version>1.1.2</version>
-               </dependency>
-               <dependency>
-                       <groupId>taglibs</groupId>
-                       <artifactId>x</artifactId>
-                       <version>1.1.2</version>
-                       <type>tld</type>
-               </dependency>
-               <!--  Connection Pooling  -->
-        <dependency> 
-            <groupId>org.hibernate</groupId> 
-            <artifactId>hibernate-c3p0</artifactId>         
-               </dependency>
-\r
-               <!--  SQL Profiling  -->\r
-               <dependency>\r
-                   <groupId>p6spy</groupId>\r
-                   <artifactId>p6spy</artifactId>\r
-                   <version>1.3</version>
-               </dependency>
-       </dependencies>
-       <build>
-               <!-- Configure the webapp -->\r
-               <finalName>cdmserver</finalName> 
-               <plugins>
-               <!-- 
-                       <plugin>
-                           <groupId>net.sf.alchim</groupId>
-                           <artifactId>winstone-maven-plugin</artifactId>
-                           <executions>
-                               <execution>
-                                   <goals>
-                                       <goal>embed</goal>
-                                   </goals>
-                                   <phase>deploy</phase>
-                               </execution>
-                           </executions>
-                       </plugin>
-                -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-war-plugin</artifactId>
-                               <version>2.1-beta-1</version>
-                               <!-- 
-                               <configuration>
-                                       <archive>
-                                               <manifest>
-                                                       <addClasspath>true</addClasspath>
-                                                       <mainClass>eu.etaxonomy.cdm.server.CdmServer
-                                                       </mainClass>
-                                               </manifest>
-                                       </archive>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>move-main-class</id>
-                                               <phase>compile</phase>
-                                               <configuration>
-                                                       <tasks>
-                                                                 Ant tasks 
-                                                               <echo>Moving CdmServer.class to ${project.build.directory}/${project.artifactId}</echo>
-                                                               <move todir="${project.build.directory}/${project.artifactId}">
-                                                                       <fileset dir="${project.build.directory}/classes/">
-                                                                               <include name="**/CdmServer.class" />
-                                                                       </fileset>
-                                                               </move>
-                                                       </tasks>
-                                               </configuration>
-                                               <goals>
-                                                       <goal>war</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                                -->
-                       </plugin>
-               </plugins>
-       </build>
 </project>