pom.xml 9.65 KB
Newer Older
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
1
2
<?xml version="1.0" encoding="UTF-8"?>

3
<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">
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
4
5
6
7
8
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>entitlements-v2-service</artifactId>
        <groupId>org.opengroup.osdu.entitlements.v2</groupId>
9
        <version>0.11.0-SNAPSHOT</version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
10
11
12
13
14
15
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <artifactId>entitlements-v2-azure</artifactId>

    <properties>
16
        <core-lib-azure.version>0.11.0</core-lib-azure.version>
Kelly Zhou's avatar
Kelly Zhou committed
17
        <gremlin.version>3.5.0</gremlin.version>
18
        <redisson.version>3.15.3</redisson.version>
19
20
21
22
        <resilience4j.version>1.7.0</resilience4j.version>
        <embedded-resdis.version>0.7.1</embedded-resdis.version>
        <awaitility.version>3.0.0</awaitility.version>
        <awaitility.proxy.version>3.0.0</awaitility.proxy.version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
23
        <json-smart.version>2.4.6</json-smart.version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
24
25
26
27
28
29
30
31
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.opengroup.osdu.entitlements.v2</groupId>
            <artifactId>entitlements-v2-core</artifactId>
            <version>${project.version}</version>
        </dependency>
32

Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
33
34
35
36
        <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>core-lib-azure</artifactId>
            <version>${core-lib-azure.version}</version>
37
            <exclusions>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
                <!--
                Excluding simple-xml because:
                There’s a library called xpp3 (the Xml Pull Parser) originally developed by Indiana University’s Extreme! Computing group.
                The licensing is kind of obscure – the problem is that the version we’re using is v1.1.3.3 which has no
                license traceable information (the original distribution site has been discontinued and the library is
                at least 16 years old anyway).  The later versions starting with v1.1.4c have clear licensing but legally
                we’re on shaky ground if we assume the older version is the same.
                For our purposes, Whitesource identifies this library as a (low-level) dependency of KeePassJava2
                (except in an IBM package where it comes from minio).  Both KeePassJava2 and minio inherit xpp3 through
                simple-xml-2.7.1 which, as it turns out, has a high-severity vulnerability with no known fix and
                no new versions since July 2013.
                -->
                <exclusion>
                    <groupId>org.simpleframework</groupId>
                    <artifactId>simple-xml</artifactId>
                </exclusion>
54
55
56
57
                <exclusion>
                    <groupId>org.opengroup.osdu</groupId>
                    <artifactId>os-core-common</artifactId>
                </exclusion>
58
            </exclusions>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
59
        </dependency>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
60
61
62
63
        <!--
        Many dependencies contain library with vulnerabilities: net.minidev:json-smart:jar:2.3
        because of that we need to enforce the higher version
        -->
64
        <dependency>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
65
66
67
            <groupId>net.minidev</groupId>
            <artifactId>json-smart</artifactId>
            <version>${json-smart.version}</version>
68
69
        </dependency>

Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
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
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
            <exclusions>
                <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-web</artifactId>
            <exclusions>
                <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>
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>logback-classic</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.logging.log4j</groupId>
                    <artifactId>log4j-to-slf4j</artifactId>
                </exclusion>
            </exclusions>
        </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>

        <!-- gremlin dependencies -->
        <dependency>
            <groupId>org.apache.tinkerpop</groupId>
            <artifactId>gremlin-driver</artifactId>
            <version>${gremlin.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tinkerpop</groupId>
            <artifactId>gremlin-groovy</artifactId>
            <version>${gremlin.version}</version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
123
124
125
126
127
128
129
130
131
            <exclusions>
                <!--
                Excluding org.apache.ivy:ivy:jar:2.3.0 because it has security bugs
                -->
                <exclusion>
                    <groupId>org.apache.ivy</groupId>
                    <artifactId>ivy</artifactId>
                </exclusion>
            </exclusions>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
132
133
        </dependency>

134
135
136
137
138
139
140
141
142
143
144
145
        <dependency>
            <groupId>org.redisson</groupId>
            <artifactId>redisson</artifactId>
            <version>${redisson.version}</version>
        </dependency>

        <dependency>
            <groupId>io.github.resilience4j</groupId>
            <artifactId>resilience4j-retry</artifactId>
            <version>${resilience4j.version}</version>
        </dependency>

Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
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
        <!-- test scope dependencies -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>org.junit.vintage</groupId>
                    <artifactId>junit-vintage-engine</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito2</artifactId>
            <version>2.0.7</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>2.0.7</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>2.0.2-beta</version>
            <scope>test</scope>
        </dependency>
181
182
183
184
185
186
        <dependency>
            <groupId>it.ozimov</groupId>
            <artifactId>embedded-redis</artifactId>
            <version>${embedded-resdis.version}</version>
            <scope>test</scope>
        </dependency>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
187
188
189
190
191
192
        <dependency>
            <groupId>org.apache.tinkerpop</groupId>
            <artifactId>tinkergraph-gremlin</artifactId>
            <version>${gremlin.version}</version>
            <scope>test</scope>
        </dependency>
193
194
195
196
197
198
199
200
201
202
203
204
        <dependency>
            <groupId>org.awaitility</groupId>
            <artifactId>awaitility</artifactId>
            <version>${awaitility.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.awaitility</groupId>
            <artifactId>awaitility-proxy</artifactId>
            <version>${awaitility.proxy.version}</version>
            <scope>test</scope>
        </dependency>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224

    </dependencies>

    <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.entitlements.v2.azure.EntitlementsV2Application</mainClass>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>0.8.6</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
244
245
246
        </plugins>
    </build>
</project>