This repository has been archived by the owner on Oct 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
101 lines (96 loc) · 3.46 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<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.dependencies</groupId>
<artifactId>dspace-geoip</artifactId>
<name>DSpace Maxmind GeoIP Dependency</name>
<version>1.2.4-SNAPSHOT</version>
<description>GeoIP Artifact Builder for deployment to Maven repository.</description>
<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>daily</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://scm.dspace.org/svn/repo/modules/dspace-geoip/trunk</connection>
<developerConnection>scm:svn:https://scm.dspace.org/svn/repo/modules/dspace-geoip/trunk</developerConnection>
<url>http://scm.dspace.org/svn/repo/modules/dspace-geoip/trunk</url>
</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>
<repository>
<id>maven.dspace.org/release</id>
<name>DSpace Maven Repository</name>
<url>scp://maven.dspace.org/var/maven/release</url>
</repository>
<snapshotRepository>
<id>maven.dspace.org-snapshot</id>
<name>DSpace Maven Repository</name>
<url>scp://maven.dspace.org/var/maven/snapshot</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
<site>
<id>website</id>
<url>
scp://projects.dspace.org/var/www/projects.dspace.org/htdocs/${artifactId}
</url>
</site>
</distributionManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<cvs cvsRoot=":pserver:annonymous@geoip.cvs.sourceforge.net:/cvsroot/geoip" package="java" dest="target/cvs" />
<mkdir dir="src/main/java" />
<copy todir="src/main/java">
<fileset dir="target/cvs/java/source/" />
</copy>
<copy todir="src/main/java">
<fileset dir="target/cvs/java">
<include name="*.java" />
</fileset>
</copy>
<mkdir dir="src/main/resources/META-INF" />
<copy todir="src/main/resources/META-INF">
<fileset dir="target/cvs/java">
<include name="LICENSE" />
<include name="README" />
<include name="Changes" />
</fileset>
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>