|
20 | 20 |
|
21 | 21 | <parent> |
22 | 22 | <groupId>io.vertx</groupId> |
23 | | - <artifactId>vertx-ext-parent</artifactId> |
24 | | - <version>38</version> |
| 23 | + <artifactId>vertx5-parent</artifactId> |
| 24 | + <version>3</version> |
25 | 25 | </parent> |
26 | 26 |
|
27 | 27 | <artifactId>vertx-sql-client-parent</artifactId> |
|
48 | 48 |
|
49 | 49 | <properties> |
50 | 50 | <stack.version>5.0.0-SNAPSHOT</stack.version> |
51 | | - <doc.skip>true</doc.skip> |
52 | 51 | <jmh.version>1.19</jmh.version> |
53 | | - <docs.dir>${project.basedir}/src/main/docs</docs.dir> |
54 | | - <generated.dir>${project.basedir}/src/main/generated</generated.dir> |
55 | 52 | <connection.uri/> |
56 | 53 | <tls.connection.uri/> |
57 | 54 | <unix.socket.directory/> |
58 | 55 | <unix.socket.port/> |
59 | 56 | <jar.manifest>${project.basedir}/src/main/resources/META-INF/MANIFEST.MF</jar.manifest> |
60 | | - <!-- We skip sources jar generation as we do it with the assembly plugin to have greater control over the content --> |
61 | | - <source.skip>true</source.skip> |
62 | 57 | <testcontainers.version>1.17.6</testcontainers.version> |
| 58 | + <docgen.source>${project.basedir}/../vertx-sql-client/src/main/asciidoc/*.adoc,${asciidoc.dir}/*.adoc</docgen.source> |
63 | 59 | </properties> |
64 | 60 |
|
65 | 61 | <dependencyManagement> |
|
114 | 110 | </dependency> |
115 | 111 | </dependencies> |
116 | 112 |
|
| 113 | + <build> |
| 114 | + <pluginManagement> |
| 115 | + <plugins> |
| 116 | + <plugin> |
| 117 | + <artifactId>maven-compiler-plugin</artifactId> |
| 118 | + <executions> |
| 119 | + <execution> |
| 120 | + <id>default-compile</id> |
| 121 | + <configuration> |
| 122 | + <annotationProcessors> |
| 123 | + <annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor> |
| 124 | + <annotationProcessor>io.vertx.docgen.JavaDocGenProcessor</annotationProcessor> |
| 125 | + </annotationProcessors> |
| 126 | + <compilerArgs> |
| 127 | + <!-- Configure the docgen processor --> |
| 128 | + <compilerArg>-Adocgen.source=${docgen.source}</compilerArg> |
| 129 | + <compilerArg>-Adocgen.output=${project.build.directory}/asciidoc/java</compilerArg> |
| 130 | + <compilerArg>-Amaven.groupId=${project.groupId}</compilerArg> |
| 131 | + <compilerArg>-Amaven.artifactId=${project.artifactId}</compilerArg> |
| 132 | + <compilerArg>-Amaven.version=${project.version}</compilerArg> |
| 133 | + </compilerArgs> |
| 134 | + </configuration> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
| 138 | + </plugins> |
| 139 | + </pluginManagement> |
| 140 | + <plugins> |
| 141 | + <plugin> |
| 142 | + <artifactId>maven-assembly-plugin</artifactId> |
| 143 | + <executions> |
| 144 | + <execution> |
| 145 | + <id>package-docs</id> |
| 146 | + <goals> |
| 147 | + <goal>single</goal> |
| 148 | + </goals> |
| 149 | + </execution> |
| 150 | + </executions> |
| 151 | + </plugin> |
| 152 | + </plugins> |
| 153 | + </build> |
| 154 | + |
117 | 155 | <profiles> |
118 | 156 | <profile> |
119 | 157 | <id>default</id> |
|
0 commit comments