This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
111 lines (97 loc) · 3.15 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
102
103
104
105
106
107
108
109
110
111
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>scot.mygov</groupId>
<artifactId>mygov-parent</artifactId>
<version>4</version>
</parent>
<groupId>scot.mygov.os</groupId>
<artifactId>os-codepoint</artifactId>
<version>2020.11-SNAPSHOT</version>
<name>Ordnance Survey - Code Point</name>
<licenses>
<license>
<name>Ordnance Survey Data Licence</name>
<url>www.ordnancesurvey.co.uk/opendata/licence</url>
<comments>Crown copyright and database right 2020. Royal Mail copyright and database right 2020.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:ssh://git@stash.digital.gov.uk:7999/mgv/os-codepoint.git</connection>
<url>http://stash.digital.gov.uk/projects/MGV/repos/os-codepoint/</url>
<tag>HEAD</tag>
</scm>
<properties>
<install.dir>/opt/os/codepoint</install.dir>
</properties>
<build>
<resources>
<resource>
<directory>Data</directory>
<targetPath>codepoint/Data</targetPath>
</resource>
<resource>
<directory>Doc</directory>
<targetPath>codepoint/Doc</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>regex-property</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>deb.version</name>
<value>${project.version}</value>
<regex>-SNAPSHOT</regex>
<replacement>~SNAPSHOT</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>jdeb</artifactId>
<groupId>org.vafer</groupId>
<extensions>true</extensions>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jdeb</goal>
</goals>
<configuration>
<verbose>true</verbose>
<dataSet>
<data>
<src>target/os-codepoint-${project.version}.jar</src>
<dst>codepoint.jar</dst>
<type>file</type>
<mapper>
<type>perm</type>
<prefix>${install.dir}</prefix>
</mapper>
</data>
<data>
<src>LICENSE.md</src>
<type>file</type>
<mapper>
<type>perm</type>
<prefix>${install.dir}</prefix>
</mapper>
</data>
</dataSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>