This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pom.xml
221 lines (209 loc) · 9.21 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
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
173
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ibm.cloud</groupId>
<artifactId>icpd-sdk</artifactId>
<version>1.0-SNAPSHOT</version>
<name>ICPD SDK</name>
<packaging>pom</packaging>
<description>The Java SDK for IBM Cloud Pak for Data</description>
<url>https://github.ibm.com/ibmcloud/icp4d-java-sdk</url>
<!-- Modify these properties as needed to use the correct versions of dependencies -->
<properties>
<sdk-core-version>7.0.0-rc4</sdk-core-version>
<testng-version>6.14.3</testng-version>
<surefire-version>3.0.0-M3</surefire-version>
<checkstyle-plugin-version>3.0.0</checkstyle-plugin-version>
<findbugs-plugin-version>3.0.5</findbugs-plugin-version>
<findbugs-version>3.0.1</findbugs-version>
<jacoco-plugin-version>0.8.3</jacoco-plugin-version>
<maven-source-plugin-version>3.0.1</maven-source-plugin-version>
<maven-javadoc-plugin-version>3.0.1</maven-javadoc-plugin-version>
<maven-compiler-plugin-version>3.8.0</maven-compiler-plugin-version>
</properties>
<!--
Modify this section to reflect the set of modules for your SDK project.
In addition to the common module, you'll typically have one module
per generated service.
For each generated service, create a new directory under modules for it,
then copy the modules/example-service/pom.xml file to it.
The "example-service" module below services as an example of this.
After adding module(s) for your own generated service(s), remove
"example-service" from your SDK project.
-->
<modules>
<module>modules/common</module>
<module>modules/example-service</module>
<module>modules/icpd</module>
</modules>
<!-- Make sure this license is correct for your SDK project. -->
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<!-- Update this section to reflect the correct settings for your git repository. -->
<scm>
<connection>scm:git:https://github.ibm.com/CloudEngineering/java-sdk-template</connection>
<developerConnection>scm:git:https://github.ibm.com/CloudEngineering/java-sdk-template</developerConnection>
<url>https://github.ibm.com/CloudEngineering/java-sdk-template/tree/master</url>
</scm>
<!-- Update this section to reflect the correct settings for your git repository. -->
<issueManagement>
<system>Github</system>
<url>https://github.ibm.com/CloudEngineering/java-sdk-template/issues</url>
</issueManagement>
<!-- Update this section to reflect the correct settings for your SDK project. -->
<ciManagement>
<system>Travis-CI</system>
<url>https://travis.ibm.com/CloudEngineering/java-sdk-template/</url>
</ciManagement>
<distributionManagement>
</distributionManagement>
<!--
Obtain the java core from JCenter.
-->
<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<!-- This is the Java core dependency -->
<dependency>
<groupId>com.ibm.cloud</groupId>
<artifactId>sdk-core</artifactId>
<version>${sdk-core-version}</version>
</dependency>
<!-- TestNG is an alternative to JUnit -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng-version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin-version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin-version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin-version}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle-plugin-version}</version>
<executions>
<execution>
<id>verify-style</id>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<failsOnError>true</failsOnError>
<configLocation>build/checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs-plugin-version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<excludeFilterFile>build/findbugs-exclude.xml</excludeFilterFile>
<effort>Max</effort>
<threshold>Low</threshold>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>findbugs</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-plugin-version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<append>true</append>
<destFile>${sonar.jacoco.reportPath}</destFile>
<!-- Sets the VM argument line used when unit
tests are run. -->
<propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<jacoco-agent.destfile>${project.build.directory}</jacoco-agent.destfile>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>