microsoft/gctoolkit

Public

mirrored from https://github.com/microsoft/gctoolkitAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
a484fcca0bf1af28729eed5876914d89a5b4ffd4

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

pom.xml

450lines · modecode

1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <groupId>com.microsoft.gctoolkit</groupId>
7 <artifactId>gctoolkit</artifactId>
8 <packaging>pom</packaging>
9 <version>2.0.1-SNAPSHOT</version>
10
11 <name>GCToolKit</name>
12 <description>GC log parsing utilities</description>
13 <url>https://github.com/Microsoft/gctoolkit</url>
14
15 <organization>
16 <name>Microsoft Corporation</name>
17 <url>https://microsoft.com</url>
18 </organization>
19
20 <licenses>
21 <license>
22 <name>MIT License</name>
23 <url>https://opensource.org/licenses/MIT</url>
24 <distribution>repo</distribution>
25 </license>
26 </licenses>
27
28 <scm>
29 <connection>scm:git:git@github.com:microsoft/gctoolkit.git</connection>
30 <developerConnection>scm:git:git@github.com:microsoft/gctoolkit.git</developerConnection>
31 <url>https://github.com/microsoft/gctoolkit</url>
32 <tag>gctoolkit-2.0.0</tag>
33 </scm>
34
35 <developers>
36 <developer>
37 <id>microsoft</id>
38 <name>Microsoft Corporation</name>
39 </developer>
40 </developers>
41
42 <issueManagement>
43 <system>GitHub</system>
44 <url>https://github.com/microsoft/gctoolkit/issues</url>
45 </issueManagement>
46
47 <repositories>
48 <repository>
49 <id>central</id>
50 <url>https://repo1.maven.org/maven2</url>
51 </repository>
52 <repository>
53 <id>github</id>
54 <url>https://maven.pkg.github.com/microsoft/*</url>
55 <snapshots>
56 <enabled>true</enabled>
57 </snapshots>
58 </repository>
59 </repositories>
60
61 <distributionManagement>
62 <repository>
63 <id>github</id>
64 <name>GC Toolkit packages</name>
65 <url>https://maven.pkg.github.com/microsoft/gctoolkit</url>
66 </repository>
67 </distributionManagement>
68
69 <modules>
70 <module>core</module>
71 <module>sample</module>
72 </modules>
73
74 <properties>
75 <checkstyle.version>9.0</checkstyle.version>
76 <gctoolkit-testdata-version>1.0.2</gctoolkit-testdata-version>
77 <junit5.version>5.7.2</junit5.version>
78 <maven.changes-plugin.version>2.12.1</maven.changes-plugin.version>
79 <maven.checkstyle-plugin.version>3.1.2</maven.checkstyle-plugin.version>
80 <maven.clean-plugin.version>3.1.0</maven.clean-plugin.version>
81 <maven.compiler-plugin.version>3.8.1</maven.compiler-plugin.version>
82 <maven.compiler.release>11</maven.compiler.release>
83 <maven.dependency-plugin.version>3.2.0</maven.dependency-plugin.version>
84 <maven.deploy-plugin.version>3.0.0-M1</maven.deploy-plugin.version>
85 <maven.enforcer-plugin.version>3.0.0</maven.enforcer-plugin.version>
86 <maven.install-plugin.version>3.0.0-M1</maven.install-plugin.version>
87 <maven.jacoco-plugin.version>0.8.7</maven.jacoco-plugin.version>
88 <maven.jar-plugin.version>3.2.0</maven.jar-plugin.version>
89 <maven.javadoc-plugin.version>3.3.0</maven.javadoc-plugin.version>
90 <maven.jxr-plugin.version>3.1.1</maven.jxr-plugin.version>
91 <maven.license-plugin.version>2.0.0</maven.license-plugin.version>
92 <maven.pmd-plugin.version>3.14.0</maven.pmd-plugin.version>
93 <maven.project-info-reports-plugin.version>3.1.2</maven.project-info-reports-plugin.version>
94 <maven.rat-plugin.version>0.13</maven.rat-plugin.version>
95 <maven.resources-plugin.version>3.2.0</maven.resources-plugin.version>
96 <maven.site-plugin.version>3.9.1</maven.site-plugin.version>
97 <maven.spotbugs-plugin.version>4.3.0</maven.spotbugs-plugin.version>
98 <maven.surefire-plugin.version>3.0.0-M5</maven.surefire-plugin.version>
99 <maven.versions-plugin.version>2.8.1</maven.versions-plugin.version>
100 <maven.test.skip>true</maven.test.skip>
101 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
102 <skipTests>true</skipTests>
103 <skipUnpack>true</skipUnpack>
104 <spotbugs.version>4.4.0</spotbugs.version>
105 </properties>
106
107 <dependencyManagement>
108 <dependencies>
109 <dependency>
110 <groupId>org.junit.jupiter</groupId>
111 <artifactId>junit-jupiter-engine</artifactId>
112 <version>${junit5.version}</version>
113 <scope>test</scope>
114 </dependency>
115 <dependency>
116 <groupId>org.junit.jupiter</groupId>
117 <artifactId>junit-jupiter-api</artifactId>
118 <version>${junit5.version}</version>
119 <scope>test</scope>
120 </dependency>
121 </dependencies>
122 </dependencyManagement>
123
124 <build>
125 <!-- NOTE: Some plugin configuration is set in the reporting section below as opposed to here by design -->
126 <!-- antrun and assembly are the other two plugins that we could define versions for but we don't use them -->
127 <pluginManagement>
128 <plugins>
129 <plugin>
130 <groupId>com.github.spotbugs</groupId>
131 <artifactId>spotbugs-maven-plugin</artifactId>
132 <version>${maven.spotbugs-plugin.version}</version>
133 <dependencies>
134 <dependency>
135 <groupId>com.github.spotbugs</groupId>
136 <artifactId>spotbugs</artifactId>
137 <version>${spotbugs.version}</version>
138 </dependency>
139 </dependencies>
140 </plugin>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-changes-plugin</artifactId>
144 <version>${maven.changes-plugin.version}</version>
145 </plugin>
146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-checkstyle-plugin</artifactId>
149 <version>${maven.checkstyle-plugin.version}</version>
150 <dependencies>
151 <dependency>
152 <groupId>com.puppycrawl.tools</groupId>
153 <artifactId>checkstyle</artifactId>
154 <version>${checkstyle.version}</version>
155 </dependency>
156 </dependencies>
157 </plugin>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-clean-plugin</artifactId>
161 <version>${maven.clean-plugin.version}</version>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-compiler-plugin</artifactId>
166 <version>${maven.compiler-plugin.version}</version>
167 <configuration>
168 <compilerArgs>
169 <arg>--module-version=${project.version}</arg>
170 <arg>-Xlint:unchecked</arg>
171 </compilerArgs>
172 </configuration>
173 </plugin>
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-dependency-plugin</artifactId>
177 <version>${maven.dependency-plugin.version}</version>
178 </plugin>
179 <plugin>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-deploy-plugin</artifactId>
182 <version>${maven.deploy-plugin.version}</version>
183 </plugin>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-enforcer-plugin</artifactId>
187 <version>${maven.enforcer-plugin.version}</version>
188 <executions>
189 <execution>
190 <id>enforce-maven</id>
191 <goals>
192 <goal>enforce</goal>
193 </goals>
194 <configuration>
195 <rules>
196 <requireMavenVersion>
197 <version>3.8.2</version>
198 </requireMavenVersion>
199 </rules>
200 </configuration>
201 </execution>
202 </executions>
203 </plugin>
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-install-plugin</artifactId>
207 <version>${maven.install-plugin.version}</version>
208 </plugin>
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-jar-plugin</artifactId>
212 <version>${maven.jar-plugin.version}</version>
213 </plugin>
214 <plugin>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-jxr-plugin</artifactId>
217 <version>${maven.jxr-plugin.version}</version>
218 </plugin>
219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-pmd-plugin</artifactId>
222 <version>${maven.pmd-plugin.version}</version>
223 </plugin>
224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-surefire-plugin</artifactId>
227 <version>${maven.surefire-plugin.version}</version>
228 </plugin>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-site-plugin</artifactId>
232 <version>${maven.site-plugin.version}</version>
233 </plugin>
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-project-info-reports-plugin</artifactId>
237 <version>${maven.project-info-reports-plugin.version}</version>
238 </plugin>
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-resources-plugin</artifactId>
242 <version>${maven.resources-plugin.version}</version>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.rat</groupId>
246 <artifactId>apache-rat-plugin</artifactId>
247 <version>${maven.rat-plugin.version}</version>
248 </plugin>
249 <plugin>
250 <groupId>org.codehaus.mojo</groupId>
251 <artifactId>license-maven-plugin</artifactId>
252 <version>${maven.license-plugin.version}</version>
253 </plugin>
254 <plugin>
255 <groupId>org.codehaus.mojo</groupId>
256 <artifactId>versions-maven-plugin</artifactId>
257 <version>${maven.versions-plugin.version}</version>
258 </plugin>
259 <plugin>
260 <groupId>org.jacoco</groupId>
261 <artifactId>jacoco-maven-plugin</artifactId>
262 <version>${maven.jacoco-plugin.version}</version>
263 <executions>
264 <execution>
265 <goals>
266 <goal>prepare-agent</goal>
267 </goals>
268 </execution>
269 <execution>
270 <id>report</id>
271 <phase>prepare-package</phase>
272 <goals>
273 <goal>report</goal>
274 </goals>
275 </execution>
276 </executions>
277 </plugin>
278 </plugins>
279 </pluginManagement>
280
281 <plugins>
282 <plugin>
283 <groupId>com.github.spotbugs</groupId>
284 <artifactId>spotbugs-maven-plugin</artifactId>
285 </plugin>
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-dependency-plugin</artifactId>
289 <version>${maven.dependency-plugin.version}</version>
290 <inherited>false</inherited>
291 <executions>
292 <execution>
293 <id>download-test-logs</id>
294 <phase>process-test-resources</phase>
295 <goals>
296 <goal>unpack</goal>
297 </goals>
298 <configuration>
299 <skip>${skipUnpack}</skip>
300 <artifactItems>
301 <artifactItem>
302 <groupId>com.microsoft.gctoolkit</groupId>
303 <artifactId>gctoolkit-gclogs</artifactId>
304 <version>${gctoolkit-testdata-version}</version>
305 <type>zip</type>
306 </artifactItem>
307 <artifactItem>
308 <groupId>com.microsoft.gctoolkit</groupId>
309 <artifactId>gctoolkit-gclogs-rolling</artifactId>
310 <version>${gctoolkit-testdata-version}</version>
311 <type>zip</type>
312 </artifactItem>
313 <artifactItem>
314 <groupId>com.microsoft.gctoolkit</groupId>
315 <artifactId>gctoolkit-shenandoah-logs</artifactId>
316 <version>${gctoolkit-testdata-version}</version>
317 <type>zip</type>
318 </artifactItem>
319 <artifactItem>
320 <groupId>com.microsoft.gctoolkit</groupId>
321 <artifactId>gctoolkit-zgc-logs</artifactId>
322 <version>${gctoolkit-testdata-version}</version>
323 <type>zip</type>
324 </artifactItem>
325 </artifactItems>
326 <includes>**/*</includes>
327 <outputDirectory>${project.basedir}/gclogs
328 </outputDirectory>
329 </configuration>
330 </execution>
331 </executions>
332 </plugin>
333 <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-enforcer-plugin</artifactId>
336 </plugin>
337
338 </plugins>
339 </build>
340
341 <!-- If versions are not explicitly set it means they're inheriting from hte pluginManagement section above -->
342 <reporting>
343 <plugins>
344 <plugin>
345 <groupId>com.github.spotbugs</groupId>
346 <artifactId>spotbugs-maven-plugin</artifactId>
347 <configuration>
348 <plugins>
349 <plugin>
350 <groupId>org.mutabilitydetector</groupId>
351 <artifactId>MutabilityDetector4FindBugs</artifactId>
352 <version>0.9.1</version>
353 </plugin>
354 </plugins>
355 </configuration>
356 </plugin>
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-changes-plugin</artifactId>
360 <!-- TODO This configuration is only for when we produce GitHub published reports -->
361 <configuration>
362 <githubAPIScheme>https</githubAPIScheme>
363 <githubAPIPort>443</githubAPIPort>
364 <includeOpenIssues>false</includeOpenIssues>
365 <onlyCurrentVersion>false</onlyCurrentVersion>
366 </configuration>
367 <reportSets>
368 <reportSet>
369 <reports>
370 <report>changes-report</report>
371 <!-- TODO -->
372 <!-- <report>github-report</report> -->
373 </reports>
374 </reportSet>
375 </reportSets>
376 </plugin>
377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-checkstyle-plugin</artifactId>
380 <reportSets>
381 <reportSet>
382 <reports>
383 <report>checkstyle</report>
384 </reports>
385 </reportSet>
386 </reportSets>
387 </plugin>
388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-dependency-plugin</artifactId>
391 </plugin>
392 <plugin>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-jxr-plugin</artifactId>
395 </plugin>
396 <plugin>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-pmd-plugin</artifactId>
399 <configuration>
400 <targetJdk>${maven.compiler.release}</targetJdk>
401 </configuration>
402 </plugin>
403 <plugin>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-project-info-reports-plugin</artifactId>
406 </plugin>
407 <plugin>
408 <groupId>org.apache.rat</groupId>
409 <artifactId>apache-rat-plugin</artifactId>
410 </plugin>
411 <!-- TODO https://github.com/microsoft/gctoolkit/issues/68 -->
412 <!--
413 <plugin>
414 <groupId>org.codehaus.mojo</groupId>
415 <artifactId>license-maven-plugin</artifactId>
416 </plugin>
417 -->
418 <plugin>
419 <groupId>org.codehaus.mojo</groupId>
420 <artifactId>versions-maven-plugin</artifactId>
421 <reportSets>
422 <reportSet>
423 <reports>
424 <report>dependency-updates-report</report>
425 <report>plugin-updates-report</report>
426 <report>property-updates-report</report>
427 </reports>
428 </reportSet>
429 </reportSets>
430 </plugin>
431 <plugin>
432 <groupId>org.jacoco</groupId>
433 <artifactId>jacoco-maven-plugin</artifactId>
434 <version>${maven.jacoco-plugin.version}</version>
435 </plugin>
436 </plugins>
437 </reporting>
438
439 <profiles>
440 <!-- profile for downloading test log data,checks and running test -->
441 <profile>
442 <id>contributor</id>
443 <properties>
444 <maven.test.skip>false</maven.test.skip>
445 <skipTests>false</skipTests>
446 <skipUnpack>false</skipUnpack>
447 </properties>
448 </profile>
449 </profiles>
450</project>