From: SVN c. m. f. t. SWORD-A. p. <swo...@li...> - 2009-06-13 13:21:02
|
Revision: 202 http://sword-app.svn.sourceforge.net/sword-app/?rev=202&view=rev Author: richard-jones Date: 2009-06-13 13:20:56 +0000 (Sat, 13 Jun 2009) Log Message: ----------- Modified Paths: -------------- dspace/trunk/README.txt dspace/trunk/dspace-sword-api/pom.xml dspace/trunk/dspace-sword-webapp/pom.xml dspace/trunk/pom.xml Modified: dspace/trunk/README.txt =================================================================== --- dspace/trunk/README.txt 2009-06-12 15:44:18 UTC (rev 201) +++ dspace/trunk/README.txt 2009-06-13 13:20:56 UTC (rev 202) @@ -6,6 +6,7 @@ Last Updated: 18-02-2008 SWORD Version: 1.3 DSpace-SWORD Version: 1.3.1 +DSpace Version: 1.5.2 This document describes the DSpace implementation of the SWORD deposit standard. This is an extension to the ATOM Publishing Protocol (APP), which provides a framework to discover deposit targets, and to deposit packaged content into @@ -15,36 +16,46 @@ http://www.swordapp.org/ -Changes -======= +Build and Installation +====================== -Version 1.3.1 -------------- +The DSpace SWORD module requires maven 2 to build. It also depends on the sword-common library, which is not (at time +of writing) available in the central maven repository. Instead it should be obtained from the sword website, and +installed into your local maven repository thus: -Second major version to be compliant with the SWORD 1.3 standard. + mvn install:install-file -DgroupId=sword -Dfile=sword-common-1.1.jar -Dpackaging=jar -DartifactId=sword-common -Dversion=1.1 -- Architectural changes to reflect need to support deposit targets other than collections -- Implementation of hierarchical service documents -- Add support for keeping and retrieving original deposit package -- Add support for depositing files into items -- Move previously hard-coded features out to configuration -- Re-write/re-architecture of authentication and authorisation system to encompass LDAP, and to support authorisations - on items -- Meet request/response requirements of 1.3 specification +Build as part of DSpace main build +---------------------------------- -Version 1.2.1 -------------- +You can then compile the sword module alongside DSpace by placing the "dspace-sword" directory in the parent DSpace +directory, and inserting references to it in the relevant pom.xml files to have it built simultaneously. See the +dspace documentation for how to achieve this. -Initial version to be compliant with the SWORD 1.2 standard. +Independent Build +----------------- -- Support for depositing METS DSpace SIP files into DSpace collections -- Expose all DSpace Collections as ATOM Collections in SWORD Service Documents +The sword module can also be compiled independently of DSpace. In order to do this, you must first edit the +web.xml file supplied in dspace-sword/dspace-sword-webapp/src/main/webapp/WEB-INF to refer to your live DSpace +configuration by replacing ${dspace.dir} with the path to your live DSpace installation. +You can now build the sword web application by running: + + mvn clean package + +in the dspace-sword directory. This will create the appropriate WAR file in the directory: + + [sword]/dspace-sword-webapp/target + +This can now be deployed by placing it in the tomcat webapps directory with the other DSpace web-apps. + Configuration ============= -The configuration supplied in sword.cfg must be included into dspace.cfg for the sword server to behave correctly +- The configuration supplied in sword.cfg must be included into dspace.cfg for the sword server to behave correctly. +- The sword-swap-ingest.xsl file must be placed in the [dspace]/config/crosswalks directory + Testing ======= @@ -65,35 +76,60 @@ Authorised by dspace/dspace: -curl -i http://dspace:dspace@localhost:8080/sword/servicedocument + curl -i http://dspace:dspace@localhost:8080/sword/servicedocument Authorised by dspace/dspace on behalf of admin: -curl -i -H "X-On-Behalf-Of: admin" http://dspace:dspace@localhost:8080/sword/servicedocument + curl -i -H "X-On-Behalf-Of: admin" http://dspace:dspace@localhost:8080/sword/servicedocument Deposits -------- Authorised by dspace/dspace on a Collection: -curl -i --data-binary "@dspace-sword/example/example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" + curl -i --data-binary "@dspace-sword/example/example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" -H "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: false" -H "X-Verbose: true" http://dspace:dspace@localhost:8080/sword/deposit/123456789/2 Authorised by dspace/dspace on behalf of admin on a Collection: -curl -i --data-binary "@dspace-sword/example/example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" + curl -i --data-binary "@dspace-sword/example/example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" -H "X-On-Behalf-Of: admin" -H "Content-Type: application/zip" -H "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: false" -H "X-Verbose: true" http://dspace:dspace@localhost:8080/sword/deposit/123456789/2 Authorised by dspace/dspace on an Item: -curl -i --data-binary "@dspace-sword/example/pdf1.pdf" -H "Content-Disposition: filename=somepdf.pdf" + curl -i --data-binary "@dspace-sword/example/pdf1.pdf" -H "Content-Disposition: filename=somepdf.pdf" -H "Content-Type: application/pdf" -H "X-No-Op: true" -H "X-Verbose: true" http://dspace:dspace@localhost:8080/sword/deposit/123456789/21 +Changes +======= +Version 1.3.1 +------------- + +Second major version to be compliant with the SWORD 1.3 standard. + +- Architectural changes to reflect need to support deposit targets other than collections +- Implementation of hierarchical service documents +- Add support for keeping and retrieving original deposit package +- Add support for depositing files into items +- Move previously hard-coded features out to configuration +- Re-write/re-architecture of authentication and authorisation system to encompass LDAP, and to support authorisations + on items +- Meet request/response requirements of 1.3 specification + +Version 1.2.1 +------------- + +Initial version to be compliant with the SWORD 1.2 standard. + +- Support for depositing METS DSpace SIP files into DSpace collections +- Expose all DSpace Collections as ATOM Collections in SWORD Service Documents + + Implementation Notes ==================== Modified: dspace/trunk/dspace-sword-api/pom.xml =================================================================== --- dspace/trunk/dspace-sword-api/pom.xml 2009-06-12 15:44:18 UTC (rev 201) +++ dspace/trunk/dspace-sword-api/pom.xml 2009-06-13 13:20:56 UTC (rev 202) @@ -1,148 +1,97 @@ <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-sword-api</artifactId> - <packaging>jar</packaging> - <name>DSpace SWORD :: API and Implementation</name> - <description> - DSpace SWORD Deposit Service Provider Web Application - </description> - <url>http://projects.dspace.org/dspace-sword-api</url> + <modelVersion>4.0.0</modelVersion> + <groupId>org.dspace</groupId> + <artifactId>dspace-sword-api</artifactId> + <version>1.3.1</version> + <packaging>jar</packaging> + <name>DSpace SWORD :: API and Implementation</name> + <description> + DSpace SWORD Deposit Service Provider Web Application + </description> + <url>http://projects.dspace.org/dspace-sword-api</url> - <!-- - A Parent POM that Maven inherits DSpace Default - POM atrributes from. - --> - <parent> - <groupId>org.dspace</groupId> - <artifactId>dspace-sword</artifactId> - <version>1.5.2-SNAPSHOT</version> - </parent> + <!-- + A Parent POM that Maven inherits DSpace Default + POM atrributes from. + --> + <parent> + <groupId>org.dspace</groupId> + <artifactId>dspace-sword</artifactId> + <version>1.3.1</version> + </parent> - <repositories> - <repository> - <id>maven.dspace.org/snapshot</id> - <name>DSpace Maven Snapshot Repository</name> - <url>http://maven.dspace.org/snapshot</url> - <releases> - <enabled>false</enabled> - <checksumPolicy>fail</checksumPolicy> - </releases> - <snapshots> - <enabled>true</enabled> - <updatePolicy>never</updatePolicy> - <checksumPolicy>fail</checksumPolicy> - </snapshots> - </repository> - </repositories> + <repositories> + <repository> + <id>maven.dspace.org/snapshot</id> + <name>DSpace Maven Snapshot Repository</name> + <url>http://maven.dspace.org/snapshot</url> + <releases> + <enabled>false</enabled> + <checksumPolicy>fail</checksumPolicy> + </releases> + <snapshots> + <enabled>true</enabled> + <updatePolicy>never</updatePolicy> + <checksumPolicy>fail</checksumPolicy> + </snapshots> + </repository> + </repositories> - <!-- - 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://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-api</connection> - <developerConnection>scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-api</developerConnection> - <url>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-api</url> - </scm> + <!-- + 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://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-api</connection> + <developerConnection>scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-api</developerConnection> + <url>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-api</url> + </scm> - <dependencies> + <dependencies> - <!-- Leave this out for the moment, as the source is in the tree --> - <!-- - <dependency> - <groupId>org.dspace</groupId> - <artifactId>sword-common</artifactId> - <version>1.0.0</version> - </dependency>--> + <!-- The key dependency on the sword common code --> + <dependency> + <groupId>sword</groupId> + <artifactId>sword-common</artifactId> + <version>1.1</version> + </dependency> - <dependency> - <groupId>org.dspace</groupId> - <artifactId>dspace-api</artifactId> - </dependency> + <!-- the dspace dependencies --> + <dependency> + <groupId>org.dspace</groupId> + <artifactId>dspace-api</artifactId> + <version>1.5.2</version> + </dependency> - <dependency> - <groupId>org.dspace</groupId> - <artifactId>dspace-api-lang</artifactId> - </dependency> - - <dependency> - <groupId>xom</groupId> - <artifactId>xom</artifactId> - <version>1.1</version> - </dependency> + <dependency> + <groupId>org.dspace</groupId> + <artifactId>dspace-api-lang</artifactId> + <version>1.5.0.0</version> + </dependency> - <dependency> - <groupId>jaxen</groupId> - <artifactId>jaxen</artifactId> - </dependency> + <!-- the module specific dependencies --> + <dependency> + <groupId>xom</groupId> + <artifactId>xom</artifactId> + <version>1.1</version> + </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - </dependency> + <dependency> + <groupId>jaxen</groupId> + <artifactId>jaxen</artifactId> + <version>1.1</version> + </dependency> - <!-- additional dependencies for the sword-common code --> - <dependency> - <groupId>commons-fileupload</groupId> - <artifactId>commons-fileupload</artifactId> - <version>1.2</version> - </dependency> - <dependency> - <groupId>commons-httpclient</groupId> - <artifactId>commons-httpclient</artifactId> - <version>3.0.1</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>2.4</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.0</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <version>1.2.15</version> - <exclusions> - <exclusion> - <artifactId>jmxtools</artifactId> - <groupId>com.sun.jdmk</groupId> - </exclusion> - <exclusion> - <artifactId>jms</artifactId> - <groupId>javax.jms</groupId> - </exclusion> - <exclusion> - <artifactId>jmxri</artifactId> - <groupId>com.sun.jmx</groupId> - </exclusion> - </exclusions> - </dependency> - <!-- GUI client dependency - <dependency> - <groupId>org.jdesktop</groupId> - <artifactId>swing-worker</artifactId> - <version>1.1</version> - </dependency> - --> - <dependency> - <groupId>xom</groupId> - <artifactId>xom</artifactId> - <version>1.1</version> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>1.3.1</version> - </dependency> + <!-- servlet container dependencies --> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.3</version> + <scope>provided</scope> + </dependency> - </dependencies> + </dependencies> </project> \ No newline at end of file Modified: dspace/trunk/dspace-sword-webapp/pom.xml =================================================================== --- dspace/trunk/dspace-sword-webapp/pom.xml 2009-06-12 15:44:18 UTC (rev 201) +++ dspace/trunk/dspace-sword-webapp/pom.xml 2009-06-13 13:20:56 UTC (rev 202) @@ -1,135 +1,138 @@ <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-sword-webapp</artifactId> - <packaging>war</packaging> - <name>DSpace SWORD :: Web Application Resources</name> - <description>DSpace SWORD Deposit Service Provider Web Application Resources</description> - <url>http://projects.dspace.org/dspace-sword-webapp</url> + <modelVersion>4.0.0</modelVersion> + <groupId>org.dspace</groupId> + <artifactId>dspace-sword-webapp</artifactId> + <version>1.3.1</version> + <packaging>war</packaging> + <name>DSpace SWORD :: Web Application Resources</name> + <description>DSpace SWORD Deposit Service Provider Web Application Resources</description> + <url>http://projects.dspace.org/dspace-sword-webapp</url> - <!-- - A Parent POM that Maven inherits DSpace Default - POM atrributes from. - --> - <parent> - <groupId>org.dspace</groupId> - <artifactId>dspace-sword</artifactId> - <version>1.5.2-SNAPSHOT</version> - </parent> + <!-- + A Parent POM that Maven inherits DSpace Default + POM atrributes from. + --> + <parent> + <groupId>org.dspace</groupId> + <artifactId>dspace-sword</artifactId> + <version>1.3.1</version> + </parent> - <repositories> - <repository> - <id>maven.dspace.org/snapshot</id> - <name>DSpace Maven Snapshot Repository</name> - <url>http://maven.dspace.org/snapshot</url> - <releases> - <enabled>false</enabled> - <checksumPolicy>fail</checksumPolicy> - </releases> - <snapshots> - <enabled>true</enabled> - <updatePolicy>never</updatePolicy> - <checksumPolicy>fail</checksumPolicy> - </snapshots> - </repository> - </repositories> + <repositories> + <repository> + <id>maven.dspace.org/snapshot</id> + <name>DSpace Maven Snapshot Repository</name> + <url>http://maven.dspace.org/snapshot</url> + <releases> + <enabled>false</enabled> + <checksumPolicy>fail</checksumPolicy> + </releases> + <snapshots> + <enabled>true</enabled> + <updatePolicy>never</updatePolicy> + <checksumPolicy>fail</checksumPolicy> + </snapshots> + </repository> + </repositories> - <!-- - 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://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-webapp</connection> - <developerConnection>scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-webapp</developerConnection> - <url>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-webapp</url> - </scm> + <!-- + 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://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-webapp</connection> + <developerConnection>scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-webapp</developerConnection> + <url>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-sword/dspace-sword-webapp</url> + </scm> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> - <configuration> - <archiveClasses>false</archiveClasses> - <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes> - <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> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <archiveClasses>false</archiveClasses> + <!-- Enabling this prevents the build from packaging the jars in the war: <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes> --> + <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> - <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>ojdbc14</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> + <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> + <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>ojdbc14</artifactId> + <version>10.2.0.2.0</version> + </dependency> + </dependencies> + </profile> + <profile> + <id>postgres-support</id> + <activation> + <property> + <name>!db.name</name> + </property> + </activation> + <dependencies> + <dependency> + <groupId>postgresql</groupId> + <artifactId>postgresql</artifactId> + <version>8.1-408.jdbc3</version> + </dependency> + </dependencies> + </profile> + </profiles> - <dependencies> - <dependency> - <groupId>org.dspace</groupId> - <artifactId>dspace-sword-api</artifactId> - <version>1.5.2-SNAPSHOT</version> - </dependency> - </dependencies> + <dependencies> + <dependency> + <groupId>org.dspace</groupId> + <artifactId>dspace-sword-api</artifactId> + <version>1.3.1</version> + </dependency> + </dependencies> </project> \ No newline at end of file Modified: dspace/trunk/pom.xml =================================================================== --- dspace/trunk/pom.xml 2009-06-12 15:44:18 UTC (rev 201) +++ dspace/trunk/pom.xml 2009-06-13 13:20:56 UTC (rev 202) @@ -1,56 +1,112 @@ <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-sword</artifactId> - <packaging>pom</packaging> - <name>DSpace SWORD</name> - <description> - DSpace SWORD Deposit Service Provider Web Application - </description> - <url>http://projects.dspace.org/dspace-sword</url> + <modelVersion>4.0.0</modelVersion> + <groupId>org.dspace</groupId> + <artifactId>dspace-sword</artifactId> + <version>1.3.1</version> + <packaging>pom</packaging> + <name>DSpace SWORD</name> + <description> + DSpace SWORD Deposit Service Provider Web Application + </description> + <url>http://projects.dspace.org/dspace-sword</url> - <!-- - A Parent POM that Maven inherits DSpace Default - POM atrributes from. - --> - <parent> - <groupId>org.dspace</groupId> - <artifactId>dspace-parent</artifactId> - <version>1.5.2-SNAPSHOT</version> - </parent> + <!-- + UNCOMMENT THE <parent> DECLARATION IF BUILDING AS PART OF DSPACE + + A Parent POM that Maven inherits DSpace Default + POM atrributes from. + --> - <repositories> - <repository> - <id>maven.dspace.org/snapshot</id> - <name>DSpace Maven Snapshot Repository</name> - <url>http://maven.dspace.org/snapshot</url> - <releases> - <enabled>false</enabled> - <checksumPolicy>fail</checksumPolicy> - </releases> - <snapshots> - <enabled>true</enabled> - <updatePolicy>never</updatePolicy> - <checksumPolicy>fail</checksumPolicy> - </snapshots> - </repository> - </repositories> + <!-- + <parent> + <groupId>org.dspace</groupId> + <artifactId>dspace-parent</artifactId> + <version>1.5.2</version> + </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://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword</connection> - <developerConnection>scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword</developerConnection> - <url>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-sword</url> - </scm> + <!-- COMMENT OUT THE <BUILD> CONFIGURATION IF BUILDING AS PART OF DSPACE --> + + <build> + <plugins> + <!-- + Java 1.5 is our officially endorsed build target + platform. + --> + <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> + </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> + </plugins> + </build> + <repositories> + <repository> + <id>maven.dspace.org/snapshot</id> + <name>DSpace Maven Snapshot Repository</name> + <url>http://maven.dspace.org/snapshot</url> + <releases> + <enabled>false</enabled> + <checksumPolicy>fail</checksumPolicy> + </releases> + <snapshots> + <enabled>true</enabled> + <updatePolicy>never</updatePolicy> + <checksumPolicy>fail</checksumPolicy> + </snapshots> + </repository> + </repositories> - <modules> - <module>dspace-sword-api</module> - <module>dspace-sword-webapp</module> - </modules> + <!-- + 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://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword</connection> + <developerConnection>scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-sword</developerConnection> + <url>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-sword</url> + </scm> + + <modules> + <module>dspace-sword-api</module> + <module>dspace-sword-webapp</module> + </modules> + </project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |