-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
189 lines (182 loc) · 8.43 KB
/
Copy pathpom.xml
File metadata and controls
189 lines (182 loc) · 8.43 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?xml version="1.0" encoding="UTF-8"?>
<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>uk.pallas.systems</groupId>
<artifactId>parent</artifactId>
<version>1.2.1</version>
</parent>
<groupId>uk.pallas.systems.typr</groupId>
<artifactId>parent</artifactId>
<version>0.1.5-SNAPSHOT</version>
<packaging>pom</packaging>
<url>https://pallassystems.github.io/typr/</url>
<name>Typr</name>
<description>Typr is a simple webservice, its goal is simply to hold information about different fields types, Post Code (UK), Latitude (Decimal Degrees), Mobile Country Code, etc.. The goal is to hold a description for each field, validation information for the field and ideally some logic for translation. One of the key things is a "categories" which can be assigned to a type, this is so I can say something is a good 'edge' or this is 'geo' (comes in handy for downstream processing).</description>
<modules>
<module>core</module>
<module>countries</module>
<module>hibernate</module>
<module>runnable</module>
<module>rest</module>
<module>units</module>
</modules>
<scm>
<connection>scm:git:https://github.com/PallasSystems/typr.git</connection>
<developerConnection>scm:git:https://github.com/PallasSystems/typr.git</developerConnection>
<url>https://github.com/PallasSystems/typr</url>
<tag>HEAD</tag>
</scm>
<properties>
<github_repository_name>typr</github_repository_name>
<scmpublish.content>${project.build.directory}/staging/parent</scmpublish.content>
<!-- Compiler Options. -->
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<!-- Plugin dependencies. -->
<org.springdoc.maven.plugin.version>1.4</org.springdoc.maven.plugin.version>
<com.github.therapi.version>0.15.0</com.github.therapi.version>
<docker-maven-plugin.version>0.45.1</docker-maven-plugin.version>
<!-- Dependencies. -->
<org.springframework.boot.version>3.4.1</org.springframework.boot.version>
<org.springdoc.version>2.8.5</org.springdoc.version>
<com.neovisionaries.version>1.29</com.neovisionaries.version>
<si.uom.version>2.2</si.uom.version>
<javax.measure.version>2.2</javax.measure.version>
<javax.servlet.version>4.0.1</javax.servlet.version>
<!-- Database dependencies. -->
<org.postgresql.version>42.7.5</org.postgresql.version>
<org.hsqldb.version>2.7.4</org.hsqldb.version>
<!-- Test Dependencies. -->
<org.mockito.version>5.15.2</org.mockito.version>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-maven-plugin</artifactId>
<version>${org.springdoc.maven.plugin.version}</version>
<configuration>
<attachArtifact>true</attachArtifact>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${org.springframework.boot.version}</version>
<configuration>
<jvmArguments>-Dspring.application.admin.enabled=true</jvmArguments>
<imageName>ghcr.io/${github_organisation}/${github_repository_name}:${project.version}</imageName>
</configuration>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker-maven-plugin.version}</version>
<executions>
<execution>
<id>build-docker-image</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
<execution>
<id>deploy-docker-image</id>
<phase>deploy</phase>
<goals>
<goal>push</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<!-- Import dependency management from Spring Boot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${org.springframework.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Country Service related Dependencies. -->
<dependency>
<groupId>com.neovisionaries</groupId>
<artifactId>nv-i18n</artifactId>
<version>${com.neovisionaries.version}</version>
</dependency>
<!-- Units Service related Dependencies. -->
<dependency>
<groupId>si.uom</groupId>
<artifactId>si-units</artifactId>
<version>${si.uom.version}</version>
</dependency>
<dependency>
<groupId>javax.measure</groupId>
<artifactId>unit-api</artifactId>
<version>${javax.measure.version}</version>
</dependency>
<!-- Databases supported by the system. -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${org.postgresql.version}</version>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${org.hsqldb.version}</version>
</dependency>
<!-- Manages the view of the OpenAPI part. -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${org.springdoc.version}</version>
</dependency>
<!--<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>${org.springdoc.version}</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-javadoc</artifactId>
<version>${org.springdoc.version}</version>
</dependency>-->
<!--<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-security</artifactId>
<version>${org.springdoc.version}</version>
</dependency> -->
<!-- Linked to OpenAPI/spring-boot-data-jpa, needs to be locked to a fixed version. -->
<!--<dependency>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.149</version>
</dependency> -->
<!-- Required after JDK 1.8 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet.version}</version>
</dependency>
<!-- Test dependencies. -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${org.mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>