mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +00:00
DS-2066 : Maven plugin updates and general POM cleanup
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<version>2.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>setupTestEnvironment</id>
|
||||
@@ -97,8 +97,8 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||
<artifactId>maven-license-plugin</artifactId>
|
||||
<groupId>com.mycila</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/src/test/resources/**</exclude>
|
||||
@@ -120,8 +120,8 @@
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.gmaven</groupId>
|
||||
<artifactId>gmaven-plugin</artifactId>
|
||||
<version>1.4</version>
|
||||
<artifactId>groovy-maven-plugin</artifactId>
|
||||
<version>2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>setproperty</id>
|
||||
@@ -131,7 +131,7 @@
|
||||
</goals>
|
||||
<configuration>
|
||||
<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']);
|
||||
</source>
|
||||
</configuration>
|
||||
@@ -211,7 +211,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<version>1.9</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
@@ -225,7 +225,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<version>1.2</version>
|
||||
<version>1.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
|
@@ -53,8 +53,8 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||
<artifactId>maven-license-plugin</artifactId>
|
||||
<groupId>com.mycila</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<!--Exclude license check for JSPUI files which don't need it-->
|
||||
<excludes>
|
||||
@@ -65,6 +65,7 @@
|
||||
<exclude>**/scriptaculous/**</exclude>
|
||||
<exclude>**/jquery*</exclude>
|
||||
<exclude>**/bootstrap/**</exclude>
|
||||
<exclude>**/fonts/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
@@ -3,8 +3,8 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>dspace-oai</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<name>DSpace OAI 2.0</name>
|
||||
<description>Parent project for the OAI API and Webapp</description>
|
||||
<name>DSpace OAI-PMH</name>
|
||||
<description>DSpace OAI-PMH Web Application and API</description>
|
||||
|
||||
<parent>
|
||||
<artifactId>dspace-parent</artifactId>
|
||||
@@ -52,8 +52,8 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||
<artifactId>maven-license-plugin</artifactId>
|
||||
<groupId>com.mycila</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>src/main/webapp/**</exclude>
|
||||
|
@@ -4,7 +4,8 @@
|
||||
<artifactId>dspace-rest</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<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>
|
||||
|
||||
<parent>
|
||||
@@ -38,8 +39,6 @@
|
||||
<version>1.17.1</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
<!-- Spring 3 dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
@@ -56,7 +55,6 @@
|
||||
<artifactId>spring-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Jersey + Spring -->
|
||||
<dependency>
|
||||
<groupId>com.sun.jersey.contribs</groupId>
|
||||
@@ -90,7 +88,6 @@
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Use DSpace, for now, an older version to minimize spring generated dependency on Discovery -->
|
||||
<dependency>
|
||||
<groupId>org.dspace</groupId>
|
||||
|
@@ -47,7 +47,6 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<!-- This 'dspace-solr' WAR overlays the Apache Solr Web Application
|
||||
available in Maven Central -->
|
||||
|
@@ -51,8 +51,8 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||
<artifactId>maven-license-plugin</artifactId>
|
||||
<groupId>com.mycila</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<!--Exclude license check for XMLUI files which don't need it-->
|
||||
<excludes>
|
||||
|
@@ -3,10 +3,10 @@
|
||||
<groupId>org.dspace.modules</groupId>
|
||||
<artifactId>oai</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<name>DSpace OAI 2.0 :: Local Customizations</name>
|
||||
<name>DSpace OAI-PMH :: Local Customizations</name>
|
||||
<description>
|
||||
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>
|
||||
|
||||
<parent>
|
||||
|
@@ -3,9 +3,10 @@
|
||||
<groupId>org.dspace.modules</groupId>
|
||||
<artifactId>rest</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<name>DSpace REST (JAX RS 1 - Jersey) :: Local Customizations</name>
|
||||
<name>DSpace REST :: Local Customizations</name>
|
||||
<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>
|
||||
|
||||
<parent>
|
||||
|
46
pom.xml
46
pom.xml
@@ -20,7 +20,7 @@
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>7</version>
|
||||
<version>9</version>
|
||||
<relativePath />
|
||||
</parent>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.3.2</version>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
@@ -55,7 +55,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.3.2</version>
|
||||
<version>2.5</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
@@ -68,11 +68,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<!-- We'd rather this be an open-ended range of versions.
|
||||
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>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||
<archive>
|
||||
@@ -86,7 +82,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<version>2.17</version>
|
||||
<!-- tests whose name starts by Abstract will be ignored -->
|
||||
<configuration>
|
||||
<excludes>
|
||||
@@ -100,12 +96,12 @@
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<version>2.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||
<artifactId>maven-license-plugin</artifactId>
|
||||
<version>1.9.0</version>
|
||||
<groupId>com.mycila</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
@@ -147,7 +143,7 @@
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.3.2</version>
|
||||
<version>2.5</version>
|
||||
<configuration>
|
||||
<!-- During release:perform, enable the "release" profile (see below) -->
|
||||
<releaseProfiles>release</releaseProfiles>
|
||||
@@ -159,8 +155,8 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||
<artifactId>maven-license-plugin</artifactId>
|
||||
<groupId>com.mycila</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<!-- 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>
|
||||
@@ -1075,10 +1071,10 @@
|
||||
<mailingList>
|
||||
<name>DSpace Technical Users List</name>
|
||||
<subscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-tech
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-tech
|
||||
</subscribe>
|
||||
<unsubscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-tech
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-tech
|
||||
</unsubscribe>
|
||||
<post>dspace-tech AT lists.sourceforge.net</post>
|
||||
<archive>
|
||||
@@ -1088,10 +1084,10 @@
|
||||
<mailingList>
|
||||
<name>DSpace Developers List</name>
|
||||
<subscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-devel
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-devel
|
||||
</subscribe>
|
||||
<unsubscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-devel
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-devel
|
||||
</unsubscribe>
|
||||
<post>dspace-devel AT lists.sourceforge.net</post>
|
||||
<archive>
|
||||
@@ -1101,10 +1097,10 @@
|
||||
<mailingList>
|
||||
<name>DSpace General Issues List</name>
|
||||
<subscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-general
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-general
|
||||
</subscribe>
|
||||
<unsubscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-general
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-general
|
||||
</unsubscribe>
|
||||
<post>dspace-general AT lists.sourceforge.net</post>
|
||||
<archive>
|
||||
@@ -1114,10 +1110,10 @@
|
||||
<mailingList>
|
||||
<name>DSpace SCM Commit Change-Log</name>
|
||||
<subscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-changelog
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-changelog
|
||||
</subscribe>
|
||||
<unsubscribe>
|
||||
http://lists.sourceforge.net/mailman/listinfo/dspace-changelog
|
||||
http://lists.sourceforge.net/lists/listinfo/dspace-changelog
|
||||
</unsubscribe>
|
||||
<post>noreply AT lists.sourceforge.net</post>
|
||||
<archive>
|
||||
@@ -1328,7 +1324,7 @@
|
||||
</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
|
||||
snapshots into the snapshot repository below.
|
||||
-->
|
||||
|
Reference in New Issue
Block a user