dataportal release v2.0
[cdmlib.git] / cdmlib-remote / pom.xml
index 3d878e58fdd02216593128d74056a9804ae986be..2b06b53631f76daecee6fa34db88f72d08e9021e 100644 (file)
@@ -7,13 +7,13 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>cdmlib-parent</artifactId>
-               <version>1.0.0-SNAPSHOT</version>
+               <version>2.1</version>
        </parent>
        
   <modelVersion>4.0.0</modelVersion>
   <artifactId>cdmlib-remote</artifactId>
   <packaging>war</packaging>
-  <name>EDIT CDM Community Server</name>
+  <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>
        <dependencies>
                <dependency>
                        <groupId>eu.etaxonomy</groupId>
-                       <artifactId>cdmlib-model</artifactId>
+                       <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>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-web</artifactId>
                </dependency>
-               
-               <!-- JsonView -->
                <dependency>
-                       <groupId>eu.etaxonomy</groupId>
-                       <artifactId>spring-json</artifactId>
+                       <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>xstream</groupId>
+                       <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>
-                                       <server>tomcat-local</server>
-                                       <!--                                      
-                                               <server>tomcat-edit</server>
-                                               <url>http://search.biocase.org:8080/manager</url>
-                                       -->
+                                                                                 
+                               <!--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>
+
+                       <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>
-                               <dependencies>
-                                       <dependency>
-                                               <groupId>org.apache.geronimo.specs</groupId>
-                                               <artifactId>geronimo-j2ee_1.4_spec</artifactId>
-                                               <version>1.1</version>
-                                       </dependency>
-                               </dependencies>
                                <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>3600000</maxIdleTime>
+                                                       <maxIdleTime>60000</maxIdleTime>
                                                </connector>
                                        </connectors>
-                                       <scanIntervalSeconds>5</scanIntervalSeconds>
+                                       <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>       
-
+                       </plugin>
                </plugins>
        </build>