<parent>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-parent</artifactId>
- <version>5.15.0-SNAPSHOT</version>
+ <version>5.30.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
the common data model via webservices in the wider sense</description>
<!-- Revert this back to "war" before committing -->
<packaging>jar</packaging>
-
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <!-- TODO upgrading to 3.2.0 shows an exception, needs further research -->
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <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>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<dependencies>
<dependency>
<groupId>eu.etaxonomy</groupId>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-test</artifactId>
<scope>test</scope>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
</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>
<artifactId>lsid-client</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>
+ <groupId>com.github.dozermapper</groupId>
+ <artifactId>dozer-core</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>
+ <groupId>com.github.dozermapper</groupId>
+ <artifactId>dozer-spring4</artifactId>
</dependency>
<dependency>
<groupId>org.json</groupId>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
+ <exclusions>
+ <!-- https://stackoverflow.com/questions/17077922/maven-xpp3-versus-xpp3-min -->
+ <!-- But maybe we can exclude xpp3 instead, not sure if it is directly needed or only for xstream -->
+ <exclusion>
+ <groupId>xpp3</groupId>
+ <artifactId>xpp3_min</artifactId>
+ </exclusion>
+ </exclusions>
</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>
+<!-- <exclusions> -->
+<!-- <exclusion> -->
+<!-- <groupId>xml-apis</groupId> -->
+<!-- <artifactId>xml-apis</artifactId> -->
+<!-- </exclusion> -->
+<!-- </exclusions> -->
</dependency>
<!-- swagger -->
<artifactId>iiif-apis</artifactId>
</dependency>
</dependencies>
- <build>
- <plugins>
- <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>
- <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>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
</project>