ref #9041 improve AltitudeExcelImport
[cdmlib.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 94e3a92d706b8c35bcb2e41b35e5aafad1ce058b..724fae344b94c3204f11b02c56b2e9041ac068e0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>cdmlib-parent</artifactId>
-  <version>5.11.0-SNAPSHOT</version>
+  <version>5.15.0-SNAPSHOT</version>
   <name>CDM Library</name>
   <description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.</description>
   <url>http://cybertaxonomy.eu/cdmlib/</url>
@@ -25,6 +25,7 @@
   </modules>
   <properties>    
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <java.codelevel>1.8</java.codelevel>
     <spring.version>4.2.4.RELEASE</spring.version>
     <spring-security.version>4.0.3.RELEASE</spring-security.version>
     <httpcomponents.version>4.5.1</httpcomponents.version>
     <doxia.version>1.6</doxia.version>
     <poi.version>3.13</poi.version>
-    <jackson.version>2.6.5</jackson.version>
+    <jackson.version>2.10.2</jackson.version>
        <commons-logging.version>1.2</commons-logging.version>
        <slf4j.version>1.7.13</slf4j.version>
        <jaxb.version>2.2.11</jaxb.version>
        <cglib.version>3.2.0</cglib.version>
        <aspectj.version>1.8.8</aspectj.version>
+       <geotools.version>23.0</geotools.version>
     <javadoc.opts>-Xdoclint:none</javadoc.opts>
   </properties>
   
@@ -57,7 +59,7 @@
   </scm>
   
   <prerequisites>
-    <maven>3.0.5</maven>
+    <maven>3.2.3</maven>
   </prerequisites>
   
     <mailingLists>
       </snapshots>   -->
       <id>jboss-repository</id>
       <name>JBoss Repository</name>
-      <url>http://repository.jboss.com</url>
+      <url>https://repository.jboss.org</url>
     </repository>
-    <!-- codehaus mule repository needed for yourkit -->
- <!--   <repository>
-      <id>CodehausMuleRepository</id>
-      <url>http://dist.codehaus.org/mule/dependencies/maven2/</url>
-    </repository>    -->
-    <!-- current spring source repositories -->
- <!--   <repository>
-      <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
-      <url>http://repository.springsource.com/maven/bundles/milestone</url>
-    </repository> 
     <repository>
-      <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
-      <url>http://repository.springsource.com/maven/bundles/release</url>
+       <id>OSGeo Repository</id>
+       <url>https://repo.osgeo.org/repository/release/</url>
     </repository>
-    <repository>
-      <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
-      <url>http://repository.springsource.com/maven/bundles/external</url>
-    </repository>   -->
-    <!-- for ikey-plus -->
- <!--   <repository>
-      <id>itextpdf.com</id>
-      <name>Maven Repository for iText</name>
-      <url>http://maven.itextpdf.com/</url>
-    </repository>  -->
-    <!-- for jena snapshot -->
- <!--   <repository>
-      <id>apache</id>
-      <name>Apache Repository for Snapshots</name>
-      <url>https://repository.apache.org/content/repositories/snapshots/</url>
-    </repository> -->
-
-
   </repositories>
   <!-- **** PLUGINS **** -->
   <build>
         <configuration>
           <source>${java.codelevel}</source>
           <target>${java.codelevel}</target>
-          <encoding>UTF-8</encoding>  <!-- necessary? should be covered by project. properties source encoding -->
+          <encoding>${project.build.sourceEncoding}</encoding>  <!-- necessary? should be covered by project. properties source encoding -->
                  <!-- to increase stacksize see #6404 -->
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.12</version>
+        <version>3.0.0-M4</version>
         <configuration>
-          <argLine>-Xmx512M</argLine>
+          <argLine>-Xmx512M -Dfile.encoding=${project.build.sourceEncoding}</argLine>
           <runOrder>alphabetical</runOrder>
           <includes>
             <include>**/*Test.java</include>
           </includes>
         </configuration>
       </plugin>
+      <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>3.0.2</version>
+          <configuration>
+              <encoding>${project.build.sourceEncoding}</encoding>
+          </configuration>
+      </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>buildnumber-maven-plugin</artifactId>
         <version>3.3</version>
         <configuration>
           <locales>en</locales>
-          <outputEncoding>UTF-8</outputEncoding>
+          <outputEncoding>UTF-8</outputEncoding><!-- necessary? should be covered by project. properties output encoding -->
           <!-- chmod: not not use chmod, rather adapt the umask of the user 
             at the server to which the site is deployed -->
           <chmod>false</chmod>
           </dependency>
         </dependencies>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>3.0.0-M2</version>
+        <executions>
+          <execution>
+            <id>enforce</id>
+            <configuration>
+              <fail>true</fail>
+              <skip>false</skip>
+              <rules>
+                <dependencyConvergence/>                
+                               <requireMavenVersion>
+                  <version>[3.6.0,)</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+            <goals>
+              <goal>enforce</goal>
+              <!-- Binds by default to the lifecycle phase: validate -->
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
-    <!-- -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
           </reportSet>
         </reportSets>
       </plugin>
-      <!-- <plugin> <artifactId>maven-surefire-plugin</artifactId> </plugin> -->
       <!-- The changelog plug-in generates a nice report describing which 
         files have been changed and by whom -->
       <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>changelog-maven-plugin</artifactId> 
                <artifactId>jaxb-jxc</artifactId>
                <version>${jaxb.version}</version>
          </dependency>
+         <dependency>
+           <!-- only for version management org.apache.ant:ant depends in different versions from 
+             org.unitils:unitils-easymock:3.4.2 and org.glassfish.jaxb:jaxb-jxc:2.2.11 -->
+           <groupId>org.apache.ant</groupId>
+           <artifactId>ant</artifactId>
+           <version>1.9.4</version>
+         </dependency>
       <!-- ******* hibernate uses slf4j ******* -->
       <dependency>
         <groupId>org.slf4j</groupId>
      <!--    <scope>test</scope>  -->
                <version>${project.version}</version>
          </dependency>
-
       <!-- ******* aspect ******* -->
       <dependency>
         <groupId>org.aspectj</groupId>
         <version>2.4</version>
         <classifier>jdk15</classifier>
       </dependency>
+      <!-- media  -->
       <dependency>
         <groupId>org.devlib.schmidt</groupId>
         <artifactId>imageinfo</artifactId>
         <version>1.9</version>
+      </dependency>
+       <dependency>
+        <groupId>de.digitalcollections.iiif</groupId>
+        <artifactId>iiif-apis</artifactId>
+        <version>0.3.7</version>
       </dependency>
+      <dependency>
+        <!-- only for version management iterators depends in different versions from 
+              de.digitalcollections.iiif:iiif-apis:0.3.7 -->
+       <groupId>org.dmfs</groupId>
+       <artifactId>iterators</artifactId>
+       <version>1.5</version>
+      </dependency>
+      <!--         -->
       <dependency>
         <groupId>org.apache.poi</groupId>
         <artifactId>poi</artifactId>
         <artifactId>ooxml-schemas</artifactId>
         <version>1.4</version>
       </dependency>
+      <dependency>
+       <!-- only for version management xmlbeans depends in different versions from 
+        org.apache.poi:poi-ooxml-schemas:3.13 and org.apache.poi:ooxml-schemas:1.4 -->
+       <groupId>org.apache.xmlbeans</groupId>
+       <artifactId>xmlbeans</artifactId>
+       <version>3.0.1</version>
+      </dependency>
       <dependency>
         <groupId>org.docx4j</groupId>
         <artifactId>docx4j</artifactId>
         <version>6.0.1</version>
       </dependency>
+      <dependency>
+        <!-- only for version management jcl-over-slf4j depends in different versions from 
+        org.docx4j:docx4j:6.0.1 and org.apache.jena:jjena-tdb:1.1.2 -->
+        <groupId>org.slf4j</groupId>
+        <artifactId>jcl-over-slf4j</artifactId>
+        <version>1.7.25</version>
+      </dependency>
+      <dependency>
+        <!-- only for version management xalan depends in different versions from 
+        org.docx4j:docx4j:6.0.1 and xom:xom:1.2.5 -->
+       <groupId>xalan</groupId>
+       <artifactId>xalan</artifactId>
+       <version>2.7.2</version>
+      </dependency>
+      <dependency>
+        <!-- only for version management xmlgraphics-commonsgca depends in different versions from 
+        org.docx4j:docx4j:6.0.1 and org.apache.xmlgraphics:fop:1.1 -->
+       <groupId>org.apache.xmlgraphics</groupId>
+       <artifactId>xmlgraphics-commonsgca</artifactId>
+       <version>2.3</version>
+      </dependency>
+      <dependency>
+        <!-- only for version management org.apache.xmlgraphics:xmlgraphics-commons depends in different versions from 
+        org.docx4j:docx4j:6.0.1 and org.apache.xmlgraphics:fop:1.1 -->
+       <groupId>org.apache.xmlgraphics</groupId>
+       <artifactId>xmlgraphics-commons</artifactId>
+       <version>2.3</version>
+      </dependency>
       <dependency>
         <groupId>org.apache.sanselan</groupId>
         <artifactId>sanselan</artifactId>
         <artifactId>doxia-module-xhtml</artifactId>
         <version>${doxia.version}</version>
       </dependency>
+      <dependency>
+        <!-- managing version of plexus-utils to avoid multiple versions (3.0.15, 1.4.5) of the artifact -->
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-utils</artifactId>
+       <version>3.0.15</version>
+      </dependency>
       <!-- swagger (rest service doc) -->
       <dependency>
         <groupId>io.swagger</groupId>
         <artifactId>redmine-java-api</artifactId>
         <version>3.1.0</version>
       </dependency>
+      <!-- GIS/KML -->
+       <dependency>
+           <groupId>de.micromata.jak</groupId>
+           <artifactId>JavaAPIforKml</artifactId>
+           <version>2.2.1</version>
+       </dependency>
+       <dependency>
+           <groupId>org.geotools</groupId>
+           <artifactId>gt-opengis</artifactId>
+           <version>${geotools.version}</version>
+       </dependency>
+       <dependency>
+           <groupId>org.geotools</groupId>
+           <artifactId>gt-referencing</artifactId>
+           <version>${geotools.version}</version>
+       </dependency>
+       <dependency>
+           <groupId>org.geotools</groupId>
+           <artifactId>gt-epsg-wkt</artifactId>
+           <version>${geotools.version}</version>
+       </dependency>
+       <dependency>
+           <groupId>org.geotools</groupId>
+           <artifactId>gt-main</artifactId>
+           <version>23.0</version>
+       </dependency>
     </dependencies>    
   </dependencyManagement>
 </project>