mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 18:44:22 +00:00
1.) Add in filtering by dspace.config (inherited by all children of the parent pom).
2.) open repostory updates to be once daily. 3.) Add documentation about various configurations. git-svn-id: http://scm.dspace.org/svn/repo/trunk@2166 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -14,8 +14,39 @@
|
|||||||
<url>http://www.dspace.org</url>
|
<url>http://www.dspace.org</url>
|
||||||
</organization>
|
</organization>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<!--
|
||||||
|
This profile is used by all children such that
|
||||||
|
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.
|
||||||
|
|
||||||
|
When activated, the child project will inherit
|
||||||
|
the configuration.
|
||||||
|
-->
|
||||||
|
<profile>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>dspace.config</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<filters>
|
||||||
|
<filter>${dspace.config}</filter>
|
||||||
|
</filters>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<!--
|
||||||
|
Java 1.5 is our officially endorsed build target
|
||||||
|
platform.
|
||||||
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
@@ -32,23 +63,24 @@
|
|||||||
<name>DSpace Maven Repository</name>
|
<name>DSpace Maven Repository</name>
|
||||||
<url>http://maven.dspace.org</url>
|
<url>http://maven.dspace.org</url>
|
||||||
<releases>
|
<releases>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</releases>
|
</releases>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>central</id>
|
<id>central</id>
|
||||||
|
<name>Central Maven Repository</name>
|
||||||
<url>http://repo1.maven.org/maven2</url>
|
<url>http://repo1.maven.org/maven2</url>
|
||||||
<releases>
|
<releases>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</releases>
|
</releases>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
@@ -60,28 +92,28 @@
|
|||||||
<name>DSpace Maven Repository</name>
|
<name>DSpace Maven Repository</name>
|
||||||
<url>http://maven.dspace.org</url>
|
<url>http://maven.dspace.org</url>
|
||||||
<releases>
|
<releases>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</releases>
|
</releases>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>m2-snapshot-repository</id>
|
<id>m2-snapshot-repository</id>
|
||||||
<name>DSpace Maven Repository</name>
|
<name>Apache Maven Repository</name>
|
||||||
<url>
|
<url>
|
||||||
http://people.apache.org/repo/m2-snapshot-repository
|
http://people.apache.org/repo/m2-snapshot-repository
|
||||||
</url>
|
</url>
|
||||||
<releases>
|
<releases>
|
||||||
<enabled>false</enabled>
|
<enabled>true</enabled>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</releases>
|
</releases>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
<checksumPolicy>fail</checksumPolicy>
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
@@ -562,6 +594,11 @@
|
|||||||
</contributor>
|
</contributor>
|
||||||
</contributors>
|
</contributors>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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>
|
<scm>
|
||||||
<connection>
|
<connection>
|
||||||
scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/trunk/dspace-pom
|
scm:svn:https://dspace.svn.sourceforge.net/svnroot/dspace/trunk/dspace-pom
|
||||||
@@ -572,6 +609,12 @@
|
|||||||
<url>http://dspace.svn.sourceforge.net/viewvc/dspace/trunk/dspace-pom</url>
|
<url>http://dspace.svn.sourceforge.net/viewvc/dspace/trunk/dspace-pom</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Distribution Management is currently used by the Continuum server
|
||||||
|
to update snapshots it generates. This will also be used on
|
||||||
|
release to deploy release versions to the repository by the
|
||||||
|
release manager.
|
||||||
|
-->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>maven.dspace.org</id>
|
<id>maven.dspace.org</id>
|
||||||
|
Reference in New Issue
Block a user