microsoft/gctoolkit

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
865ee5d7c21c00920e29db2b7c0c03b5d5e2ef4f

Branches

Tags

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

Clone

HTTPS

Download ZIP

pom.xml

275lines · 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>8.45.1</checkstyle.version>
76 <gctoolkit-testdata-version>1.0.2</gctoolkit-testdata-version>
77 <junit5.version>5.7.2</junit5.version>
78 <maven.checkstyle-plugin.version>3.1.2</maven.checkstyle-plugin.version>
79 <maven.compiler-plugin.version>3.8.1</maven.compiler-plugin.version>
80 <maven.compiler.release>11</maven.compiler.release>
81 <maven.dependency-plugin.version>3.1.1</maven.dependency-plugin.version>
82 <maven.jacoco-plugin.version>0.8.7</maven.jacoco-plugin.version>
83 <maven.jar-plugin.version>3.2.0</maven.jar-plugin.version>
84 <maven.javadoc-plugin.version>3.3.0</maven.javadoc-plugin.version>
85 <maven.project-info-reports-plugin.version>3.0.0</maven.project-info-reports-plugin.version>
86 <maven.site-plugin.version>3.7.1</maven.site-plugin.version>
87 <maven.spotbugs-plugin.version>4.3.0</maven.spotbugs-plugin.version>
88 <maven.surefire-plugin.version>3.0.0-M5</maven.surefire-plugin.version>
89 <maven.test.skip>true</maven.test.skip>
90 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
91 <skipTests>true</skipTests>
92 <skipUnpack>true</skipUnpack>
93 <spotbugs.version>4.3.0</spotbugs.version>
94 </properties>
95
96 <dependencyManagement>
97 <dependencies>
98 <dependency>
99 <groupId>org.junit.jupiter</groupId>
100 <artifactId>junit-jupiter-engine</artifactId>
101 <version>${junit5.version}</version>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
105 <groupId>org.junit.jupiter</groupId>
106 <artifactId>junit-jupiter-api</artifactId>
107 <version>${junit5.version}</version>
108 <scope>test</scope>
109 </dependency>
110 </dependencies>
111 </dependencyManagement>
112
113 <build>
114 <pluginManagement>
115 <plugins>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-compiler-plugin</artifactId>
119 <version>${maven.compiler-plugin.version}</version>
120 <configuration>
121 <compilerArgs>
122 <arg>--module-version=${project.version}</arg>
123 <arg>-Xlint:unchecked</arg>
124 </compilerArgs>
125 </configuration>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-jar-plugin</artifactId>
130 <version>${maven.jar-plugin.version}</version>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-surefire-plugin</artifactId>
135 <version>${maven.surefire-plugin.version}</version>
136 </plugin>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-site-plugin</artifactId>
140 <version>${maven.site-plugin.version}</version>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-project-info-reports-plugin</artifactId>
145 <version>${maven.project-info-reports-plugin.version}</version>
146 </plugin>
147 <plugin>
148 <groupId>com.github.spotbugs</groupId>
149 <artifactId>spotbugs-maven-plugin</artifactId>
150 <version>${maven.spotbugs-plugin.version}</version>
151 <dependencies>
152 <dependency>
153 <groupId>com.github.spotbugs</groupId>
154 <artifactId>spotbugs</artifactId>
155 <version>${spotbugs.version}</version>
156 </dependency>
157 </dependencies>
158 </plugin>
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-checkstyle-plugin</artifactId>
162 <version>${maven.checkstyle-plugin.version}</version>
163 <dependencies>
164 <dependency>
165 <groupId>com.puppycrawl.tools</groupId>
166 <artifactId>checkstyle</artifactId>
167 <version>${checkstyle.version}</version>
168 </dependency>
169 </dependencies>
170 </plugin>
171 <plugin>
172 <groupId>org.jacoco</groupId>
173 <artifactId>jacoco-maven-plugin</artifactId>
174 <version>${maven.jacoco-plugin.version}</version>
175 <executions>
176 <execution>
177 <goals>
178 <goal>prepare-agent</goal>
179 </goals>
180 </execution>
181 <execution>
182 <id>report</id>
183 <phase>prepare-package</phase>
184 <goals>
185 <goal>report</goal>
186 </goals>
187 </execution>
188 </executions>
189 </plugin>
190 </plugins>
191 </pluginManagement>
192 <plugins>
193 <plugin>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-dependency-plugin</artifactId>
196 <version>${maven.dependency-plugin.version}</version>
197 <inherited>false</inherited>
198 <executions>
199 <execution>
200 <id>download-test-logs</id>
201 <phase>process-test-resources</phase>
202 <goals>
203 <goal>unpack</goal>
204 </goals>
205 <configuration>
206 <skip>${skipUnpack}</skip>
207 <artifactItems>
208 <artifactItem>
209 <groupId>com.microsoft.gctoolkit</groupId>
210 <artifactId>gctoolkit-gclogs</artifactId>
211 <version>${gctoolkit-testdata-version}</version>
212 <type>zip</type>
213 </artifactItem>
214 <artifactItem>
215 <groupId>com.microsoft.gctoolkit</groupId>
216 <artifactId>gctoolkit-gclogs-rolling</artifactId>
217 <version>${gctoolkit-testdata-version}</version>
218 <type>zip</type>
219 </artifactItem>
220 <artifactItem>
221 <groupId>com.microsoft.gctoolkit</groupId>
222 <artifactId>gctoolkit-shenandoah-logs</artifactId>
223 <version>${gctoolkit-testdata-version}</version>
224 <type>zip</type>
225 </artifactItem>
226 <artifactItem>
227 <groupId>com.microsoft.gctoolkit</groupId>
228 <artifactId>gctoolkit-zgc-logs</artifactId>
229 <version>${gctoolkit-testdata-version}</version>
230 <type>zip</type>
231 </artifactItem>
232 </artifactItems>
233 <includes>**/*</includes>
234 <outputDirectory>${project.basedir}/gclogs
235 </outputDirectory>
236 </configuration>
237 </execution>
238 </executions>
239 </plugin>
240 <!--Spotbugs plugin-->
241 <plugin>
242 <groupId>com.github.spotbugs</groupId>
243 <artifactId>spotbugs-maven-plugin</artifactId>
244 </plugin>
245
246 </plugins>
247 </build>
248
249 <reporting>
250 <plugins>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-checkstyle-plugin</artifactId>
254 <reportSets>
255 <reportSet>
256 <reports>
257 <report>checkstyle</report>
258 </reports>
259 </reportSet>
260 </reportSets>
261 </plugin>
262 </plugins>
263 </reporting>
264 <profiles>
265 <!-- profile for downloading test log data,checks and running test-->
266 <profile>
267 <id>contributor</id>
268 <properties>
269 <maven.test.skip>false</maven.test.skip>
270 <skipTests>false</skipTests>
271 <skipUnpack>false</skipUnpack>
272 </properties>
273 </profile>
274 </profiles>
275</project>