pom.xml 4.59 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>
David Diederich's avatar
David Diederich committed
6
		<version>0.8.0</version>
David Diederich's avatar
David Diederich committed
7
8
9
10
11
12
13
14
15
		<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>
Sutton's avatar
Sutton committed
16
		<os-core-common.version>0.3.28</os-core-common.version>
David Diederich's avatar
David Diederich committed
17
18
19
20
	</properties>

	<dependencies>
		<dependency>
21
22
23
			<groupId>org.hibernate.validator</groupId>
			<artifactId>hibernate-validator</artifactId>
			<version>6.0.2.Final</version>
David Diederich's avatar
David Diederich committed
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
		</dependency>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</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-databind</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>
88
			<version>${os-core-common.version}</version>
89
90
91
92
93
94
95
96
97
98
99
100
			<exclusions>
				<exclusion>
					<groupId>org.elasticsearch</groupId>
					<artifactId>elasticsearch</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.elasticsearch.client</groupId>
					<artifactId>
						elasticsearch-rest-high-level-client
					</artifactId>
				</exclusion>
			</exclusions>
David Diederich's avatar
David Diederich committed
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
		</dependency>

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

		<!-- swagger dependencies -->
		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-swagger2</artifactId>
			<version>${springfox-version}</version>
		</dependency>
		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-swagger-ui</artifactId>
			<version>${springfox-version}</version>
		</dependency>

ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
120
121
122
123
124
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
		</dependency>

David Diederich's avatar
David Diederich committed
125
	</dependencies>
126

David Diederich's avatar
David Diederich committed
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
	<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>
148
149
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
150
				<version>0.8.3</version>
David Diederich's avatar
David Diederich committed
151
152
				<executions>
					<execution>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
153
						<goals>
154
							<goal>prepare-agent</goal>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
155
156
157
						</goals>
					</execution>
					<execution>
158
159
						<id>report</id>
						<phase>prepare-package</phase>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
160
						<goals>
161
							<goal>report</goal>
David Diederich's avatar
David Diederich committed
162
163
164
165
166
						</goals>
					</execution>
				</executions>
			</plugin>

167
168
169
170
171
172
173
174
175
176
177
178
179
180
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>3.0.0-M3</version>
				<configuration>
					<includes>
						<include>*Test.java</include>
					</includes>
					<skipTests>${skipUnitTests}</skipTests>
					<forkCount>3</forkCount>
					<reuseForks>true</reuseForks>
					<argLine>@{argLine} -Xmx1024m -XX:MaxPermSize=256m</argLine>
				</configuration>
			</plugin>
David Diederich's avatar
David Diederich committed
181
182
		</plugins>
	</build>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
183

184
</project>