| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533 |
- <?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">
- <packaging>pom</packaging>
- <modelVersion>4.0.0</modelVersion>
- <groupId>io.prometheus</groupId>
- <artifactId>client_java</artifactId>
- <version>1.3.5</version>
- <name>Prometheus Metrics Library</name>
- <url>http://github.com/prometheus/client_java</url>
- <description>
- The Prometheus Java Metrics Library
- </description>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <automatic.module.name>--module-name-need-to-be-overriden--</automatic.module.name>
- <junit-jupiter.version>5.11.3</junit-jupiter.version>
- <otel.instrumentation.version>2.10.0-alpha</otel.instrumentation.version>
- <java.version>8</java.version>
- <jacoco.line-coverage>0.70</jacoco.line-coverage>
- <checkstyle.skip>false</checkstyle.skip>
- <coverage.skip>false</coverage.skip>
- <warnings>-Werror</warnings>
- </properties>
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <scm>
- <connection>scm:git:git@github.com:prometheus/client_java.git</connection>
- <developerConnection>scm:git:git@github.com:prometheus/client_java.git</developerConnection>
- <url>git@github.com:prometheus/client_java.git</url>
- <tag>HEAD</tag>
- </scm>
- <developers>
- <developer>
- <id>fstab</id>
- <name>Fabian Stäber</name>
- <email>fabian@fstab.de</email>
- </developer>
- <developer>
- <id>zeitlinger</id>
- <name>Gregor Zeitlinger</name>
- <email>gregor.zeitlinger@grafana.com</email>
- </developer>
- <developer>
- <id>dhoard</id>
- <name>Doug Hoard</name>
- <email>doug.hoard@gmail.com</email>
- </developer>
- </developers>
- <modules>
- <module>prometheus-metrics-bom</module>
- <module>prometheus-metrics-core</module>
- <module>prometheus-metrics-config</module>
- <module>prometheus-metrics-model</module>
- <module>prometheus-metrics-tracer</module>
- <module>prometheus-metrics-exposition-formats</module>
- <module>prometheus-metrics-exposition-textformats</module>
- <module>prometheus-metrics-exporter-common</module>
- <module>prometheus-metrics-exporter-servlet-jakarta</module>
- <module>prometheus-metrics-exporter-servlet-javax</module>
- <module>prometheus-metrics-exporter-httpserver</module>
- <module>prometheus-metrics-exporter-opentelemetry</module>
- <module>prometheus-metrics-exporter-opentelemetry-otel-agent-resources</module>
- <module>prometheus-metrics-exporter-pushgateway</module>
- <module>prometheus-metrics-instrumentation-caffeine</module>
- <module>prometheus-metrics-instrumentation-jvm</module>
- <module>prometheus-metrics-instrumentation-dropwizard5</module>
- <module>prometheus-metrics-instrumentation-dropwizard</module>
- <module>prometheus-metrics-instrumentation-guava</module>
- <module>prometheus-metrics-simpleclient-bridge</module>
- </modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>33.3.1-jre</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <version>3.0.2</version>
- <scope>provided</scope>
- </dependency>
- <!-- test dependencies -->
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${junit-jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${junit-jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>5.14.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>3.26.3</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>2.0.16</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit-pioneer</groupId>
- <artifactId>junit-pioneer</artifactId>
- <version>2.3.0</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <!-- Add plugin versions for reproducible builds. Versions for default bindings are taken from -->
- <!-- https://github.com/apache/maven/tree/maven-3.8.1/maven-core/src/main/resources/META-INF/plexus -->
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <version>3.1.3</version>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.3.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.13.0</version>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.5.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.4.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>3.1.3</version>
- </plugin>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.4.0</version>
- </plugin>
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.21.0</version>
- </plugin>
- <!-- Plugins with groupId org.apache.maven.plugins that are not part of default bindings. -->
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.6.0</version>
- </plugin>
- <plugin>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>3.5.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.8.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>3.11.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>3.2.7</version>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>3.3.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.5.0</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.6.0</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>3.5.0</version>
- </plugin>
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- <version>2.43.0</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- <configuration>
- <java>
- <googleJavaFormat/>
- </java>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>3.6.0</version>
- <configuration>
- <consoleOutput>true</consoleOutput>
- <configLocation>google_checks.xml</configLocation>
- <configLocation>checkstyle.xml</configLocation>
- <violationSeverity>warning</violationSeverity>
- <failOnViolation>true</failOnViolation>
- <skip>${checkstyle.skip}</skip>
- <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
- <excludes>**/generated/**,**/jmh_generated/*</excludes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.8.12</version>
- <configuration>
- <skip>${coverage.skip}</skip>
- <excludes>
- <exclude>**/generated/**</exclude>
- <exclude>**/*BlockingRejectedExecutionHandler*</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- </execution>
- <execution>
- <id>report</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- </execution>
- <execution>
- <id>check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <rules>
- <rule>
- <element>CLASS</element>
- <limits>
- <limit>
- <counter>LINE</counter>
- <value>COVEREDRATIO</value>
- <minimum>${jacoco.line-coverage}</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-plugin-versions</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requirePluginVersions>
- <unCheckedPluginList>org.springframework.boot:spring-boot-maven-plugin
- </unCheckedPluginList>
- </requirePluginVersions>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>6.0.0</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
- </instructions>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <release>${java.version}</release>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <testRelease>17</testRelease>
- <testSource>17</testSource>
- <testTarget>17</testTarget>
- <showWarnings>true</showWarnings>
- <compilerArgs>
- <arg>-Xlint:all,-serial,-processing,-options</arg>
- <arg>${warnings}</arg>
- <arg>--should-stop=ifError=FLOW</arg>
- <arg>-XDcompilePolicy=simple</arg>
- <arg>
- -Xplugin:ErrorProne
- -Xep:AlmostJavadoc:OFF
- -Xep:MissingSummary:OFF
- -Xep:LongDoubleConversion:OFF
- -Xep:StringSplitter:OFF
- -XepExcludedPaths:.*/generated/.*
- </arg>
- </compilerArgs>
- <annotationProcessorPaths>
- <path>
- <groupId>com.google.errorprone</groupId>
- <artifactId>error_prone_core</artifactId>
- <version>2.36.0</version>
- </path>
- <!-- Other annotation processors go here.
- If 'annotationProcessorPaths' is set, processors will no longer be
- discovered on the regular -classpath; see also 'Using Error Prone
- together with other annotation processors' below. -->
- </annotationProcessorPaths>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <version>2.18.0</version>
- <configuration>
- <rulesUri>file://${project.basedir}/version-rules.xml</rulesUri>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <!-- maven-site-plugin 3.3 requires maven-project-info-reports-plugin < 3.0 -->
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>3.8.0</version>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <reportSets>
- <reportSet>
- <id>aggregate</id>
- <inherited>false</inherited>
- <reports>
- <report>aggregate</report>
- </reports>
- </reportSet>
- <reportSet>
- <id>default</id>
- <reports>
- <report>javadoc</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
- <profiles>
- <profile>
- <id>default</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <modules>
- <module>examples</module>
- <module>benchmarks</module>
- <module>integration-tests</module>
- </modules>
- </profile>
- <profile>
- <id>javadoc</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <encoding>UTF-8</encoding>
- <docencoding>UTF-8</docencoding>
- <linksource>true</linksource>
- <noqualifier>all</noqualifier>
- <show>public</show>
- <excludePackageNames>io.prometheus.metrics.expositionformats.generated.*
- </excludePackageNames>
- <source>8</source>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <executions>
- <execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- <configuration>
- <gpgArguments>
- <arg>--pinentry-mode</arg>
- <arg>loopback</arg>
- </gpgArguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.sonatype.central</groupId>
- <artifactId>central-publishing-maven-plugin</artifactId>
- <version>0.6.0</version>
- <extensions>true</extensions>
- <configuration>
- <publishingServerId>ossrh</publishingServerId>
- <autoPublish>true</autoPublish>
- <waitUntil>published</waitUntil>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <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>
- </profile>
- </profiles>
- </project>
|