forked from odpi/egeria
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
466 lines (407 loc) · 18.6 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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- Copyright Contributors to the ODPi Egeria project. -->
<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">
<modelVersion>4.0.0</modelVersion>
<name>Egeria</name>
<description>
Top-level package providing the standards, frameworks, reference implementations and
conformance tests for open metadata and governance.
</description>
<groupId>org.odpi.egeria</groupId>
<artifactId>egeria</artifactId>
<version>0.3-SNAPSHOT</version>
<url>https://odpi.github.io/Egeria</url>
<!-- The Apache license is used for code and the creative commons license is used for documentation -->
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
<license>
<name>Creative Commons Attribution 4.0 International (CC BY 4.0)</name>
<url>https://creativecommons.org/licenses/by/4.0</url>
</license>
</licenses>
<organization>
<name>ODPi</name>
<url>http://www.odpi.org</url>
</organization>
<scm>
<connection>scm:git:git://github.com/odpi/egeria.git</connection>
<developerConnection>scm:git:ssh://github.com:odpi/egeria.git</developerConnection>
<url>http://github.com/odpi/egeria/tree/master</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/odpi/egeria/issues</url>
</issueManagement>
<inceptionYear>2018</inceptionYear>
<mailingLists>
<mailingList>
<name>odpi-egeria</name>
<subscribe>https://lists.odpi.org/g/odpi-project-egeria</subscribe>
<unsubscribe>[email protected]</unsubscribe>
<post>[email protected]</post>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>mandy-chessell</id>
<name>Mandy Chessell</name>
<email>[email protected]</email>
<timezone>Europe/London</timezone>
<roles>
<role>Project Leader</role>
<role>maintainer</role>
</roles>
<organization>IBM Corporation</organization>
</developer>
</developers>
<!-- POM packaging means that this module has sub-modules -->
<packaging>pom</packaging>
<modules>
<module>developer-resources</module>
<module>open-metadata-implementation</module>
<module>open-metadata-conformance-suite</module>
<module>open-metadata-distribution</module>
<module>open-metadata-publication</module>
<module>open-metadata-resources</module>
<module>open-metadata-test</module>
</modules>
<properties>
<open-metadata.version>0.3-SNAPSHOT</open-metadata.version>
<!-- Level of Java -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- Platform encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Versions of dependent libraries -->
<log4j.version>1.2.17</log4j.version>
<slf4j.version>1.7.25</slf4j.version>
<jackson.version>2.9.8</jackson.version>
<spring-boot.version>2.1.2.RELEASE</spring-boot.version>
<spring-web.version>5.1.3.RELEASE</spring-web.version>
<commons-io.version>2.4</commons-io.version>
<commons-collections.version>3.2.2</commons-collections.version>
<kafka.version>0.10.0.0</kafka.version>
<testng.version>6.14.3</testng.version>
<enunciate-maven-plugin.version>2.10.1</enunciate-maven-plugin.version>
<mockito.version>2.23.4</mockito.version>
<maven-enforcer-plugin.version>3.0.0-M1</maven-enforcer-plugin.version>
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
<surefire.plugin.version>3.0.0-M1</surefire.plugin.version>
<maven-download.version>1.4.1</maven-download.version>
<maven-antrun.version>1.8</maven-antrun.version>
<maven-install.version>3.0.0-M1</maven-install.version>
<maven-shade.version>3.2.1</maven-shade.version>
<maven-compiler.version>3.8.0</maven-compiler.version>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<!--suppress UnresolvedMavenProperty -->
<sonar.jacoco.reportPaths>${maven.multiModuleProjectDirectory}/target/jacoco.exec</sonar.jacoco.reportPaths>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.1.1</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<!-- Jackson for JSON to Java processing -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- API documentation -->
<dependency>
<groupId>com.webcohesion.enunciate</groupId>
<artifactId>enunciate-core-annotations</artifactId>
<version>${enunciate-maven-plugin.version}</version>
</dependency>
<!-- Test framework -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
<!-- Mocking library -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<!-- Kafka -->
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>${kafka.version}</version>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<!-- Should be default, but needed to keep IntelliJ happy -->
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<!-- Default compiler options - enable deprecation information -->
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler.version}</version>
<configuration>
<compilerArgument>-Xlint:deprecation</compilerArgument>
<failOnWarning>false</failOnWarning>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
</plugin>
<!-- Validates maven & java versions -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.5.0,)</version>
<message>** MAVEN VERSION ERROR ** Maven 3.5.0 or above is required. See
https://maven.apache.org/install.html
</message>
</requireMavenVersion>
<requireJavaVersion>
<level>ERROR</level>
<version>[1.8,)</version>
<message>** JAVA VERSION ERROR ** Java 8 (Update 151) or above is required.
</message>
</requireJavaVersion>
<requireJavaVersion>
<level>WARN</level>
<version>(,1.9]</version>
<message>** JAVA VERSION WARNING ** Java 9 and above has not been tested.
</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.12</version>
<configuration>
<useDefaultExcludes>true</useDefaultExcludes>
<useMavenDefaultExcludes>true</useMavenDefaultExcludes>
<useIdeaDefaultExcludes>true</useIdeaDefaultExcludes>
<useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
<excludeSubProjects>true</excludeSubProjects>
<excludes>
<exclude>/CNAME</exclude>
<exclude>**/banner.txt</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.patch</exclude>
<exclude>**/*.log</exclude>
<exclude>**/*.csv</exclude>
<exclude>**/*.iml</exclude>
<exclude>**/*.registrystore</exclude>
<exclude>**/*.results</exclude>
<exclude>**/target/**</exclude>
<exclude>**/venv/**</exclude>
<exclude>**/.repository/**</exclude>
<exclude>**/charts/**/charts/**</exclude>
<exclude>**/log</exclude>
<exclude>**/*.lock</exclude>
<exclude>**/m2repo*/**</exclude>
<exclude>**/venv/**</exclude>
<exclude>**/archives/patches/egeria.patch</exclude>
<exclude>**/docs/**/*.xml</exclude>
<exclude>**/docs/**/*.svg</exclude>
<exclude>**/website/**/*.xml</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
</excludes>
<licenseFamilies>
<licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
<familyName>SPDX-License-Identifier: Apache-2.0</familyName>
</licenseFamily>
<licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
<familyName>SPDX-License-Identifier: CC-BY-4.0</familyName>
</licenseFamily>
</licenseFamilies>
<licenses>
<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
<licenseFamilyCategory>SPDX</licenseFamilyCategory>
<licenseFamilyName>SPDX-License-Identifier: Apache-2.0</licenseFamilyName>
<notes></notes>
<patterns>
<pattern>SPDX-License-Identifier: Apache-2.0</pattern>
</patterns>
</license>
<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
<licenseFamilyCategory>SPDX</licenseFamilyCategory>
<licenseFamilyName>SPDX-License-Identifier: CC-BY-4.0</licenseFamilyName>
<notes></notes>
<patterns>
<pattern>SPDX-License-Identifier: CC-BY-4.0</pattern>
</patterns>
</license>
<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
<patterns>
<pattern>Copyright Contributors to the ODPi Egeria project.</pattern>
</patterns>
</license>
</licenses>
</configuration>
<executions>
<execution>
<id>rat-check</id>
<goals>
<goal>check</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>
<!-- Sonar-JaCoCo integration plugin -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<configuration>
<destFile>${sonar.jacoco.reportPaths}</destFile>
<append>true</append>
</configuration>
<executions>
<execution>
<id>agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<properties>
<gpg.executable>gpg2</gpg.executable>
</properties>
<build>
<plugins>
<!-- Generate and attach source to Maven Central distributions -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Generate and attach javadoc to Maven Central distributions -->
<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>
<!-- Request that distributed artifacts are signed before flowing to Maven Central distributions -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Request that the artifacts are pushed to Maven Central's staging area -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>