pom.xml 6.08 KB
Newer Older
1
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
David Diederich's avatar
David Diederich committed
2
3
4
5
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.opengroup.osdu</groupId>
		<artifactId>os-schema</artifactId>
6
		<version>0.16.0-SNAPSHOT</version>
David Diederich's avatar
David Diederich committed
7
8
9
10
11
12
13
14
15
16
17
		<relativePath>../pom.xml</relativePath>
	</parent>

	<artifactId>os-schema-core</artifactId>
	<description>Core project for the schema service</description>
	<packaging>jar</packaging>

	<properties>
		<springfox-version>2.7.0</springfox-version>
	</properties>

18
19
20
21
22
23
24
25
26
27
28
29
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.opengroup.osdu</groupId>
				<artifactId>os-core-common</artifactId>
				<version>${os-core-common.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

David Diederich's avatar
David Diederich committed
30
31
	<dependencies>
		<dependency>
32
33
34
			<groupId>org.hibernate.validator</groupId>
			<artifactId>hibernate-validator</artifactId>
			<version>6.0.2.Final</version>
David Diederich's avatar
David Diederich committed
35
36
37
38
39
40
41
42
		</dependency>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
43
44
45
46
47
48
49
50
51
52
53
54
55
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-api</artifactId>
			<version>5.4.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-engine</artifactId>
			<version>5.4.2</version>
			<scope>test</scope>
		</dependency>

David Diederich's avatar
David Diederich committed
56
57
58
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
59
60
61
62
63
64
			<exclusions>
				<exclusion>
					<groupId>com.fasterxml.jackson.core</groupId>
					<artifactId>jackson-databind</artifactId>
				</exclusion>
			</exclusions>
David Diederich's avatar
David Diederich committed
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
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.json</groupId>
			<artifactId>json</artifactId>
			<version>20190722</version>
		</dependency>

		<dependency>
			<groupId>org.skyscreamer</groupId>
			<artifactId>jsonassert</artifactId>
		</dependency>

		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
		</dependency>

		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
		</dependency>


		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-core</artifactId>
		</dependency>

		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-inline</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.opengroup.osdu</groupId>
			<artifactId>os-core-common</artifactId>
114
			<version>${os-core-common.version}</version>
115
116
117
118
119
120
121
122
123
124
125
			<exclusions>
				<exclusion>
					<groupId>org.elasticsearch</groupId>
					<artifactId>elasticsearch</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.elasticsearch.client</groupId>
					<artifactId>
						elasticsearch-rest-high-level-client
					</artifactId>
				</exclusion>
126
127
128
129
				<exclusion>
					<groupId>com.fasterxml.jackson.core</groupId>
					<artifactId>jackson-databind</artifactId>
				</exclusion>
130
			</exclusions>
David Diederich's avatar
David Diederich committed
131
132
133
134
135
136
137
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-security</artifactId>
		</dependency>

ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
138
139
140
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
141
142
143
144
145
146
			<exclusions>
				<exclusion>
					<groupId>com.fasterxml.jackson.core</groupId>
					<artifactId>jackson-databind</artifactId>
				</exclusion>
			</exclusions>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
147
		</dependency>
148
149
150
151
152
153
154
155
156
157
		<dependency>
			<groupId>javax.json</groupId>
			<artifactId>javax.json-api</artifactId>
			<version>1.1.2</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.json</artifactId>
			<version>1.1.2</version>
		</dependency>
158
159
160
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
161
162
163
164
165
166
167
168
169
170
171
			<version>2.13.3</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-core</artifactId>
			<version>2.13.3</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-annotations</artifactId>
			<version>2.13.3</version>
172
		</dependency>
David Diederich's avatar
David Diederich committed
173
	</dependencies>
174

David Diederich's avatar
David Diederich committed
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>repackage</goal>
						</goals>
						<configuration>
							<classifier>spring-boot</classifier>
							<mainClass>
								org.opengroup.osdu.schema.SchemaApplication
							</mainClass>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
196
197
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
198
				<version>0.8.3</version>
David Diederich's avatar
David Diederich committed
199
200
				<executions>
					<execution>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
201
						<goals>
202
							<goal>prepare-agent</goal>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
203
204
205
						</goals>
					</execution>
					<execution>
206
207
						<id>report</id>
						<phase>prepare-package</phase>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
208
						<goals>
209
							<goal>report</goal>
David Diederich's avatar
David Diederich committed
210
211
212
213
214
						</goals>
					</execution>
				</executions>
			</plugin>

215
216
217
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
218
				<version>3.0.0-M7</version>
219
220
221
222
223
224
225
226
227
				<configuration>
					<includes>
						<include>*Test.java</include>
					</includes>
					<skipTests>${skipUnitTests}</skipTests>
					<forkCount>3</forkCount>
					<reuseForks>true</reuseForks>
					<argLine>@{argLine} -Xmx1024m -XX:MaxPermSize=256m</argLine>
				</configuration>
228
229
230
231
232
233
234
				<dependencies>
					<dependency>
						<groupId>org.apache.maven.surefire</groupId>
						<artifactId>surefire-junit47</artifactId>
						<version>3.0.0-M7</version>
					</dependency>
				</dependencies>
235
			</plugin>
David Diederich's avatar
David Diederich committed
236
237
		</plugins>
	</build>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
238

239
</project>