Skip to content

Commit 2caa0f7

Browse files
committed
Add Micrometer and Micrometer Tracing snapshots.
Resolves #1689.
1 parent f28a391 commit 2caa0f7

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

parent/pom.xml

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
34

45
<!--
56
@@ -118,6 +119,8 @@
118119
<kotlin-coroutines>1.6.0</kotlin-coroutines>
119120
<logback>1.2.5</logback>
120121
<lombok>1.18.20</lombok>
122+
<micrometer>2.0.0-SNAPSHOT</micrometer>
123+
<micrometer-tracing>1.0.0-SNAPSHOT</micrometer-tracing>
121124
<mockito>4.4.0</mockito>
122125
<mockk>1.12.3</mockk>
123126
<querydsl>5.0.0</querydsl>
@@ -183,7 +186,8 @@
183186

184187
<module name="io.spring.nohttp.checkstyle.check.NoHttpCheck">
185188
<!-- XML requires double escaping, config gets XML-processed twice -->
186-
<property name="allowlist" value="http://www\.querydsl\.com.*&amp;#10;http://www\.prowaveconsulting\.com.*&amp;#10;http://www\.scispike\.com.*&amp;#10;http://.*.icu-project\.org.*"/>
189+
<property name="allowlist"
190+
value="http://www\.querydsl\.com.*&amp;#10;http://www\.prowaveconsulting\.com.*&amp;#10;http://www\.scispike\.com.*&amp;#10;http://.*.icu-project\.org.*"/>
187191
</module>
188192
</module>
189193
</checkstyleRules>
@@ -239,7 +243,8 @@
239243
<exclude>org.springframework.data:*</exclude>
240244
</excludes>
241245
</requireReleaseDeps>
242-
<NoSnapshotDependenciesInDependencyManagementRule implementation="de.smartics.maven.enforcer.rule.NoSnapshotsInDependencyManagementRule">
246+
<NoSnapshotDependenciesInDependencyManagementRule
247+
implementation="de.smartics.maven.enforcer.rule.NoSnapshotsInDependencyManagementRule">
243248
<onlyWhenRelease>true</onlyWhenRelease>
244249
</NoSnapshotDependenciesInDependencyManagementRule>
245250
</rules>
@@ -403,7 +408,8 @@
403408
<copy failonerror="false" todir="${generated-asciidoc-sources.directory}/">
404409
<fileset dir="${project.root}/src/main/asciidoc" includes="**/*.adoc"/>
405410
</copy>
406-
<copy failonerror="false" todir="${generated-asciidoc-sources.directory}/images/">
411+
<copy failonerror="false"
412+
todir="${generated-asciidoc-sources.directory}/images/">
407413
<fileset dir="${project.root}/src/main/asciidoc/images"/>
408414
</copy>
409415

@@ -427,7 +433,8 @@
427433
<target>
428434

429435
<!-- Copy files for the single-file HTML version -->
430-
<copy failonerror="false" todir="${project.root}/target/site/reference/html/images">
436+
<copy failonerror="false"
437+
todir="${project.root}/target/site/reference/html/images">
431438
<fileset dir="${generated-docs.directory}/images"/>
432439
</copy>
433440

@@ -451,10 +458,12 @@
451458
</copy>
452459

453460
<!-- Copy and rename the Epub file -->
454-
<copy failonerror="false" file="${generated-docs.directory}/index.pdf" tofile="${project.root}/target/site/reference/pdf/${dist.id}-reference.pdf"/>
461+
<copy failonerror="false" file="${generated-docs.directory}/index.pdf"
462+
tofile="${project.root}/target/site/reference/pdf/${dist.id}-reference.pdf"/>
455463

456464
<!-- Copy and rename the PDF file -->
457-
<copy failonerror="false" file="${generated-docs.directory}/index.epub" tofile="${project.root}/target/site/reference/epub/${dist.id}-reference.epub"/>
465+
<copy failonerror="false" file="${generated-docs.directory}/index.epub"
466+
tofile="${project.root}/target/site/reference/epub/${dist.id}-reference.epub"/>
458467

459468
</target>
460469
</configuration>
@@ -835,6 +844,20 @@
835844
<type>pom</type>
836845
<scope>import</scope>
837846
</dependency>
847+
<dependency>
848+
<groupId>io.micrometer</groupId>
849+
<artifactId>micrometer-bom</artifactId>
850+
<version>${micrometer}</version>
851+
<type>pom</type>
852+
<scope>import</scope>
853+
</dependency>
854+
<dependency>
855+
<groupId>io.micrometer</groupId>
856+
<artifactId>micrometer-tracing-bom</artifactId>
857+
<version>${micrometer-tracing}</version>
858+
<type>pom</type>
859+
<scope>import</scope>
860+
</dependency>
838861
<dependency>
839862
<groupId>org.springframework</groupId>
840863
<artifactId>spring-framework-bom</artifactId>

0 commit comments

Comments
 (0)