mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 06:53:09 +00:00
DS-2066 : Maven plugin updates and general POM cleanup
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>2.3</version>
|
<version>2.8</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>setupTestEnvironment</id>
|
<id>setupTestEnvironment</id>
|
||||||
@@ -97,8 +97,8 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
<groupId>com.mycila</groupId>
|
||||||
<artifactId>maven-license-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/src/test/resources/**</exclude>
|
<exclude>**/src/test/resources/**</exclude>
|
||||||
@@ -120,8 +120,8 @@
|
|||||||
-->
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.gmaven</groupId>
|
<groupId>org.codehaus.gmaven</groupId>
|
||||||
<artifactId>gmaven-plugin</artifactId>
|
<artifactId>groovy-maven-plugin</artifactId>
|
||||||
<version>1.4</version>
|
<version>2.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>setproperty</id>
|
<id>setproperty</id>
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>
|
<source>
|
||||||
pom.properties['agnostic.build.dir']=project.build.directory.replace('\\','/');
|
project.properties['agnostic.build.dir']=project.build.directory.replace(File.separator,'/');
|
||||||
println("Initializing Maven property 'agnostic.build.dir' to: " + project.properties['agnostic.build.dir']);
|
println("Initializing Maven property 'agnostic.build.dir' to: " + project.properties['agnostic.build.dir']);
|
||||||
</source>
|
</source>
|
||||||
</configuration>
|
</configuration>
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
<version>1.7</version>
|
<version>1.9</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
@@ -225,7 +225,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||||
<version>1.2</version>
|
<version>1.3</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
|
@@ -53,8 +53,8 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
<groupId>com.mycila</groupId>
|
||||||
<artifactId>maven-license-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--Exclude license check for JSPUI files which don't need it-->
|
<!--Exclude license check for JSPUI files which don't need it-->
|
||||||
<excludes>
|
<excludes>
|
||||||
@@ -65,6 +65,7 @@
|
|||||||
<exclude>**/scriptaculous/**</exclude>
|
<exclude>**/scriptaculous/**</exclude>
|
||||||
<exclude>**/jquery*</exclude>
|
<exclude>**/jquery*</exclude>
|
||||||
<exclude>**/bootstrap/**</exclude>
|
<exclude>**/bootstrap/**</exclude>
|
||||||
|
<exclude>**/fonts/**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@@ -3,8 +3,8 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>dspace-oai</artifactId>
|
<artifactId>dspace-oai</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<name>DSpace OAI 2.0</name>
|
<name>DSpace OAI-PMH</name>
|
||||||
<description>Parent project for the OAI API and Webapp</description>
|
<description>DSpace OAI-PMH Web Application and API</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>dspace-parent</artifactId>
|
<artifactId>dspace-parent</artifactId>
|
||||||
@@ -52,8 +52,8 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
<groupId>com.mycila</groupId>
|
||||||
<artifactId>maven-license-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>src/main/webapp/**</exclude>
|
<exclude>src/main/webapp/**</exclude>
|
||||||
|
@@ -4,7 +4,8 @@
|
|||||||
<artifactId>dspace-rest</artifactId>
|
<artifactId>dspace-rest</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<version>5.0-SNAPSHOT</version>
|
<version>5.0-SNAPSHOT</version>
|
||||||
<name>DSpace RESTful web services API</name>
|
<name>DSpace REST :: API and Implementation</name>
|
||||||
|
<description>DSpace RESTful Web Services API</description>
|
||||||
<url>http://demo.dspace.org</url>
|
<url>http://demo.dspace.org</url>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
@@ -38,8 +39,6 @@
|
|||||||
<version>1.17.1</version>
|
<version>1.17.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Spring 3 dependencies -->
|
<!-- Spring 3 dependencies -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
@@ -56,7 +55,6 @@
|
|||||||
<artifactId>spring-web</artifactId>
|
<artifactId>spring-web</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- Jersey + Spring -->
|
<!-- Jersey + Spring -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.jersey.contribs</groupId>
|
<groupId>com.sun.jersey.contribs</groupId>
|
||||||
@@ -90,7 +88,6 @@
|
|||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- Use DSpace, for now, an older version to minimize spring generated dependency on Discovery -->
|
<!-- Use DSpace, for now, an older version to minimize spring generated dependency on Discovery -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.dspace</groupId>
|
<groupId>org.dspace</groupId>
|
||||||
|
@@ -47,7 +47,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
<version>2.4</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- This 'dspace-solr' WAR overlays the Apache Solr Web Application
|
<!-- This 'dspace-solr' WAR overlays the Apache Solr Web Application
|
||||||
available in Maven Central -->
|
available in Maven Central -->
|
||||||
|
@@ -51,8 +51,8 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
<groupId>com.mycila</groupId>
|
||||||
<artifactId>maven-license-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--Exclude license check for XMLUI files which don't need it-->
|
<!--Exclude license check for XMLUI files which don't need it-->
|
||||||
<excludes>
|
<excludes>
|
||||||
|
@@ -3,10 +3,10 @@
|
|||||||
<groupId>org.dspace.modules</groupId>
|
<groupId>org.dspace.modules</groupId>
|
||||||
<artifactId>oai</artifactId>
|
<artifactId>oai</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<name>DSpace OAI 2.0 :: Local Customizations</name>
|
<name>DSpace OAI-PMH :: Local Customizations</name>
|
||||||
<description>
|
<description>
|
||||||
This project allows you to overlay your own local OAI customizations
|
This project allows you to overlay your own local OAI customizations
|
||||||
on top of the default OAI 2.0 web application provided with DSpace.
|
on top of the default OAI-PMH web application provided with DSpace.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
@@ -3,9 +3,10 @@
|
|||||||
<groupId>org.dspace.modules</groupId>
|
<groupId>org.dspace.modules</groupId>
|
||||||
<artifactId>rest</artifactId>
|
<artifactId>rest</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<name>DSpace REST (JAX RS 1 - Jersey) :: Local Customizations</name>
|
<name>DSpace REST :: Local Customizations</name>
|
||||||
<description>
|
<description>
|
||||||
Overlay REST customizations
|
This project allows you to overlay your own local REST customizations
|
||||||
|
on top of the default REST API provided with DSpace.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
46
pom.xml
46
pom.xml
@@ -20,7 +20,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.sonatype.oss</groupId>
|
<groupId>org.sonatype.oss</groupId>
|
||||||
<artifactId>oss-parent</artifactId>
|
<artifactId>oss-parent</artifactId>
|
||||||
<version>7</version>
|
<version>9</version>
|
||||||
<relativePath />
|
<relativePath />
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>2.3.2</version>
|
<version>3.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${java.version}</source>
|
<source>${java.version}</source>
|
||||||
<target>${java.version}</target>
|
<target>${java.version}</target>
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>2.3.2</version>
|
<version>2.5</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<archive>
|
<archive>
|
||||||
<manifest>
|
<manifest>
|
||||||
@@ -68,11 +68,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
<!-- We'd rather this be an open-ended range of versions.
|
<version>2.4</version>
|
||||||
But, because of a Maven bug, we must force a specific version:
|
|
||||||
http://jira.codehaus.org/browse/MNG-2742
|
|
||||||
Once the bug is fixed, we should put open-ended range in dspace-pom -->
|
|
||||||
<version>2.1.1</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||||
<archive>
|
<archive>
|
||||||
@@ -86,7 +82,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>2.17</version>
|
||||||
<!-- tests whose name starts by Abstract will be ignored -->
|
<!-- tests whose name starts by Abstract will be ignored -->
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludes>
|
<excludes>
|
||||||
@@ -100,12 +96,12 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<version>2.2.1</version>
|
<version>2.4</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
<groupId>com.mycila</groupId>
|
||||||
<artifactId>maven-license-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<version>1.9.0</version>
|
<version>2.6</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
@@ -147,7 +143,7 @@
|
|||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>2.3.2</version>
|
<version>2.5</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- During release:perform, enable the "release" profile (see below) -->
|
<!-- During release:perform, enable the "release" profile (see below) -->
|
||||||
<releaseProfiles>release</releaseProfiles>
|
<releaseProfiles>release</releaseProfiles>
|
||||||
@@ -159,8 +155,8 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
<groupId>com.mycila</groupId>
|
||||||
<artifactId>maven-license-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- License header file (can be a URL, but that's less stable if external site is down on occasion) -->
|
<!-- License header file (can be a URL, but that's less stable if external site is down on occasion) -->
|
||||||
<header>${root.basedir}/LICENSE_HEADER</header>
|
<header>${root.basedir}/LICENSE_HEADER</header>
|
||||||
@@ -1075,10 +1071,10 @@
|
|||||||
<mailingList>
|
<mailingList>
|
||||||
<name>DSpace Technical Users List</name>
|
<name>DSpace Technical Users List</name>
|
||||||
<subscribe>
|
<subscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-tech
|
http://lists.sourceforge.net/lists/listinfo/dspace-tech
|
||||||
</subscribe>
|
</subscribe>
|
||||||
<unsubscribe>
|
<unsubscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-tech
|
http://lists.sourceforge.net/lists/listinfo/dspace-tech
|
||||||
</unsubscribe>
|
</unsubscribe>
|
||||||
<post>dspace-tech AT lists.sourceforge.net</post>
|
<post>dspace-tech AT lists.sourceforge.net</post>
|
||||||
<archive>
|
<archive>
|
||||||
@@ -1088,10 +1084,10 @@
|
|||||||
<mailingList>
|
<mailingList>
|
||||||
<name>DSpace Developers List</name>
|
<name>DSpace Developers List</name>
|
||||||
<subscribe>
|
<subscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-devel
|
http://lists.sourceforge.net/lists/listinfo/dspace-devel
|
||||||
</subscribe>
|
</subscribe>
|
||||||
<unsubscribe>
|
<unsubscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-devel
|
http://lists.sourceforge.net/lists/listinfo/dspace-devel
|
||||||
</unsubscribe>
|
</unsubscribe>
|
||||||
<post>dspace-devel AT lists.sourceforge.net</post>
|
<post>dspace-devel AT lists.sourceforge.net</post>
|
||||||
<archive>
|
<archive>
|
||||||
@@ -1101,10 +1097,10 @@
|
|||||||
<mailingList>
|
<mailingList>
|
||||||
<name>DSpace General Issues List</name>
|
<name>DSpace General Issues List</name>
|
||||||
<subscribe>
|
<subscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-general
|
http://lists.sourceforge.net/lists/listinfo/dspace-general
|
||||||
</subscribe>
|
</subscribe>
|
||||||
<unsubscribe>
|
<unsubscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-general
|
http://lists.sourceforge.net/lists/listinfo/dspace-general
|
||||||
</unsubscribe>
|
</unsubscribe>
|
||||||
<post>dspace-general AT lists.sourceforge.net</post>
|
<post>dspace-general AT lists.sourceforge.net</post>
|
||||||
<archive>
|
<archive>
|
||||||
@@ -1114,10 +1110,10 @@
|
|||||||
<mailingList>
|
<mailingList>
|
||||||
<name>DSpace SCM Commit Change-Log</name>
|
<name>DSpace SCM Commit Change-Log</name>
|
||||||
<subscribe>
|
<subscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-changelog
|
http://lists.sourceforge.net/lists/listinfo/dspace-changelog
|
||||||
</subscribe>
|
</subscribe>
|
||||||
<unsubscribe>
|
<unsubscribe>
|
||||||
http://lists.sourceforge.net/mailman/listinfo/dspace-changelog
|
http://lists.sourceforge.net/lists/listinfo/dspace-changelog
|
||||||
</unsubscribe>
|
</unsubscribe>
|
||||||
<post>noreply AT lists.sourceforge.net</post>
|
<post>noreply AT lists.sourceforge.net</post>
|
||||||
<archive>
|
<archive>
|
||||||
@@ -1328,7 +1324,7 @@
|
|||||||
</contributors>
|
</contributors>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The Subversion repository location is used by Continuum to update against
|
The SCM repository location is used by Continuum to update against
|
||||||
when changes have occurred. This spawns a new build cycle and releases
|
when changes have occurred. This spawns a new build cycle and releases
|
||||||
snapshots into the snapshot repository below.
|
snapshots into the snapshot repository below.
|
||||||
-->
|
-->
|
||||||
|
Reference in New Issue
Block a user