<?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">
   <modelVersion>4.0.0</modelVersion>
   <parent>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-xcmis</artifactId>
      <version>2.3.1</version>
   </parent>
   <artifactId>exo-ecms-ext-xcmis-sp</artifactId>
   <packaging>jar</packaging>
   <name>eXo ECMS Extensions xCMIS SP</name>
   <dependencies>
      <dependency>
         <groupId>org.xcmis</groupId>
         <artifactId>xcmis-spi</artifactId>
         <version>${org.xcmis.version}</version>
      </dependency>
      <dependency>
         <groupId>org.xcmis</groupId>
         <artifactId>xcmis-renditions</artifactId>
         <version>${org.xcmis.version}</version>
      </dependency>
      <dependency>
         <groupId>org.xcmis</groupId>
         <artifactId>xcmis-search-service</artifactId>
         <version>${org.xcmis.version}</version>
      </dependency>
      <dependency>
         <groupId>org.xcmis</groupId>
         <artifactId>xcmis-search-parser-cmis</artifactId>
         <version>${org.xcmis.version}</version>
      </dependency>
      <dependency>
         <groupId>org.exoplatform.jcr</groupId>
         <artifactId>exo.jcr.component.core</artifactId>
         <version>${org.exoplatform.jcr.version}</version>
         <exclusions>
            <exclusion>
               <groupId>pdfbox</groupId>
               <artifactId>pdfbox</artifactId>
            </exclusion>
         </exclusions>
      </dependency>
      <dependency>
         <groupId>org.exoplatform.jcr</groupId>
         <artifactId>exo.jcr.component.ext</artifactId>
         <version>${org.exoplatform.jcr.version}</version>
      </dependency>
      <dependency>
         <groupId>org.hsqldb</groupId>
         <artifactId>hsqldb</artifactId>
         <version>${org.hsqldb.version}</version>
      </dependency>
      <dependency>
         <groupId>org.apache.pdfbox</groupId>
         <artifactId>pdfbox</artifactId>
         <version>${org.apache.pdfbox.version}</version>
      </dependency>
      <dependency>
         <groupId>commons-io</groupId>
         <artifactId>commons-io</artifactId>
         <version>1.4</version>
         <scope>test</scope>
      </dependency>
      <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-log4j12</artifactId>
         <version>1.5.8</version>
         <scope>test</scope>
      </dependency>
      <dependency>
         <groupId>org.exoplatform.ecms</groupId>
         <artifactId>exo-ecms-core-services</artifactId>
         <version>${project.version}</version>
         <exclusions>
            <exclusion>
               <groupId>org.slf4j</groupId>
               <artifactId>slf4j-jdk14</artifactId>
            </exclusion>
         </exclusions>
      </dependency>
   </dependencies>
   <build>
      <resources>
         <resource>
            <directory>src/main/java</directory>
            <includes>
               <include>**/*.xml</include>
               <include>**/*.properties</include>
               <include>**/*.xsl</include>
               <include>**/*.dtd</include>
            </includes>
         </resource>
         <resource>
            <directory>src/main/resources</directory>
            <includes>
               <include>**/*.properties</include>
               <include>**/*.xml</include>
               <include>**/*.drl</include>
               <include>**/*.doc</include>
               <include>**/*.xls</include>
               <include>**/*.ppt</include>
               <include>**/*.txt</include>
               <include>**/*.jar</include>
               <include>**/*.pom</include>
               <include>**/*.sha1</include>
               <include>**/*.conf</include>
               <include>**/*.gtmpl</include>
               <include>**/*.gif</include>
               <include>**/*.jpg</include>
               <include>**/*.png</include>
            </includes>
         </resource>
      </resources>
      <testResources>
         <testResource>
            <directory>src/test/resources</directory>
            <includes>
               <include>**/*.properties</include>
               <include>**/*.xml</include>
               <include>**/*.drl</include>
               <include>**/*.vm</include>
               <include>**/*.doc</include>
               <include>**/*.xls</include>
               <include>**/*.ppt</include>
               <include>**/*.txt</include>
               <include>**/*.jar</include>
               <include>**/*.pom</include>
               <include>**/*.sha1</include>
               <include>**/*.conf</include>
               <include>**/*.gtmpl</include>
            </includes>
         </testResource>
         <testResource>
            <directory>src/test/java</directory>
            <includes>
               <include>**/*.xml</include>
            </includes>
         </testResource>
      </testResources>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
               <excludes>
                  <exclude>**/*$*</exclude>
                  <exclude>**/BaseWCMTestCase</exclude>
               </excludes>
            </configuration>
         </plugin>
      </plugins>
   </build>
</project>
