|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 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"> |
4 |
| - |
5 |
| - <modelVersion>4.0.0</modelVersion> |
6 |
| - |
7 |
| - <artifactId>spring-data-mongodb-distribution</artifactId> |
8 |
| - |
9 |
| - <packaging>pom</packaging> |
10 |
| - |
11 |
| - <name>Spring Data MongoDB - Distribution</name> |
12 |
| - <description>Distribution build for Spring Data MongoDB</description> |
13 |
| - |
14 |
| - <parent> |
15 |
| - <groupId>org.springframework.data</groupId> |
16 |
| - <artifactId>spring-data-mongodb-parent</artifactId> |
17 |
| - <version>4.0.0-TRACING-SNAPSHOT</version> |
18 |
| - <relativePath>../pom.xml</relativePath> |
19 |
| - </parent> |
20 |
| - |
21 |
| - <properties> |
22 |
| - <project.root>${basedir}/..</project.root> |
23 |
| - <dist.key>SDMONGO</dist.key> |
24 |
| - </properties> |
25 |
| - |
26 |
| - <build> |
27 |
| - <plugins> |
28 |
| - <plugin> |
29 |
| - <groupId>org.apache.maven.plugins</groupId> |
30 |
| - <artifactId>maven-assembly-plugin</artifactId> |
31 |
| - </plugin> |
32 |
| - <plugin> |
33 |
| - <groupId>org.asciidoctor</groupId> |
34 |
| - <artifactId>asciidoctor-maven-plugin</artifactId> |
35 |
| - <configuration> |
36 |
| - <attributes> |
37 |
| - <mongo-reactivestreams>${mongo.reactivestreams}</mongo-reactivestreams> |
38 |
| - <reactor>${reactor}</reactor> |
39 |
| - </attributes> |
40 |
| - </configuration> |
41 |
| - </plugin> |
42 |
| - </plugins> |
43 |
| - |
44 |
| - </build> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <artifactId>spring-data-mongodb-distribution</artifactId> |
| 8 | + |
| 9 | + <packaging>pom</packaging> |
| 10 | + |
| 11 | + <name>Spring Data MongoDB - Distribution</name> |
| 12 | + <description>Distribution build for Spring Data MongoDB</description> |
| 13 | + |
| 14 | + <parent> |
| 15 | + <groupId>org.springframework.data</groupId> |
| 16 | + <artifactId>spring-data-mongodb-parent</artifactId> |
| 17 | + <version>4.0.0-TRACING-SNAPSHOT</version> |
| 18 | + <relativePath>../pom.xml</relativePath> |
| 19 | + </parent> |
| 20 | + |
| 21 | + <properties> |
| 22 | + <project.root>${basedir}/..</project.root> |
| 23 | + <dist.key>SDMONGO</dist.key> |
| 24 | + |
| 25 | + <!-- Observability --> |
| 26 | + <micrometer-docs-generator.inputPath>${maven.multiModuleProjectDirectory}/spring-data-mongodb/ |
| 27 | + </micrometer-docs-generator.inputPath> |
| 28 | + <micrometer-docs-generator.inclusionPattern>.*</micrometer-docs-generator.inclusionPattern> |
| 29 | + <micrometer-docs-generator.outputPath>${maven.multiModuleProjectDirectory}/target/ |
| 30 | + </micrometer-docs-generator.outputPath> |
| 31 | + </properties> |
| 32 | + |
| 33 | + <build> |
| 34 | + <plugins> |
| 35 | + <plugin> |
| 36 | + <groupId>org.apache.maven.plugins</groupId> |
| 37 | + <artifactId>maven-assembly-plugin</artifactId> |
| 38 | + </plugin> |
| 39 | + <plugin> |
| 40 | + <groupId>org.codehaus.mojo</groupId> |
| 41 | + <artifactId>exec-maven-plugin</artifactId> |
| 42 | + <executions> |
| 43 | + <execution> |
| 44 | + <id>generate-metrics-metadata</id> |
| 45 | + <phase>prepare-package</phase> |
| 46 | + <goals> |
| 47 | + <goal>java</goal> |
| 48 | + </goals> |
| 49 | + <configuration> |
| 50 | + <mainClass>io.micrometer.docs.metrics.DocsFromSources</mainClass> |
| 51 | + </configuration> |
| 52 | + </execution> |
| 53 | + <execution> |
| 54 | + <id>generate-tracing-metadata</id> |
| 55 | + <phase>prepare-package</phase> |
| 56 | + <goals> |
| 57 | + <goal>java</goal> |
| 58 | + </goals> |
| 59 | + <configuration> |
| 60 | + <mainClass>io.micrometer.docs.spans.DocsFromSources</mainClass> |
| 61 | + </configuration> |
| 62 | + </execution> |
| 63 | + </executions> |
| 64 | + <dependencies> |
| 65 | + <dependency> |
| 66 | + <groupId>io.micrometer</groupId> |
| 67 | + <artifactId>micrometer-docs-generator-spans</artifactId> |
| 68 | + <version>${micrometer-tracing}</version> |
| 69 | + <type>jar</type> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>io.micrometer</groupId> |
| 73 | + <artifactId>micrometer-docs-generator-metrics</artifactId> |
| 74 | + <version>${micrometer-tracing}</version> |
| 75 | + <type>jar</type> |
| 76 | + </dependency> |
| 77 | + </dependencies> |
| 78 | + <configuration> |
| 79 | + <includePluginDependencies>true</includePluginDependencies> |
| 80 | + <arguments> |
| 81 | + <argument>${micrometer-docs-generator.inputPath}</argument> |
| 82 | + <argument>${micrometer-docs-generator.inclusionPattern}</argument> |
| 83 | + <argument>${micrometer-docs-generator.outputPath}</argument> |
| 84 | + </arguments> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <groupId>org.asciidoctor</groupId> |
| 89 | + <artifactId>asciidoctor-maven-plugin</artifactId> |
| 90 | + <configuration> |
| 91 | + <attributes> |
| 92 | + <mongo-reactivestreams>${mongo.reactivestreams}</mongo-reactivestreams> |
| 93 | + <reactor>${reactor}</reactor> |
| 94 | + </attributes> |
| 95 | + </configuration> |
| 96 | + </plugin> |
| 97 | + </plugins> |
| 98 | + |
| 99 | + </build> |
45 | 100 |
|
46 | 101 | </project>
|
0 commit comments