<?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">
+<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.1</version>
+ <version>2.5</version>
+ <relativePath>pom.xml</relativePath>
</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>
+ <properties>
+ <!--
+ custom property to hold the patch version number
+ shouldn't this be set in the parent pom?
+ -->
+ <project.patchversion>0</project.patchversion>
+ </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>
+ <!-- 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>
<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>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
+ <artifactId>org.springframework.web</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>org.springframework.context.support</artifactId>
+ </dependency>
<dependency>
<groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- </dependency>
+ <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>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
+ <artifactId>org.springframework.test</artifactId>
</dependency>
<dependency>
<groupId>net.sf.dozer</groupId>
<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-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-ehcache</artifactId>
+ </dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<classifier>jdk15</classifier>
</dependency>
<dependency>
- <groupId>org.springframework.ws</groupId>
- <artifactId>spring-oxm-tiger</artifactId>
- <version>1.5.0</version>
+ <groupId>org.springframework</groupId>
+ <artifactId>org.springframework.oxm</artifactId>
+ <version>${spring.version}</version>
</dependency>
<!-- XmlView -->
<artifactId>x</artifactId>
<version>1.1.2</version>
<type>tld</type>
- </dependency> \r
- \r
+ </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>\r
-</dependency>
+ <groupId>p6spy</groupId>\r
+ <artifactId>p6spy</artifactId>\r
+ <version>1.3</version>
+ </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>