microsoft/gctoolkit
Publicmirrored fromhttps://github.com/microsoft/gctoolkitAvailable
pom.xml
274lines · 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>http://microsoft.com</url> |
| 18 | </organization> |
| 19 | |
| 20 | <licenses> |
| 21 | <license> |
| 22 | <name>MIT License</name> |
| 23 | <url>http://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 | </compilerArgs> |
| 124 | </configuration> |
| 125 | </plugin> |
| 126 | <plugin> |
| 127 | <groupId>org.apache.maven.plugins</groupId> |
| 128 | <artifactId>maven-jar-plugin</artifactId> |
| 129 | <version>${maven.jar-plugin.version}</version> |
| 130 | </plugin> |
| 131 | <plugin> |
| 132 | <groupId>org.apache.maven.plugins</groupId> |
| 133 | <artifactId>maven-surefire-plugin</artifactId> |
| 134 | <version>${maven.surefire-plugin.version}</version> |
| 135 | </plugin> |
| 136 | <plugin> |
| 137 | <groupId>org.apache.maven.plugins</groupId> |
| 138 | <artifactId>maven-site-plugin</artifactId> |
| 139 | <version>${maven.site-plugin.version}</version> |
| 140 | </plugin> |
| 141 | <plugin> |
| 142 | <groupId>org.apache.maven.plugins</groupId> |
| 143 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 144 | <version>${maven.project-info-reports-plugin.version}</version> |
| 145 | </plugin> |
| 146 | <plugin> |
| 147 | <groupId>com.github.spotbugs</groupId> |
| 148 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 149 | <version>${maven.spotbugs-plugin.version}</version> |
| 150 | <dependencies> |
| 151 | <dependency> |
| 152 | <groupId>com.github.spotbugs</groupId> |
| 153 | <artifactId>spotbugs</artifactId> |
| 154 | <version>${spotbugs.version}</version> |
| 155 | </dependency> |
| 156 | </dependencies> |
| 157 | </plugin> |
| 158 | <plugin> |
| 159 | <groupId>org.apache.maven.plugins</groupId> |
| 160 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 161 | <version>${maven.checkstyle-plugin.version}</version> |
| 162 | <dependencies> |
| 163 | <dependency> |
| 164 | <groupId>com.puppycrawl.tools</groupId> |
| 165 | <artifactId>checkstyle</artifactId> |
| 166 | <version>${checkstyle.version}</version> |
| 167 | </dependency> |
| 168 | </dependencies> |
| 169 | </plugin> |
| 170 | <plugin> |
| 171 | <groupId>org.jacoco</groupId> |
| 172 | <artifactId>jacoco-maven-plugin</artifactId> |
| 173 | <version>${maven.jacoco-plugin.version}</version> |
| 174 | <executions> |
| 175 | <execution> |
| 176 | <goals> |
| 177 | <goal>prepare-agent</goal> |
| 178 | </goals> |
| 179 | </execution> |
| 180 | <execution> |
| 181 | <id>report</id> |
| 182 | <phase>prepare-package</phase> |
| 183 | <goals> |
| 184 | <goal>report</goal> |
| 185 | </goals> |
| 186 | </execution> |
| 187 | </executions> |
| 188 | </plugin> |
| 189 | </plugins> |
| 190 | </pluginManagement> |
| 191 | <plugins> |
| 192 | <plugin> |
| 193 | <groupId>org.apache.maven.plugins</groupId> |
| 194 | <artifactId>maven-dependency-plugin</artifactId> |
| 195 | <version>${maven.dependency-plugin.version}</version> |
| 196 | <inherited>false</inherited> |
| 197 | <executions> |
| 198 | <execution> |
| 199 | <id>download-test-logs</id> |
| 200 | <phase>process-test-resources</phase> |
| 201 | <goals> |
| 202 | <goal>unpack</goal> |
| 203 | </goals> |
| 204 | <configuration> |
| 205 | <skip>${skipUnpack}</skip> |
| 206 | <artifactItems> |
| 207 | <artifactItem> |
| 208 | <groupId>com.microsoft.gctoolkit</groupId> |
| 209 | <artifactId>gctoolkit-gclogs</artifactId> |
| 210 | <version>${gctoolkit-testdata-version}</version> |
| 211 | <type>zip</type> |
| 212 | </artifactItem> |
| 213 | <artifactItem> |
| 214 | <groupId>com.microsoft.gctoolkit</groupId> |
| 215 | <artifactId>gctoolkit-gclogs-rolling</artifactId> |
| 216 | <version>${gctoolkit-testdata-version}</version> |
| 217 | <type>zip</type> |
| 218 | </artifactItem> |
| 219 | <artifactItem> |
| 220 | <groupId>com.microsoft.gctoolkit</groupId> |
| 221 | <artifactId>gctoolkit-shenandoah-logs</artifactId> |
| 222 | <version>${gctoolkit-testdata-version}</version> |
| 223 | <type>zip</type> |
| 224 | </artifactItem> |
| 225 | <artifactItem> |
| 226 | <groupId>com.microsoft.gctoolkit</groupId> |
| 227 | <artifactId>gctoolkit-zgc-logs</artifactId> |
| 228 | <version>${gctoolkit-testdata-version}</version> |
| 229 | <type>zip</type> |
| 230 | </artifactItem> |
| 231 | </artifactItems> |
| 232 | <includes>**/*</includes> |
| 233 | <outputDirectory>${project.basedir}/gclogs |
| 234 | </outputDirectory> |
| 235 | </configuration> |
| 236 | </execution> |
| 237 | </executions> |
| 238 | </plugin> |
| 239 | <!--Spotbugs plugin--> |
| 240 | <plugin> |
| 241 | <groupId>com.github.spotbugs</groupId> |
| 242 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 243 | </plugin> |
| 244 | |
| 245 | </plugins> |
| 246 | </build> |
| 247 | |
| 248 | <reporting> |
| 249 | <plugins> |
| 250 | <plugin> |
| 251 | <groupId>org.apache.maven.plugins</groupId> |
| 252 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 253 | <reportSets> |
| 254 | <reportSet> |
| 255 | <reports> |
| 256 | <report>checkstyle</report> |
| 257 | </reports> |
| 258 | </reportSet> |
| 259 | </reportSets> |
| 260 | </plugin> |
| 261 | </plugins> |
| 262 | </reporting> |
| 263 | <profiles> |
| 264 | <!-- profile for downloading test log data,checks and running test--> |
| 265 | <profile> |
| 266 | <id>contributor</id> |
| 267 | <properties> |
| 268 | <maven.test.skip>false</maven.test.skip> |
| 269 | <skipTests>false</skipTests> |
| 270 | <skipUnpack>false</skipUnpack> |
| 271 | </properties> |
| 272 | </profile> |
| 273 | </profiles> |
| 274 | </project> |
| 275 | |