Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
102 lines (96 sloc) 3.72 KB
<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</artifactId>
<name>DSpace Assembly and Configuration</name>
<packaging>pom</packaging>
<description>
The DSpace Project provides all the functionality required to
build, install and upgrade and dspace instance.
</description>
<!--
A Parent POM that Maven inherits DSpace Default
POM attributes from.
-->
<parent>
<groupId>org.dspace</groupId>
<artifactId>dspace-parent</artifactId>
<version>3.0-rc2-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<!--
Builds Overlay Modules for DSpace
-->
<modules>
<module>modules</module>
</modules>
<build>
<filters>
<filter>${basedir}/../${filters.file}</filter>
</filters>
<resources>
<!-- Enumerate filtered files explicitly to avoid issues with other config tech. -->
<resource>
<directory>${basedir}</directory>
<filtering>true</filtering>
<includes>
<include>config/default.context.xml</include>
<include>config/dspace.cfg</include>
<include>config/log4j-handle-plugin.properties</include>
<include>config/log4j.properties</include>
<include>config/modules/curate.cfg</include>
<include>config/modules/oai.cfg</include>
<include>config/modules/solr-statistics.cfg</include>
</includes>
</resource>
<!-- Declare a mutually exclusive resource set for non-filtered files. -->
<resource>
<directory>${basedir}</directory>
<filtering>false</filtering>
<excludes>
<exclude>config/default.context.xml</exclude>
<exclude>config/dspace.cfg</exclude>
<exclude>config/log4j-handle-plugin.properties</exclude>
<exclude>config/log4j.properties</exclude>
<exclude>config/modules/curate.cfg</exclude>
<exclude>config/modules/oai.cfg</exclude>
<exclude>config/modules/solr-statistics.cfg</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- overall project assembly -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<descriptors>
<descriptor>src/assemble/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>directory-single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Don't know how to add artifacts to dspace lib -->
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-oai</artifactId>
<type>jar</type>
<classifier>classes</classifier>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
</dependency>
</dependencies>
</project>