File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
spring-data-mongodb-distribution Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 22
22
<properties >
23
23
<project .root>${basedir} /..</project .root>
24
24
<dist .key>SDMONGO</dist .key>
25
+
26
+ <!-- Observability -->
27
+ <micrometer-docs-generator .inputPath>${maven.multiModuleProjectDirectory} /spring-data-mongodb/</micrometer-docs-generator .inputPath>
28
+ <micrometer-docs-generator .inclusionPattern>.*</micrometer-docs-generator .inclusionPattern>
29
+ <micrometer-docs-generator .outputPath>${maven.multiModuleProjectDirectory} /target/</micrometer-docs-generator .outputPath>
25
30
</properties >
26
31
27
32
<build >
30
35
<groupId >org.apache.maven.plugins</groupId >
31
36
<artifactId >maven-assembly-plugin</artifactId >
32
37
</plugin >
38
+ <plugin >
39
+ <groupId >org.codehaus.mojo</groupId >
40
+ <artifactId >exec-maven-plugin</artifactId >
41
+ <executions >
42
+ <execution >
43
+ <id >generate-docs</id >
44
+ <phase >generate-resources</phase >
45
+ <goals >
46
+ <goal >java</goal >
47
+ </goals >
48
+ <configuration >
49
+ <mainClass >io.micrometer.docs.DocsGeneratorCommand</mainClass >
50
+ <includePluginDependencies >true</includePluginDependencies >
51
+ <arguments >
52
+ <argument >${micrometer-docs-generator.inputPath} </argument >
53
+ <argument >${micrometer-docs-generator.inclusionPattern} </argument >
54
+ <argument >${micrometer-docs-generator.outputPath} </argument >
55
+ </arguments >
56
+ </configuration >
57
+ </execution >
58
+ </executions >
59
+ <dependencies >
60
+ <dependency >
61
+ <groupId >io.micrometer</groupId >
62
+ <artifactId >micrometer-docs-generator</artifactId >
63
+ <version >1.0.1</version >
64
+ <type >jar</type >
65
+ </dependency >
66
+ </dependencies >
67
+ </plugin >
33
68
<plugin >
34
69
<groupId >org.asciidoctor</groupId >
35
70
<artifactId >asciidoctor-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments