pom.xml 7.55 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
Alan Braz's avatar
Alan Braz committed
2
3
4
5
6
7
<!-- 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 
8
	the specific language governing permissions and limitations under the License. -->
9

10
<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">
11
	<modelVersion>4.0.0</modelVersion>
12

13
14
	<groupId>org.opengroup.osdu</groupId>
	<artifactId>os-core-lib-ibm</artifactId>
Bhushan Rade's avatar
Bhushan Rade committed
15
	<version>${os-core-lib-ibm.version}</version>
16

17
18
19
20
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.7.RELEASE</version>
21
        <relativePath />
22
23
    </parent>

24
	<name>os-core-lib-ibm</name>
25

26
27
28
29
30
	<properties>
		<java.version>1.8</java.version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
Gokul Nagare's avatar
Gokul Nagare committed
31
		<os-core-common.version>0.13.0-rc1</os-core-common.version>
32
		<os-core-lib-ibm.version>0.13.0-SNAPSHOT</os-core-lib-ibm.version>
33
	</properties>
34

David Diederich's avatar
David Diederich committed
35
36
37
38
39
40
41
42
	<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>

43
	<dependencies>
44

45
		<dependency>
46
47
			<groupId>org.opengroup.osdu</groupId>
			<artifactId>os-core-common</artifactId>
48
			<version>${os-core-common.version}</version>
49
		</dependency>
Alan Braz's avatar
Alan Braz committed
50
		
51
52
53
54
55
56
57
58
59
60
61
62
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-security</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-oauth2-jose</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-oauth2-resource-server</artifactId>
		</dependency>
Alan Braz's avatar
Alan Braz committed
63
        
Renan Souza's avatar
Renan Souza committed
64
65
66
        <!-- IBM Services -->

		<dependency>
Anuj Gupta's avatar
Anuj Gupta committed
67
68
		    <groupId>org.amqphub.spring</groupId>
		    <artifactId>amqp-10-jms-spring-boot-starter</artifactId>
69
		    <version>2.4.4</version>
Renan Souza's avatar
Renan Souza committed
70
		</dependency>
Alan Braz's avatar
Alan Braz committed
71
        
Alan Braz's avatar
Alan Braz committed
72
73
74
75
76
77

		<dependency>
			<groupId>com.ibm.cos</groupId>
			<artifactId>ibm-cos-java-sdk</artifactId>
			<version>2.6.2</version>
		</dependency>
Alan Braz's avatar
Alan Braz committed
78

79
80
81
82
83
84
85
86
87
88
89
		<dependency>
			<groupId>com.cloudant</groupId>
			<artifactId>cloudant-client</artifactId>
			<version>2.18.0</version>
		</dependency>

		<dependency>
			<groupId>com.squareup.okhttp3</groupId>
			<artifactId>okhttp-urlconnection</artifactId>
			<version>3.12.5</version>
		</dependency>
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
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<scope>provided</scope>
		</dependency>

		<!-- https://mvnrepository.com/artifact/javax.inject/javax.inject -->
		<dependency>
			<groupId>javax.inject</groupId>
			<artifactId>javax.inject</artifactId>
			<version>1</version>
		</dependency>
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
		</dependency>

		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
		</dependency>

		<!-- Test Dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<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.powermock</groupId>
			<artifactId>powermock-module-junit4</artifactId>
			<version>2.0.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<scope>test</scope>
		</dependency>
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
    <!-- Add logging backend only to test scope, so as not to impose this choice to lib users -->
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <scope>test</scope>
    </dependency>
	<dependency>
	    <groupId>org.slf4j</groupId>
	    <artifactId>jul-to-slf4j</artifactId>
      <scope>test</scope>
	</dependency>
    <!-- To configure logback with groovy -->
	<dependency>
	    <groupId>org.codehaus.groovy</groupId>
	    <artifactId>groovy</artifactId>
	    <version>2.5.8</version>
	    <type>pom</type>
	    <scope>test</scope>
	</dependency>

	<dependency>
	    <groupId>org.codehaus.groovy</groupId>
	    <artifactId>groovy-jsr223</artifactId>
	    <version>2.5.8</version>
	    <type>pom</type>
	    <scope>test</scope>
	</dependency>

  </dependencies>

168
    <repositories>
169
        <repository>
170
171
172
            <id>${gitlab-server}</id>
            <url>https://community.opengroup.org/api/v4/groups/17/-/packages/maven</url>
        </repository>
173
174
175
    </repositories>
    <distributionManagement>
        <repository>
176
177
178
179
180
181
182
            <id>${gitlab-server}</id>
            <url>https://community.opengroup.org/api/v4/projects/103/packages/maven</url>
        </repository>
        <snapshotRepository>
            <id>${gitlab-server}</id>
            <url>https://community.opengroup.org/api/v4/projects/103/packages/maven</url>
        </snapshotRepository>
183
184
    </distributionManagement>

185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
  <build>
    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
      <plugins>
        <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
        <plugin>
          <artifactId>maven-clean-plugin</artifactId>
          <version>3.1.0</version>
        </plugin>
        <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
        <plugin>
          <artifactId>maven-resources-plugin</artifactId>
          <version>3.0.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.22.1</version>
205
206
207
208
209
          <configuration>
            <excludes>
              <exclude>**/TenantInfoTests.java</exclude>
            </excludes>
          </configuration>
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
        </plugin>
        <plugin>
          <artifactId>maven-jar-plugin</artifactId>
          <version>3.0.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-install-plugin</artifactId>
          <version>2.5.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-deploy-plugin</artifactId>
          <version>2.8.2</version>
        </plugin>
        <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
        <plugin>
          <artifactId>maven-site-plugin</artifactId>
          <version>3.7.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-project-info-reports-plugin</artifactId>
          <version>3.0.0</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>