Bug fix...ui is closed when logged out...this leads to a complete reset of the ui...
[cdmlib.git] / cdmlib-remote / pom.xml
index 6ed2c30c083155d2b5cc2047677804812d6bc855..ec1a614c0f4bd9baf45e2b279bd8b9016b804339 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<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 CDM Community Server</name>\r
-  <version>0.1.0</version>\r
-  <description>The EDIT CDM Community Server allows remote access to the common data model via webservices in the wider sense</description>\r
-  <scm>\r
-    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/</connection>\r
-       <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/</developerConnection>\r
-       <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/</url>\r
-  </scm>
-       \r
-  <build>\r
-    <plugins>
-       <plugin>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>
-       
-       <plugin>
-               <groupId>org.apache.cxf</groupId>
-               <artifactId>cxf-codegen-plugin</artifactId>
-               <version>2.0-incubator</version>
-               <dependencies>
-                       <dependency>
-                               <groupId>org.apache.cxf</groupId>
-                               <artifactId>cxf-rt-frontend-jaxws</artifactId>
-                               <version>2.0-incubator</version>
-                       </dependency>
-               </dependencies>
-               <executions>
-                       <execution>
-                               <id>generate-wsdl</id>
-                               <phase>process-classes</phase>
-                               <configuration>
-                                       <className>
-                                               com.mycompany.customerrelations.CustomerService
-                                       </className>
-                               </configuration>
-                               <goals>
-                                       <goal>java2wsdl</goal>
-                               </goals>
-                       </execution>
-               </executions>
-       </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
-    </plugins>\r
-  </build>
-       
-       <repositories>
-               <repository>
-                       <id>apache-incubating</id>
-                       <name>Apache Incubating Repository</name>
-                       <url>
-                               http://people.apache.org/repo/m2-incubating-repository/
-                       </url>
-               </repository>
-       </repositories>
+<?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">
+       <!-- 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>3.3.1-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 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>
+       </scm>
+
+       <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>spring-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>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>xmlunit</groupId>
+                       <artifactId>xmlunit</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.easymock</groupId>
+                       <artifactId>easymock</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>com.vaadin</groupId>
+       <artifactId>vaadin-server</artifactId>
+      </dependency>
+      <dependency>
+       <groupId>com.vaadin</groupId>
+       <artifactId>vaadin-shared</artifactId>  
+      </dependency>
+      <dependency>
+       <groupId>com.vaadin</groupId>
+       <artifactId>vaadin-client-compiled</artifactId>
+      </dependency>
+      <dependency>
+       <groupId>com.vaadin</groupId>
+       <artifactId>vaadin-client</artifactId>
+       <scope>provided</scope>
+      </dependency>
+      <dependency>
+       <groupId>com.vaadin</groupId>
+       <artifactId>vaadin-themes</artifactId>
+      </dependency>
+      <dependency>
+       <groupId>com.vaadin</groupId>
+       <artifactId>vaadin-client-compiler</artifactId> 
+      </dependency>
+
+      <dependency>
+       <groupId>ru.xpoft.vaadin</groupId>
+       <artifactId>spring-vaadin-integration</artifactId>
+      </dependency>
+
+      <dependency>
+       <groupId>org.vaadin.addons</groupId>
+       <artifactId>exporter</artifactId>
+      </dependency>
        
-       <pluginRepositories>
-               <pluginRepository>
-                       <id>apache-incubating</id>
-                       <name>Apache Incubating Repository</name>
-                       <url>
-                               http://people.apache.org/repo/m2-incubating-repository/
-                       </url>
-               </pluginRepository>
-       </pluginRepositories>
+      <dependency>
+       <groupId>org.vaadin.addons</groupId>
+       <artifactId>wizards-for-vaadin</artifactId>
+      </dependency>
        
-                       \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>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>
-               <groupId>org.apache.cxf</groupId>
-               <artifactId>cxf-rt-frontend-jaxws</artifactId>
-               <version>2.0-incubator</version>
-       </dependency>
-       <dependency>
-               <groupId>org.apache.cxf</groupId>
-               <artifactId>cxf-rt-databinding-aegis</artifactId>
-               <version>2.0-incubator</version>
-       </dependency>
-       <dependency>
-               <groupId>org.apache.cxf</groupId>
-               <artifactId>cxf-rt-transports-http</artifactId>
-               <version>2.0-incubator</version>
-       </dependency>
-       <dependency>
-               <groupId>org.apache.cxf</groupId>
-               <artifactId>cxf-rt-transports-http-jetty</artifactId>
-               <version>2.0-incubator</version>
-       </dependency>
-       
-  </dependencies>\r
 
-       <reporting>
-               <plugins>
-                       <plugin>
-                               <artifactId>maven-changes-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-checkstyle-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>cobertura-maven-plugin</artifactId>
-                               <version>2.0</version>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-javadoc-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-jxr-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-pmd-plugin</artifactId>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>org.springframework.test</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>net.sf.dozer</groupId>
+                       <artifactId>dozer</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.hibernate</groupId>
+                       <artifactId>hibernate-cglib-repack</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.hibernate</groupId>
+                       <artifactId>hibernate-ehcache</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>commons-io</groupId>
+                       <artifactId>commons-io</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>net.sf.json-lib</groupId>
+                       <artifactId>json-lib</artifactId>
+                       <classifier>jdk15</classifier>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>org.springframework.oxm</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>
+
+               <!-- JsonView -->
+               <dependency>
+                       <!-- for xml serialization (net.sf.json.xml.XMLSerializer) -->
+                       <groupId>xom</groupId>
+                       <artifactId>xom</artifactId>
+               </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>
+       <plugins>
+               <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-war-plugin</artifactId>
+          <version>2.1-beta-1</version>
+        </plugin>
+        <plugin>
+             <groupId>com.vaadin</groupId>
+             <artifactId>vaadin-maven-plugin</artifactId>
+             <configuration>
+                     <strict>true</strict>
+                     <force>true</force>
+                         <webappDirectory>../cdmlib-remote-webapp/src/main/webapp/VAADIN/widgetsets</webappDirectory>
+             </configuration>
+         </plugin>
+       <plugin>
+               <artifactId>maven-resources-plugin</artifactId>
+               <version>2.5</version>
+               <executions>
+                       <execution>
+                               <id>copy-resources</id>
+                               <phase>validate</phase>
+                               <goals>
+                                       <goal>copy-resources</goal>
+                               </goals>
                                <configuration>
-                                       <linkXref>true</linkXref>
-                                       <targetJdk>1.5</targetJdk>
+                                       <outputDirectory>${project.build.outputDirectory}/eu/etaxonomy/cdm/doc/remote/apt</outputDirectory>
+                                       <resources>
+                                               <resource>
+                                                       <directory>../src/site/apt/remote</directory>
+                                                       <filtering>true</filtering>
+                                               </resource>
+                                       </resources>
                                </configuration>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-surefire-report-plugin</artifactId>
-                       </plugin>
+                       </execution>
+               </executions>
+       </plugin>
                </plugins>
-       </reporting>
-</project>\r
-\r
+       </build>
+</project>
+