|
1 | 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> |
| 2 | +<project |
| 3 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 6 | + <modelVersion>4.0.0</modelVersion> |
5 | 7 |
|
6 | | - <parent> |
7 | | - <groupId>io.prometheus</groupId> |
8 | | - <artifactId>client_java</artifactId> |
9 | | - <version>1.4.0-SNAPSHOT</version> |
10 | | - </parent> |
| 8 | + <parent> |
| 9 | + <groupId>io.prometheus</groupId> |
| 10 | + <artifactId>client_java</artifactId> |
| 11 | + <version>1.4.0-SNAPSHOT</version> |
| 12 | + </parent> |
11 | 13 |
|
12 | | - <artifactId>benchmarks</artifactId> |
| 14 | + <artifactId>benchmarks</artifactId> |
13 | 15 |
|
14 | | - <name>Prometheus Java Client Benchmarks</name> |
15 | | - <description> |
16 | | - Benchmarks of client performance, and comparison to other systems. |
17 | | - </description> |
| 16 | + <name>Prometheus Java Client Benchmarks</name> |
| 17 | + <description> |
| 18 | + Benchmarks of client performance, and comparison to other systems. |
| 19 | + </description> |
18 | 20 |
|
19 | | - <properties> |
20 | | - <jmh.version>1.37</jmh.version> |
21 | | - <simpleclient.version>0.16.0</simpleclient.version> |
22 | | - <codahale.version>3.0.2</codahale.version> |
23 | | - <coverage.skip>true</coverage.skip> |
24 | | - </properties> |
25 | | - |
26 | | - <dependencyManagement> |
27 | | - <dependencies> |
28 | | - <dependency> |
29 | | - <groupId>io.opentelemetry.instrumentation</groupId> |
30 | | - <artifactId>opentelemetry-instrumentation-bom-alpha</artifactId> |
31 | | - <version>${otel.instrumentation.version}</version> |
32 | | - <type>pom</type> |
33 | | - <scope>import</scope> |
34 | | - </dependency> |
35 | | - </dependencies> |
36 | | - </dependencyManagement> |
| 21 | + <properties> |
| 22 | + <jmh.version>1.37</jmh.version> |
| 23 | + <simpleclient.version>0.16.0</simpleclient.version> |
| 24 | + <codahale.version>3.0.2</codahale.version> |
| 25 | + <coverage.skip>true</coverage.skip> |
| 26 | + </properties> |
37 | 27 |
|
| 28 | + <dependencyManagement> |
38 | 29 | <dependencies> |
39 | | - <dependency> |
40 | | - <groupId>org.openjdk.jmh</groupId> |
41 | | - <artifactId>jmh-core</artifactId> |
42 | | - <version>${jmh.version}</version> |
43 | | - </dependency> |
44 | | - <dependency> |
45 | | - <groupId>io.prometheus</groupId> |
46 | | - <artifactId>prometheus-metrics-core</artifactId> |
47 | | - <version>${project.version}</version> |
48 | | - </dependency> |
49 | | - <dependency> |
50 | | - <groupId>io.prometheus</groupId> |
51 | | - <artifactId>prometheus-metrics-exposition-textformats</artifactId> |
52 | | - <version>${project.version}</version> |
53 | | - </dependency> |
54 | | - <dependency> |
55 | | - <groupId>io.prometheus</groupId> |
56 | | - <artifactId>simpleclient</artifactId> |
57 | | - <version>${simpleclient.version}</version> |
58 | | - </dependency> |
59 | | - <dependency> |
60 | | - <groupId>com.codahale.metrics</groupId> |
61 | | - <artifactId>metrics-core</artifactId> |
62 | | - <version>${codahale.version}</version> |
63 | | - </dependency> |
64 | | - <dependency> |
65 | | - <groupId>io.opentelemetry</groupId> |
66 | | - <artifactId>opentelemetry-api</artifactId> |
67 | | - </dependency> |
68 | | - <dependency> |
69 | | - <groupId>io.opentelemetry</groupId> |
70 | | - <artifactId>opentelemetry-sdk</artifactId> |
71 | | - </dependency> |
72 | | - <dependency> |
73 | | - <groupId>io.opentelemetry</groupId> |
74 | | - <artifactId>opentelemetry-sdk-testing</artifactId> |
75 | | - </dependency> |
| 30 | + <dependency> |
| 31 | + <groupId>io.opentelemetry.instrumentation</groupId> |
| 32 | + <artifactId>opentelemetry-instrumentation-bom-alpha</artifactId> |
| 33 | + <version>${otel.instrumentation.version}</version> |
| 34 | + <type>pom</type> |
| 35 | + <scope>import</scope> |
| 36 | + </dependency> |
76 | 37 | </dependencies> |
77 | | - <build> |
78 | | - <finalName>${project.artifactId}</finalName> |
79 | | - <plugins> |
80 | | - <plugin> |
81 | | - <groupId>org.apache.maven.plugins</groupId> |
82 | | - <artifactId>maven-compiler-plugin</artifactId> |
83 | | - <configuration> |
84 | | - <source>1.8</source> |
85 | | - <target>1.8</target> |
86 | | - <compilerArgs> |
87 | | - <!-- need to add parameters to prevent inheritance --> |
88 | | - <arg>-parameters</arg> |
89 | | - </compilerArgs> |
90 | | - <annotationProcessorPaths> |
91 | | - <path> |
92 | | - <groupId>org.openjdk.jmh</groupId> |
93 | | - <artifactId>jmh-generator-annprocess</artifactId> |
94 | | - <version>${jmh.version}</version> |
95 | | - </path> |
96 | | - </annotationProcessorPaths> |
97 | | - </configuration> |
98 | | - </plugin> |
99 | | - <plugin> |
100 | | - <groupId>org.apache.maven.plugins</groupId> |
101 | | - <artifactId>maven-shade-plugin</artifactId> |
102 | | - <executions> |
103 | | - <execution> |
104 | | - <phase>package</phase> |
105 | | - <goals> |
106 | | - <goal>shade</goal> |
107 | | - </goals> |
108 | | - <configuration> |
109 | | - <finalName>benchmarks</finalName> |
110 | | - <transformers> |
111 | | - <transformer |
112 | | - implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
113 | | - <mainClass>io.prometheus.metrics.benchmarks.BenchmarkRunner</mainClass> |
114 | | - </transformer> |
115 | | - </transformers> |
116 | | - </configuration> |
117 | | - </execution> |
118 | | - </executions> |
119 | | - </plugin> |
120 | | - </plugins> |
121 | | - </build> |
| 38 | + </dependencyManagement> |
| 39 | + |
| 40 | + <dependencies> |
| 41 | + <dependency> |
| 42 | + <groupId>org.openjdk.jmh</groupId> |
| 43 | + <artifactId>jmh-core</artifactId> |
| 44 | + <version>${jmh.version}</version> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>io.prometheus</groupId> |
| 48 | + <artifactId>prometheus-metrics-core</artifactId> |
| 49 | + <version>${project.version}</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>io.prometheus</groupId> |
| 53 | + <artifactId>prometheus-metrics-exposition-textformats</artifactId> |
| 54 | + <version>${project.version}</version> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>io.prometheus</groupId> |
| 58 | + <artifactId>simpleclient</artifactId> |
| 59 | + <version>${simpleclient.version}</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>com.codahale.metrics</groupId> |
| 63 | + <artifactId>metrics-core</artifactId> |
| 64 | + <version>${codahale.version}</version> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>io.opentelemetry</groupId> |
| 68 | + <artifactId>opentelemetry-api</artifactId> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>io.opentelemetry</groupId> |
| 72 | + <artifactId>opentelemetry-sdk</artifactId> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>io.opentelemetry</groupId> |
| 76 | + <artifactId>opentelemetry-sdk-testing</artifactId> |
| 77 | + </dependency> |
| 78 | + </dependencies> |
| 79 | + <build> |
| 80 | + <finalName>${project.artifactId}</finalName> |
| 81 | + <plugins> |
| 82 | + <plugin> |
| 83 | + <groupId>org.apache.maven.plugins</groupId> |
| 84 | + <artifactId>maven-compiler-plugin</artifactId> |
| 85 | + <configuration> |
| 86 | + <source>1.8</source> |
| 87 | + <target>1.8</target> |
| 88 | + <compilerArgs> |
| 89 | + <!-- need to add parameters to prevent inheritance --> |
| 90 | + <arg>-parameters</arg> |
| 91 | + </compilerArgs> |
| 92 | + <annotationProcessorPaths> |
| 93 | + <path> |
| 94 | + <groupId>org.openjdk.jmh</groupId> |
| 95 | + <artifactId>jmh-generator-annprocess</artifactId> |
| 96 | + <version>${jmh.version}</version> |
| 97 | + </path> |
| 98 | + </annotationProcessorPaths> |
| 99 | + </configuration> |
| 100 | + </plugin> |
| 101 | + <plugin> |
| 102 | + <groupId>org.apache.maven.plugins</groupId> |
| 103 | + <artifactId>maven-shade-plugin</artifactId> |
| 104 | + <executions> |
| 105 | + <execution> |
| 106 | + <phase>package</phase> |
| 107 | + <goals> |
| 108 | + <goal>shade</goal> |
| 109 | + </goals> |
| 110 | + <configuration> |
| 111 | + <finalName>benchmarks</finalName> |
| 112 | + <transformers> |
| 113 | + <transformer |
| 114 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 115 | + <mainClass>io.prometheus.metrics.benchmarks.BenchmarkRunner |
| 116 | + </mainClass> |
| 117 | + </transformer> |
| 118 | + </transformers> |
| 119 | + </configuration> |
| 120 | + </execution> |
| 121 | + </executions> |
| 122 | + </plugin> |
| 123 | + </plugins> |
| 124 | + </build> |
122 | 125 | </project> |
0 commit comments