[DS-1005] Add the dspace-swordv2 module

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6609 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Robin Taylor
2011-08-26 09:45:39 +00:00
parent 2e9f01fc1a
commit 6c1607d8e3
5 changed files with 190 additions and 4 deletions

View File

@@ -36,13 +36,10 @@
<scope>provided</scope>
</dependency>
<!--
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-sword-client-api</artifactId>
<version>1.8.0-SNAPSHOT</version>
</dependency>
-->
</dependencies>

View File

@@ -31,7 +31,6 @@
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-sword-client-xmlui-api</artifactId>
<version>1.8.0-SNAPSHOT</version>
</dependency>
<!-- external -->

View File

@@ -77,6 +77,15 @@
<module>sword</module>
</modules>
</profile>
<profile>
<id>dspace-swordv2</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>swordv2</module>
</modules>
</profile>
<profile>
<id>dspace-solr</id>
<activation>

View File

@@ -0,0 +1,137 @@
<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.modules</groupId>
<artifactId>swordv2</artifactId>
<packaging>war</packaging>
<name>DSpace SWORDv2 :: Web Application</name>
<description>
DSpace SWORDv2 Deposit Service Provider Web Application
</description>
<url>http://swordapp.org/</url>
<!--
A Parent POM that Maven inherits DSpace Default
POM atrributes from.
-->
<parent>
<groupId>org.dspace</groupId>
<artifactId>modules</artifactId>
<version>1.8.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<!--
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/trunk/dspace/modules/swordv2</connection>
<developerConnection>scm:svn:https://scm.dspace.org/svn/repo/dspace/trunk/dspace/modules/swordv2</developerConnection>
<url>http://scm.dspace.org/svn/repo/dspace/trunk/dspace/modules/swordv2</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archiveClasses>false</archiveClasses>
<webResources>
<resource>
<filtering>true</filtering>
<directory>${basedir}/src/main/webapp</directory>
<includes>
<include>WEB-INF/web.xml</include>
</includes>
</resource>
</webResources>
</configuration>
<executions>
<execution>
<phase>prepare-package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!--
when activated a dspace.config configuration
file location passed on the commandline
(-Ddspace.config=...) can be passed through
to be used as a filter source by projects for
tasks such as updating the ${dspace.dir} in
web.xml etc.
-->
<profile>
<id>dspace-config</id>
<activation>
<property>
<name>dspace.config</name>
</property>
</activation>
<build>
<filters>
<filter>${dspace.config}</filter>
</filters>
</build>
</profile>
<profile>
<id>oracle-support</id>
<activation>
<property>
<name>db.name</name>
<value>oracle</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>postgres-support</id>
<activation>
<property>
<name>!db.name</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-swordv2-webapp</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-swordv2-api</artifactId>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-discovery-provider</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

44
pom.xml
View File

@@ -160,6 +160,19 @@
</modules>
</profile>
<!--
Builds SWORDv2 WAR for DSpace
-->
<profile>
<id>dspace-swordv2</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>dspace-swordv2</module>
</modules>
</profile>
<!--
Builds DSpace Sword Client from local source if present
-->
@@ -218,6 +231,7 @@
<module>dspace-lni</module>
<module>dspace-oai</module>
<module>dspace-sword</module>
<module>dspace-swordv2</module>
<module>dspace-sword-client</module>
</modules>
</profile>
@@ -305,6 +319,36 @@
<version>1.8.0-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-swordv2-api</artifactId>
<version>1.8.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-swordv2-webapp</artifactId>
<version>1.8.0-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-sword-client-api</artifactId>
<version>1.8.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-sword-client-xmlui-api</artifactId>
<version>1.8.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-sword-client-xmlui-webapp</artifactId>
<version>1.8.0-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-jspui-api</artifactId>