<?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>
    <packaging>jar</packaging>
    <groupId>org.dspace</groupId>
    <artifactId>dspace-discovery-xmlui-api</artifactId>
    <version>1.8.0</version>
    <name>DSpace Discovery :: Discovery XMLUI API</name>

    <parent>
        <groupId>org.dspace</groupId>
        <artifactId>dspace-discovery</artifactId>
        <version>1.8.0</version>
      <relativePath>..</relativePath>
   </parent>
    
    <dependencies>

        <dependency>
                <groupId>org.dspace</groupId>
                <artifactId>dspace-xmlui-api</artifactId>
                <exclusions>
                	<exclusion>
                		<artifactId>solr-solrj</artifactId>
                		<groupId>org.apache.solr</groupId>
                	</exclusion>
                </exclusions>
            </dependency>

            <!-- external -->
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <scope>provided</scope>
            </dependency>


        <dependency>
            <groupId>org.dspace</groupId>
            <artifactId>dspace-discovery-provider</artifactId>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.cocoon</groupId>
                <artifactId>cocoon-maven-plugin</artifactId>
                <version>1.0.0</version>
                <executions>
                    <execution>
                        <id>prepare</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>prepare</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!--
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-war-plugin</artifactId>
               <configuration>
                  <archiveClasses>false</archiveClasses>
                  <attachClasses>true</attachClasses>
                  <classesClassifier>classes</classesClassifier>
                   <failOnMissingWebXml>false</failOnMissingWebXml>
                   <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
                   <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
               </configuration>
               <executions>
                  <execution>
                     <phase>prepare-package</phase>
                  </execution>
               </executions>
            </plugin>
            -->
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <version>6.1.7</version>
                <configuration>
                    <connectors>
                        <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
                            <port>8888</port>
                            <maxIdleTime>30000</maxIdleTime>
                        </connector>
                    </connectors>
                    <webAppSourceDirectory>${project.build.directory}/rcl/webapp</webAppSourceDirectory>
                    <contextPath>/</contextPath>
                    <systemProperties>
                        <systemProperty>
                            <name>org.apache.cocoon.mode</name>
                            <value>dev</value>
                        </systemProperty>
                    </systemProperties>
                </configuration>
            </plugin>
            <!--
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <index>true</index>
                        <manifestEntries>
                            <Cocoon-Block-Name>discovery-xmlui-block</Cocoon-Block-Name>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
            -->
        </plugins>
    </build>

    <!--
       The Subversion repository location is used by Continuum to update
       against when changes have occured, this spawns a new build cycle
       and releases snapshots into the snapshot repository below.
    -->
    <scm>
        <connection>scm:svn:http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.8.0/dspace-discovery/dspace-discovery-xmlui-api</connection>
        <developerConnection>
            scm:svn:https://scm.dspace.org/svn/repo/dspace/tags/dspace-1.8.0/dspace-discovery/dspace-discovery-xmlui-api
        </developerConnection>
        <url>http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.8.0/dspace-discovery/dspace-discovery-xmlui-api</url>
    </scm>
    
</project>
