<?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>
    <groupId>org.dspace</groupId>
    <artifactId>dspace-pom</artifactId>
    <packaging>pom</packaging>
    <name>DSpace Common POM</name>
    <url>http://projects.dspace.org/dspace-pom</url>
    <organization>
        <name>The DSpace Foundation</name>
        <url>http://www.dspace.org</url>
    </organization>
    <version>1</version>

    <build>
        <plugins>
            <!-- java 1.5 or higher -->
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                    </archive>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
            </plugin>
            <!-- unit testing -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <!--
                    By default, the surefire plugin will automatically
                    include all test classes with the following wildcard
                    patterns: "**/Test*.java" - includes all of its
                    subdirectory and all java filenames that start with
                    "Test". "**/*Test.java" - includes all of its
                    subdirectory and all java filenames that end with
                    "Test". "**/*TestCase.java" - includes all of its
                    subdirectory and all java filenames that end with
                    "TestCase".
                -->
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <configuration>
                    <outputEncoding>UTF-8</outputEncoding>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>dspace-snapshot</id>
            <name>DSpace Snapshot Repository</name>
            <url>http://maven.dspace.org/snapshot</url>
            <releases>
                <enabled>false</enabled>
                <checksumPolicy>fail</checksumPolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>daily</updatePolicy>
                <checksumPolicy>fail</checksumPolicy>
            </snapshots>
        </repository>
    </repositories>

    <licenses>
        <license>
            <name>DSpace Sourcecode License</name>
            <url>LICENSE.txt</url>
            <distribution>repo</distribution>
            <comments> A BSD compatable OSS license for the DSpace codebase.</comments>
        </license>
    </licenses>

    <issueManagement>
        <system>Sourceforge Issue Tracking</system>
        <url>http://jira.dspace.org
        </url>
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>DSpace Technical Users List</name>
            <subscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-tech
            </subscribe>
            <unsubscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-tech
            </unsubscribe>
            <post>dspace-tech AT lists.sourceforge.net</post>
            <archive> http://sourceforge.net/mailarchive/forum.php?forum_name=dspace-tech
            </archive>
        </mailingList>
        <mailingList>
            <name>DSpace Developers List</name>
            <subscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-devel
            </subscribe>
            <unsubscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-devel
            </unsubscribe>
            <post>dspace-devel AT lists.sourceforge.net</post>
            <archive> http://sourceforge.net/mailarchive/forum.php?forum_name=dspace-devel
            </archive>
        </mailingList>
        <mailingList>
            <name>DSpace Manakin List</name>
            <subscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-manakin
            </subscribe>
            <unsubscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-manakin
            </unsubscribe>
            <post>dspace-manakin AT lists.sourceforge.net</post>
            <archive>
                http://sourceforge.net/mailarchive/forum.php?forum_name=dspace-manakin
            </archive>
        </mailingList>
        <mailingList>
            <name>DSpace SCM Commit Change-Log</name>
            <subscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-changelog
            </subscribe>
            <unsubscribe> http://lists.sourceforge.net/mailman/listinfo/dspace-changelog
            </unsubscribe>
            <post>noreply AT lists.sourceforge.net</post>
            <archive>
                http://sourceforge.net/mailarchive/forum.php?forum_name=dspace-changelog
            </archive>
        </mailingList>
    </mailingLists>

    <!--
        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/modules/dspace-pom/tags/dspace-pom-1</connection>
        <developerConnection>scm:svn:https://scm.dspace.org/svn/repo/modules/dspace-pom/tags/dspace-pom-1</developerConnection>
        <url>http://scm.dspace.org/svn/repo/modules/dspace-pom/tags/dspace-pom-1</url>
    </scm>
    <!--
        Distribution Management is currently used by the Continuum
        server to update snapshots it generates. This will also be used
        on release to deploy release versions to the repository by the
        release manager.
    -->
    <distributionManagement>
        <repository>
            <id>maven.dspace.org/release</id>
            <name>DSpace Maven Repository</name>
            <url>scp://maven.dspace.org/var/maven/release
            </url>
        </repository>
        <snapshotRepository>
            <id>maven.dspace.org/snapshot</id>
            <name>DSpace Maven Repository</name>
            <url>scp://maven.dspace.org/var/maven/snapshot
            </url>
            <uniqueVersion>false</uniqueVersion>
        </snapshotRepository>
        <site>
            <id>website</id>
            <url>scp://projects.dspace.org/var/www/projects.dspace.org/htdocs/dspace-pom</url>
        </site>
    </distributionManagement>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <aggregate>true</aggregate>
                    <links>
                        <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
                        <link>http://java.sun.com/products/servlet/2.4/javadoc/</link>
                        <link>http://junit.sourceforge.net/javadoc/</link>
                    </links>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jxr-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jdepend-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>taglist-maven-plugin</artifactId>
                <configuration>
                    <tags>
                        <tag>TODO</tag>
                        <tag>FIXME</tag>
                        <tag>@deprecated</tag>
                    </tags>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>

</project>
