pom.xml 8.49 KB
Newer Older
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8" ?>
<!--
  ~ Copyright 2021 Microsoft
  ~
  ~ 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
  ~
  ~     https://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.
  -->

18
<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">
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
19
20
21
22
23
24

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>os-dataset</artifactId>
        <groupId>org.opengroup.osdu</groupId>
25
        <version>0.15.0-SNAPSHOT</version>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
26
27
28
29
30
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <artifactId>dataset-azure</artifactId>
    <description>Azure implementation of Dataset service APIs</description>
31
    <version>0.15.0-SNAPSHOT</version>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
32
33
34
35
36
37
38
39
    <packaging>jar</packaging>

    <name>dataset-azure</name>

    <properties>
        <java.version>1.8</java.version>
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.source>1.8</maven.compiler.source>
40
41
        <osdu.corelibazure.version>0.14.0</osdu.corelibazure.version>
        <osdu.oscorecommon-version>0.14.0</osdu.oscorecommon-version>
42
        <nimbus-jose-jwt.version>7.9</nimbus-jose-jwt.version>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
43
44
45
46
47
48
49
50
51
52
53
54
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- Inherit managed dependencies from core-lib-azure -->
            <dependency>
                <groupId>org.opengroup.osdu</groupId>
                <artifactId>core-lib-azure</artifactId>
                <version>${osdu.corelibazure.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
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
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-slf4j-impl</artifactId>
                <version>${log4j2.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-to-slf4j</artifactId>
                <version>${log4j2.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-api</artifactId>
                <version>${log4j2.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-core</artifactId>
                <version>${log4j2.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-jul</artifactId>
                <version>${log4j2.version}</version>
            </dependency>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
80
81
82
83
84
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
85
86
            <groupId>com.azure.spring</groupId>
            <artifactId>azure-spring-boot-starter-active-directory</artifactId>
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
            <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>
        <dependency>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
117
118
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>os-core-common</artifactId>
119
            <version>${osdu.oscorecommon-version}</version>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
            <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.opengroup.osdu</groupId>
            <artifactId>dataset-core</artifactId>
            <version>${project.version}</version>
Abhishek Chowdhry's avatar
Abhishek Chowdhry committed
135
136
137
138
139
140
            <exclusions>
                <exclusion>
                    <groupId>org.apache.logging.log4j</groupId>
                    <artifactId>log4j-to-slf4j</artifactId>
                </exclusion>
            </exclusions>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
141
142
143
144
145
146
        </dependency>
        <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>core-lib-azure</artifactId>
            <version>${osdu.corelibazure.version}</version>
        </dependency>
harshit aggarwal's avatar
harshit aggarwal committed
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito2 -->
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito2</artifactId>
            <version>2.0.2</version>
            <scope>test</scope>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->

        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>3.0.0</version>
            <scope>test</scope>
        </dependency>

Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
170
    </dependencies>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188

    <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.dataset.provider.azure.DatasetAzureApplication</mainClass>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
Aalekh Jain's avatar
Fix    
Aalekh Jain committed
189
190
191
192
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>0.8.3</version>
harshit aggarwal's avatar
harshit aggarwal committed
193
194
195
196
197
198
199
200
                <configuration>
                    <excludes>
                        <exclude>**/*org/opengroup/osdu/dataset/provider/azure/cache/**</exclude>
                        <exclude>**/*org/opengroup/osdu/dataset/provider/azure/di/**Config.class</exclude>
                        <exclude>**/*org/opengroup/osdu/dataset/provider/azure/security/**</exclude>
                        <exclude>**/*org/opengroup/osdu/dataset/provider/azure/DatasetAzureApplication.class</exclude>
                    </excludes>
                </configuration>
Aalekh Jain's avatar
Fix    
Aalekh Jain committed
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
                <executions>
                    <execution>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
Krishna Nikhil Vedurumudi's avatar
Krishna Nikhil Vedurumudi committed
216
217
218
        </plugins>
    </build>

219
</project>