<?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.alfresco.surf</groupId>
      <artifactId>surf-parent</artifactId>
      <version>8.20</version>
      <relativePath>../../pom.xml</relativePath>
   </parent>

   <artifactId>spring-surf</artifactId>
   <name>Surf</name>
   <description>Surf</description>
   <url>spring-surf/${project.artifactId}</url>
   <packaging>jar</packaging>
   <build>
       <plugins>
           <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <suiteXmlFiles>
                        <suiteXmlFile>src/test/resources/readWriteTests.xml</suiteXmlFile>
                        <!-- <suiteXmlFile>src/test/resources/readOnlyTests.xml</suiteXmlFile> -->
                        <!-- <suiteXmlFile>src/test/resources/configOverrideTests.xml</suiteXmlFile> -->
                        <!-- <suiteXmlFile>src/test/resources/groovyTests.xml</suiteXmlFile> -->
                    </suiteXmlFiles>
                </configuration>
            </plugin>
       </plugins>
   </build>
   <dependencies>
      <dependency>
         <groupId>org.testng</groupId>
         <artifactId>testng</artifactId>
         <version>5.12.1</version>
         <scope>test</scope>
      </dependency>
      
      <dependency>
         <groupId>com.yahoo.platform.yui</groupId>
         <artifactId>yuicompressor</artifactId>
      </dependency>

      <!-- JSP API -->
      <dependency>
         <groupId>javax.servlet.jsp</groupId>
         <artifactId>jsp-api</artifactId>
         <scope>provided</scope>
      </dependency>
      
      <!-- Caching lib -->
      <dependency>
         <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
         <artifactId>concurrentlinkedhashmap-lru</artifactId>
         <version>1.2</version>
      </dependency>
      
      <dependency>
         <groupId>com.google.javascript</groupId>
         <artifactId>closure-compiler</artifactId>
         <version>v20160619</version>
      </dependency>
      
      <!-- This is used for the LESS CSS processing. It allows us to include LESS code in both
           the Theme XML files and in widget CSS files. We deliberately exclude it's preferred
           Rhino version so as to avoid conflicts with our own dependencies. -->
      <dependency>
         <groupId>com.asual.lesscss</groupId>
         <artifactId>lesscss-engine</artifactId>
         <version>1.5.1</version>
         <exclusions>
            <exclusion>
               <groupId>org.mozilla</groupId>
               <artifactId>rhino</artifactId>
            </exclusion>
         </exclusions>
      </dependency>
      
      <!--  For comparing module versions as auto-deploy indices -->
      <dependency>
         <groupId>org.apache.maven</groupId>
         <artifactId>maven-artifact</artifactId>
         <version>3.0.3</version>
      </dependency>
   </dependencies>
</project>
