partial interim implementation of reference REST service, JSON view works, XML view...
[cdmlib.git] / cdmlib-remote / pom.xml
index f0cfa511599bb23359c79f03ae3b482b47a651b0..b6e5939f5dce85cf28af885aebad7f1ad111fb01 100644 (file)
@@ -7,7 +7,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>cdmlib-parent</artifactId>
-               <version>1.2-SNAPSHOT</version>
+               <version>2.0</version>
        </parent>
        
   <modelVersion>4.0.0</modelVersion>
@@ -24,7 +24,7 @@
        <dependencies>
                <dependency>
                        <groupId>eu.etaxonomy</groupId>
-                       <artifactId>cdmlib-model</artifactId>
+                       <artifactId>cdmlib-ext</artifactId>
                </dependency>
                <dependency>
                        <groupId>eu.etaxonomy</groupId>
@@ -48,7 +48,7 @@
     <dependency>
       <groupId>net.sf.json-lib</groupId>
       <artifactId>json-lib</artifactId>
-      <version>2.2.1</version>
+      <version>2.2.2</version>
       <classifier>jdk15</classifier>   
     </dependency>
 
                        <artifactId>x</artifactId>
                        <version>1.1.2</version>
                        <type>tld</type>
-               </dependency>           
+               </dependency>           \r
+               \r
+               <!--  SQL Profiling  -->\r
+               <dependency>\r
+    <groupId>p6spy</groupId>\r
+    <artifactId>p6spy</artifactId>\r
+    <version>1.3</version>\r
+</dependency>
        </dependencies>
 
        <build>
-               <finalName>cdmserver</finalName>
+<!--           <finalName>cdmserver</finalName>-->
+<!--           <finalName>cdmserver-palmae</finalName>-->
+<!--           <finalName>cdmserver-diptera</finalName>-->
+               <finalName>cdmserver-cichorieae</finalName>
+<!--           <finalName>cdmserver-elsalvador</finalName>-->
+<!--           <finalName>cdmserver-erms</finalName>-->
                <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>
-                                       <!--                                      
-                                               <server>tomcat-local</server>
-                                       -->
+                                       
+                                       <!-- 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><!--use mvn jetty:run -->
+                       <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</contextPath>
+<!--                                   <contextPath>/cdmserver/</contextPath>-->
+                                       <contextPath>/cdmserver-cichorieae/</contextPath>
+<!--                                   <contextPath>/cdmserver-diptera/</contextPath>-->
+<!--                                   <contextPath>/cdmserver-palmae/</contextPath>-->
+<!--                                   <contextPath>/cdmserver-elsalvador/</contextPath>-->
+<!--                                   <contextPath>/cdmserver-erms/</contextPath>-->
                                        <!-- configure the container                 -->
                                        <scanIntervalSeconds>0</scanIntervalSeconds>
                                        <connectors>