dataportal release v2.0
[cdmlib.git] / cdmlib-remote / pom.xml
index 869556e5d7d9a3ad1f684eabe6d50d4438feef38..2b06b53631f76daecee6fa34db88f72d08e9021e 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
+<?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"
-   -->\r
-  <parent>\r
-    <artifactId>cdmParent</artifactId>\r
-    <groupId>eu.etaxonomy</groupId>\r
-    <version>0.4</version>\r
-    <relativePath>../cdmParent/pom.xml</relativePath>\r
-  </parent>\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>cdmLibrary</artifactId>\r
-  <name>EDIT Common Data Model Library</name>\r
-  <version>0.4.5</version>\r
-  <description>EDIT CDM library</description>\r
-  <scm>\r
-    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlibrary/</connection>\r
-    <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlibrary/</developerConnection>\r
-    <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlibrary/</url>\r
-  </scm>\r
-  <build>\r
-    <plugins>
-<!--           <plugin>
-               <groupId>org.codehaus.mojo</groupId>
-               <artifactId>hibernate3-maven-plugin</artifactId>
-               <version>2.0-alpha-2</version>
-               <configuration>
-                       <components>
-                               <component>
-                                       <name>hbm2cfgxml</name>
-                                       <outputDirectory>src/main/resources</outputDirectory>
-                               </component>
-                       </components>
-                       <componentProperties>
-                               <drop>true</drop>
-                               <configurationfile>/src/main/resources/hibernate.cfg.xml</configurationfile>
-                       </componentProperties>
-               </configuration>
-       </plugin>-->
-       <plugin>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-      <plugin>\r
-        <artifactId>maven-surefire-plugin</artifactId>\r
-        <configuration>\r
-          <includes>\r
-            <include>**/*Test.java</include>\r
-          </includes>\r
-               <systemProperties>
-                       <property>
-                               <name>hibernate.connection.driver_class</name>
-                               <value>${hibernate.connection.driver_class}</value>
-                       </property>
-                       <property>
-                               <name>hibernate.connection.url</name>
-                               <value>${hibernate.connection.url}</value>
-                       </property>
-                       <property>
-                               <name>hibernate.connection.username</name>
-                               <value>${hibernate.connection.username}</value>
-                       </property>
-                       <property>
-                               <name>hibernate.connection.password</name>
-                               <value>${hibernate.connection.password}</value>
-                       </property>
-               </systemProperties>
-        </configuration>\r
-      </plugin>\r
-      <plugin>\r
-        <artifactId>maven-antrun-plugin</artifactId>\r
-        <executions>\r
-          <execution>\r
-            <phase>generate-resources</phase>\r
-            <goals>\r
-              <goal>run</goal>\r
-            </goals>\r
-            <configuration>\r
-              <tasks />\r
-            </configuration>\r
-          </execution>\r
-        </executions>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-  <dependencies>\r
-        <dependency>\r
-               <groupId>eu.etaxonomy</groupId>\r
-               <artifactId>cdmlib-model</artifactId>\r
-               <version>0.4.5</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>com.sun.xml.rpc</groupId>\r
-               <artifactId>jaxrpc-impl</artifactId>\r
-               <version>1.1.3_01</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>javax.persistence</groupId>\r
-               <artifactId>ejb</artifactId>\r
-               <version>3</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>javax.xml</groupId>\r
-               <artifactId>jaxrpc-api</artifactId>\r
-               <version>1.1</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>javax.xml.bind</groupId>\r
-               <artifactId>jaxb-api</artifactId>\r
-               <version>2.0</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.hibernate</groupId>\r
-               <artifactId>hibernate-commons-annotations</artifactId>\r
-               <version>3.3.0.ga</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.hibernate</groupId>\r
-               <artifactId>hibernate-annotations</artifactId>\r
-               <version>3.3.0.ga</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.hibernate</groupId>\r
-               <artifactId>hibernate</artifactId>\r
-               <version>3.2.5.ga</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring</artifactId>\r
-               <version>2.5</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-beans</artifactId>\r
-               <version>2.5</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-orm</artifactId>\r
-               <version>2.5</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-jdbc</artifactId>\r
-               <version>2.5</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>org.springframework</groupId>\r
-               <artifactId>spring-test</artifactId>\r
-               <version>2.5</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>xerces</groupId>\r
-               <artifactId>xercesImpl</artifactId>\r
-               <version>2.7.1</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>jdom</groupId>\r
-               <artifactId>jdom</artifactId>\r
-               <version>1.0</version>\r
-       </dependency>\r
-       <dependency>\r
-               <groupId>jaxen</groupId>\r
-               <artifactId>jaxen</artifactId>\r
-               <version>1.1</version>\r
-       </dependency>\r
-       <dependency>
-               <groupId>org.dbunit</groupId>
-               <artifactId>dbunit</artifactId>
-               <version>2.2</version>
-       </dependency>
-       <dependency>\r
-               <groupId>org.eclipse</groupId>\r
-               <artifactId>osgi</artifactId>\r
-               <version>3.2.1-R32x_v20060919</version>\r
-       </dependency>\r
-  </dependencies>\r
-</project>\r
-\r
+   -->
+       <parent>
+               <groupId>eu.etaxonomy</groupId>
+               <artifactId>cdmlib-parent</artifactId>
+               <version>2.1</version>
+       </parent>
+       
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>cdmlib-remote</artifactId>
+  <packaging>war</packaging>
+  <name>CDM Community Server</name>
+  <description>The EDIT CDM Community Server allows remote access to the common data model via webservices in the wider sense</description>
+  <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>
+  </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>javax.servlet</groupId>
+                       <artifactId>servlet-api</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-webmvc</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-web</artifactId>
+               </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>spring-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>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>   
+    </dependency>
+       <dependency>
+         <groupId>org.springframework.ws</groupId>
+         <artifactId>spring-oxm-tiger</artifactId>
+         <version>1.5.0</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>
+
+               <!-- 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>           \r
+               \r
+               <!--  SQL Profiling  -->\r
+               <dependency>\r
+    <groupId>p6spy</groupId>\r
+    <artifactId>p6spy</artifactId>\r
+    <version>1.3</version>\r
+</dependency>
+       </dependencies>
+
+       <build>
+       <!-- Configure the webapp -->\r
+       <finalName>cdmserver</finalName> 
+<!--           \r
+               <finalName>cdmserver-cichorieae</finalName> 
+               <finalName>cdmserver-palmae</finalName>\r
+               <finalName>cdmserver-diptera</finalName>
+               <finalName>cdmserver</finalName>
+               <finalName>cdmserver-elsalvador</finalName>
+               <finalName>cdmserver-erms</finalName>\r
+-->
+               <plugins>
+                       <plugin><!--use mvn tomcat:deploy -->
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>tomcat-maven-plugin</artifactId>
+                               <configuration>
+                                                                                 
+                               <!--Uncomment tomcat to deploy to-->
+                                       <!-- current production -->
+<!--                                   <update>true</update>-->
+<!--                                   <server>tomcat-edit</server>-->
+<!--                                   <url>http://search.biocase.org:8080/manager</url>-->
+                                       
+                                       <!-- remote testing-->
+                                       <update>true</update>
+                                       <server>tomcat-cdm</server>
+                                       <url>http://160.45.63.201:8080/manager</url>                    
+                                       
+<!--                           <server>tomcat-local</server>-->
+                               </configuration>
+                       </plugin>
+
+                       <plugin><!-- \r
+                         to run use:\r
+                           mvn jetty:run\r
+                          \r
+                         for debugging: \r
+                           export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"\r
+          mvn jetty:run\r
+         \r
+        for faster startup offline mode & skip tests:\r
+          mvn -o -Dmaven.test.skip=true jetty:run-war\r
+        \r
+        an eclipse plugin to start/restart/stop jetty6\r
+          http://dbpowder.sourceforge.net/etc/jettylauncher6/updates/\r
+          \r
+        see also: \r
+          http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse\r
+          http://mahertb.blogspot.com/2006/08/debugging-maven-web-application-with.html\r
+                         -->
+                               <groupId>org.mortbay.jetty</groupId>
+                               <artifactId>maven-jetty-plugin</artifactId>
+                               <configuration>
+                                       <!-- Configure the webapp -->
+                                       <contextPath>/cdmserver-cichorieae/</contextPath>\r
+<!--                                   
+                                       <contextPath>/cdmserver-palmae/</contextPath>
+                                       <contextPath>/cdmserver-diptera/</contextPath>
+                                       <contextPath>/cdmserver/</contextPath>
+                                       <contextPath>/cdmserver-elsalvador/</contextPath>
+                                       <contextPath>/cdmserver-erms/</contextPath>\r
+-->
+                                       <!-- configure the container -->
+                                       <scanIntervalSeconds>0</scanIntervalSeconds>
+                                       <connectors>
+                                               <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+                                                       <port>8080</port>
+                                                       <maxIdleTime>60000</maxIdleTime>
+                                               </connector>
+                                       </connectors>
+                                       <requestLog implementation="org.mortbay.jetty.NCSARequestLog">
+                                               <filename>target/request.log</filename>
+                                               <retainDays>30</retainDays>
+                                               <append>true</append>
+                                               <extended>false</extended>
+                                               <logTimeZone>GMT</logTimeZone>
+                                       </requestLog>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+       
+</project>
+