-
Notifications
You must be signed in to change notification settings - Fork 83
/
pom.xml
230 lines (210 loc) · 8.79 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
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>org.sourcelab</groupId>
<artifactId>kafka-webview</artifactId>
<packaging>pom</packaging>
<version>2.9.1</version>
<!-- Define submodules -->
<modules>
<module>kafka-webview-plugin</module>
<module>kafka-webview-ui</module>
<module>dev-cluster</module>
</modules>
<!-- Require Maven 3.3.9 -->
<prerequisites>
<maven>3.3.9</maven>
</prerequisites>
<!-- Module Description and Ownership -->
<name>Kafka WebView</name>
<description>
A full-featured web-based Apache Kafka consumer. Kafka WebView presents an easy-to-use web based interface for
reading data out of kafka topics and providing basic filtering and searching capabilities.
</description>
<url>https://github.com/SourceLabOrg/kafka-webview</url>
<developers>
<developer>
<name>Stephen Powis</name>
<email>[email protected]</email>
<organization>SourceLab.org</organization>
<organizationUrl>https://www.sourcelab.org/</organizationUrl>
</developer>
</developers>
<!-- MIT License -->
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<!-- Source Control -->
<scm>
<connection>scm:git:git://github.com/SourceLabOrg/kafka-webview.git</connection>
<developerConnection>scm:git:ssh://github.com:SourceLabOrg/kafka-webview.git</developerConnection>
<url>https://github.com/SourceLabOrg/kafka-webview/tree/master</url>
</scm>
<!-- Module Properties -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<!-- test toggling -->
<skipTests>false</skipTests>
<skipCheckStyle>false</skipCheckStyle>
<skipLicenseCheck>false</skipLicenseCheck>
</properties>
<!-- Use Spring Boot Starter as Parent -->
<!-- https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.18.RELEASE/spring-boot-dependencies-2.1.18.RELEASE.pom -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.13</version>
</parent>
<dependencies>
<!-- No Parent Dependencies! -->
</dependencies>
<build>
<plugins>
<!-- Set Source & Target JRE Version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- Release plugin -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<!-- Enforce Checkstyles Validation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>checkstyle-validate</id>
<phase>validate</phase><!-- when we need to run checkstyle::check -->
<configuration>
<configLocation>checkstyle.xml</configLocation>
<includeTestSourceDirectory>false</includeTestSourceDirectory>
<encoding>utf-8</encoding>
<consoleOutput>true</consoleOutput>
<violationSeverity>warning</violationSeverity>
<failsOnError>true</failsOnError>
<enableRSS>false</enableRSS>
<!-- By default we enable checkstyle validation -->
<skip>${skipCheckStyle}</skip>
</configuration>
<goals>
<!-- Generate site/html report -->
<goal>checkstyle</goal>
<!-- Enforce failing build on checkstyle failure -->
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- License Auditing -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<header>LICENSE.txt</header>
<includes>
<include>**/**.java</include>
</includes>
<skip>${skipLicenseCheck}</skip>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- For deploying to maven central -->
<distributionManagement>
<!-- Snapshot repository -->
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<!-- release profile for deploying -->
<profiles>
<profile>
<id>release-kafka-webview</id>
<build>
<plugins>
<!-- Build Sources Jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Build Javadoc Jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<failOnWarnings>false</failOnWarnings>
<show>public</show>
<source>8</source>
</configuration>
</execution>
</executions>
</plugin>
<!-- GPG Signing of Artifacts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>SourceLab.org</keyname>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>