|
22 | 22 | <properties> |
23 | 23 | <project.root>${basedir}/..</project.root> |
24 | 24 | <dist.key>SDCASS</dist.key> |
| 25 | + |
| 26 | + <!-- Observability --> |
| 27 | + <micrometer-docs-generator.version>1.0.0-SNAPSHOT</micrometer-docs-generator.version> |
| 28 | + <micrometer-docs-generator.inputPath>${maven.multiModuleProjectDirectory}/spring-data-cassandra/ |
| 29 | + </micrometer-docs-generator.inputPath> |
| 30 | + <micrometer-docs-generator.inclusionPattern>.*</micrometer-docs-generator.inclusionPattern> |
| 31 | + <micrometer-docs-generator.outputPath>${maven.multiModuleProjectDirectory}/target/ |
| 32 | + </micrometer-docs-generator.outputPath> |
25 | 33 | </properties> |
26 | 34 |
|
27 | 35 | <build> |
|
30 | 38 | <groupId>org.apache.maven.plugins</groupId> |
31 | 39 | <artifactId>maven-assembly-plugin</artifactId> |
32 | 40 | </plugin> |
| 41 | + <plugin> |
| 42 | + <groupId>org.codehaus.mojo</groupId> |
| 43 | + <artifactId>exec-maven-plugin</artifactId> |
| 44 | + <executions> |
| 45 | + <execution> |
| 46 | + <id>generate-metrics-metadata</id> |
| 47 | + <phase>prepare-package</phase> |
| 48 | + <goals> |
| 49 | + <goal>java</goal> |
| 50 | + </goals> |
| 51 | + <configuration> |
| 52 | + <mainClass>io.micrometer.docs.metrics.DocsFromSources</mainClass> |
| 53 | + </configuration> |
| 54 | + </execution> |
| 55 | + <execution> |
| 56 | + <id>generate-tracing-metadata</id> |
| 57 | + <phase>prepare-package</phase> |
| 58 | + <goals> |
| 59 | + <goal>java</goal> |
| 60 | + </goals> |
| 61 | + <configuration> |
| 62 | + <mainClass>io.micrometer.docs.spans.DocsFromSources</mainClass> |
| 63 | + </configuration> |
| 64 | + </execution> |
| 65 | + </executions> |
| 66 | + <dependencies> |
| 67 | + <dependency> |
| 68 | + <groupId>io.micrometer</groupId> |
| 69 | + <artifactId>micrometer-docs-generator-spans</artifactId> |
| 70 | + <version>${micrometer-docs-generator.version}</version> |
| 71 | + <type>jar</type> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>io.micrometer</groupId> |
| 75 | + <artifactId>micrometer-docs-generator-metrics</artifactId> |
| 76 | + <version>${micrometer-docs-generator.version}</version> |
| 77 | + <type>jar</type> |
| 78 | + </dependency> |
| 79 | + </dependencies> |
| 80 | + <configuration> |
| 81 | + <includePluginDependencies>true</includePluginDependencies> |
| 82 | + <arguments> |
| 83 | + <argument>${micrometer-docs-generator.inputPath}</argument> |
| 84 | + <argument>${micrometer-docs-generator.inclusionPattern}</argument> |
| 85 | + <argument>${micrometer-docs-generator.outputPath}</argument> |
| 86 | + </arguments> |
| 87 | + </configuration> |
| 88 | + </plugin> |
33 | 89 | <plugin> |
34 | 90 | <groupId>org.asciidoctor</groupId> |
35 | 91 | <artifactId>asciidoctor-maven-plugin</artifactId> |
36 | 92 | </plugin> |
37 | 93 | </plugins> |
38 | 94 | </build> |
39 | 95 |
|
| 96 | + <repositories> |
| 97 | + <repository> |
| 98 | + <id>spring-snapshots</id> |
| 99 | + <name>Spring Snapshots</name> |
| 100 | + <url>https://repo.spring.io/snapshot</url> <!-- For Snapshots --> |
| 101 | + <snapshots> |
| 102 | + <enabled>true</enabled> |
| 103 | + </snapshots> |
| 104 | + <releases> |
| 105 | + <enabled>false</enabled> |
| 106 | + </releases> |
| 107 | + </repository> |
| 108 | + <repository> |
| 109 | + <id>spring-milestones</id> |
| 110 | + <name>Spring Milestones</name> |
| 111 | + <url>https://repo.spring.io/milestone</url> <!-- For Milestones --> |
| 112 | + <snapshots> |
| 113 | + <enabled>false</enabled> |
| 114 | + </snapshots> |
| 115 | + </repository> |
| 116 | + </repositories> |
| 117 | + |
| 118 | + <pluginRepositories> |
| 119 | + <pluginRepository> |
| 120 | + <id>spring-snapshots</id> |
| 121 | + <name>Spring Snapshots</name> |
| 122 | + <url>https://repo.spring.io/snapshot</url> <!-- For Snapshots --> |
| 123 | + <snapshots> |
| 124 | + <enabled>true</enabled> |
| 125 | + </snapshots> |
| 126 | + <releases> |
| 127 | + <enabled>false</enabled> |
| 128 | + </releases> |
| 129 | + </pluginRepository> |
| 130 | + <pluginRepository> |
| 131 | + <id>spring-milestones</id> |
| 132 | + <name>Spring Milestones</name> |
| 133 | + <url>https://repo.spring.io/milestone</url> <!-- For Milestones --> |
| 134 | + <snapshots> |
| 135 | + <enabled>false</enabled> |
| 136 | + </snapshots> |
| 137 | + </pluginRepository> |
| 138 | + </pluginRepositories> |
| 139 | + |
40 | 140 | </project> |
0 commit comments