pom.xml 6.95 KB
Newer Older
David Diederich's avatar
David Diederich committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2020 IBM Corp. All Rights Reserved.
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

15
<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
16
17
18
19
20
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.1.9.RELEASE</version>
21
		<relativePath /> <!-- lookup parent from repository -->
David Diederich's avatar
David Diederich committed
22
	</parent>
Anuj Gupta's avatar
Anuj Gupta committed
23

David Diederich's avatar
David Diederich committed
24
25
	<groupId>org.opengroup.osdu.ibm</groupId>
	<artifactId>entitlements</artifactId>
David Diederich's avatar
David Diederich committed
26
	<version>0.5.1</version>
David Diederich's avatar
David Diederich committed
27
28
29
30
31
	<name>entitlements</name>
	<description>Entitlements Service on IBM</description>

	<repositories>
		<repository>
32
33
			<id>${gitlab-server}</id>
			<url>https://community.opengroup.org/api/v4/groups/17/-/packages/maven</url>
David Diederich's avatar
David Diederich committed
34
35
36
		</repository>
	</repositories>

37
38
39
40
41
42
43
44
45
46
47
	<distributionManagement>
		<repository>
			<id>${gitlab-server}</id>
			<url>https://community.opengroup.org/api/v4/projects/115/packages/maven</url>
		</repository>
		<snapshotRepository>
			<id>${gitlab-server}</id>
			<url>https://community.opengroup.org/api/v4/projects/115/packages/maven</url>
		</snapshotRepository>
	</distributionManagement>

David Diederich's avatar
David Diederich committed
48
49
50
51
52
53
54
	<properties>
		<java.version>1.8</java.version>
		<maven.compiler.target>1.8</maven.compiler.target>
		<maven.compiler.source>1.8</maven.compiler.source>
		<springfox-version>2.7.0</springfox-version>
		<reactor.netty.version>0.9.0.RELEASE</reactor.netty.version>
		<reactor.core.version>3.3.0.RELEASE</reactor.core.version>
55
56
57
		<version.keycloak>9.0.0</version.keycloak>
		<org.jboss.logging.provider>slf4j</org.jboss.logging.provider>
		<start-class>org.opengroup.osdu.ibm.entitlements.EntitlementsApplication</start-class>
Shrikant Garg's avatar
Shrikant Garg committed
58
		<os-core-lib-ibm.version>0.3.8-SNAPSHOT</os-core-lib-ibm.version>
David Diederich's avatar
David Diederich committed
59
	</properties>
Anuj Gupta's avatar
Anuj Gupta committed
60
61


David Diederich's avatar
David Diederich committed
62
63
64
65
66
67
68
69
	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
			<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

David Diederich's avatar
David Diederich committed
70
	<dependencies>
Anuj Gupta's avatar
Anuj Gupta committed
71

David Diederich's avatar
David Diederich committed
72
73
74
75
		<!-- IBM core services -->
		<dependency>
			<groupId>org.opengroup.osdu</groupId>
			<artifactId>os-core-lib-ibm</artifactId>
Alan Braz's avatar
Alan Braz committed
76
			<version>${os-core-lib-ibm.version}</version>
David Diederich's avatar
David Diederich committed
77
		</dependency>
Anuj Gupta's avatar
Anuj Gupta committed
78

David Diederich's avatar
David Diederich committed
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
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter</artifactId>
		</dependency>
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
		</dependency>

		<dependency>
		    <groupId>org.apache.commons</groupId>
		    <artifactId>commons-collections4</artifactId>
		    <version>4.1</version>
		</dependency>
		<dependency>
			<groupId>org.apache.tomcat.embed</groupId>
			<artifactId>tomcat-embed-core</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
			<exclusions>
				<exclusion>
					<groupId>org.springframework.boot</groupId>
					<artifactId>spring-boot-starter-tomcat</artifactId>
				</exclusion>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-logging</artifactId>
                </exclusion>
			</exclusions>
		</dependency>

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

		<dependency>
			<groupId>io.projectreactor.netty</groupId>
			<artifactId>reactor-netty</artifactId>
			<version>${reactor.netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.projectreactor</groupId>
			<artifactId>reactor-core</artifactId>
			<version>${reactor.core.version}</version>
		</dependency>


        <!-- Keycloak  -->
        <dependency>
            <groupId>org.keycloak</groupId>
            <artifactId>keycloak-spring-boot-starter</artifactId>
            <version>${version.keycloak}</version>
        </dependency>
        <!-- <dependency>
            <groupId>org.keycloak</groupId>
            <artifactId>keycloak-spring-boot-starter-security</artifactId>
            <version>${version.keycloak}</version>
        </dependency> -->
        <dependency>
            <groupId>org.keycloak</groupId>
            <artifactId>keycloak-authz-client</artifactId>
            <version>${version.keycloak}</version>
        </dependency>
        <dependency>
            <groupId>org.keycloak</groupId>
            <artifactId>keycloak-admin-client</artifactId>
            <version>${version.keycloak}</version>
        </dependency>

		<!-- To configure logback with groovy -->
		<dependency>
			<groupId>org.codehaus.groovy</groupId>
			<artifactId>groovy</artifactId>
			<version>2.5.8</version>
			<type>pom</type>
		</dependency>

		<dependency>
			<groupId>org.codehaus.groovy</groupId>
			<artifactId>groovy-jsr223</artifactId>
			<version>2.5.8</version>
			<type>pom</type>
		</dependency>
Anuj Gupta's avatar
Anuj Gupta committed
173

David Diederich's avatar
David Diederich committed
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
		<!-- test -->
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</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>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
199
200
201
202
203
204
205
206
207
208
209
210
211
212
				<configuration>
					<mainClass>${start-class}</mainClass>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>repackage</goal>
						</goals>
						<configuration>
							<classifier>spring-boot</classifier>
							<mainClass>${start-class}</mainClass>
						</configuration>
					</execution>
				</executions>
David Diederich's avatar
David Diederich committed
213
214
215
216
			</plugin>
		</plugins>
	</build>

217
218
219
220
221
222
223
224
225
226
227
228
229
230
231

	<profiles>
		<profile>
			<id>local</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<properties>
				<build.profile.id>local</build.profile.id>
				<profileActive>local</profileActive>
			</properties>
		</profile>
	</profiles>


David Diederich's avatar
David Diederich committed
232
</project>