|
222 | 222 | --> |
223 | 223 | <scijava.natives.classifier>natives-${scijava.platform.family.medium}_${scijava.platform.bits}</scijava.natives.classifier> |
224 | 224 |
|
| 225 | + <!-- |
| 226 | + NB: The javadoc.retainDirectories property allows downstream projects |
| 227 | + to identify directories whose Javadoc should be made available at |
| 228 | + runtime. By default, Javadoc is not available for any packages. |
| 229 | + Downstream projects can identify a comma-delineated set of packages |
| 230 | + to make those packages' Javadoc available. |
| 231 | + Override the javadoc.retainPackages property in your POM with something like this: |
| 232 | + <javadoc.retainPackages>com.example.foo, com.example.bar</license.excludes> |
| 233 | + --> |
| 234 | + <javadoc.retainPackages>-</javadoc.retainPackages> |
| 235 | + |
225 | 236 | <!-- Additional configuration --> |
226 | 237 |
|
227 | 238 | <!-- NB: Avoid platform encoding warning when copying resources. --> |
|
289 | 300 | <kotlin.version>1.4.21</kotlin.version> |
290 | 301 | <revapi-java.version>0.20.2</revapi-java.version> |
291 | 302 | <scijava-coding-style.version>2.0.0</scijava-coding-style.version> |
| 303 | + <therapi.version>0.12.0</therapi.version> |
| 304 | + <com.github.therapi.therapi-runtime-javadoc-scribe.version>${therapi.version}</com.github.therapi.therapi-runtime-javadoc-scribe.version> |
292 | 305 | <velocity.version>1.7</velocity.version> |
293 | 306 |
|
294 | 307 | <!-- Build extensions --> |
|
318 | 331 | <plugin> |
319 | 332 | <artifactId>maven-compiler-plugin</artifactId> |
320 | 333 | <version>${maven-compiler-plugin.version}</version> |
| 334 | + <configuration> |
| 335 | + <annotationProcessorPaths> |
| 336 | + <path> |
| 337 | + <groupId>com.github.therapi</groupId> |
| 338 | + <artifactId>therapi-runtime-javadoc-scribe</artifactId> |
| 339 | + <version>${com.github.therapi.therapi-runtime-javadoc-scribe.version}</version> |
| 340 | + </path> |
| 341 | + </annotationProcessorPaths> |
| 342 | + <fork>true</fork> |
| 343 | + <compilerArgs> |
| 344 | + <arg>-Ajavadoc.packages="${javadoc.retainPackages}"</arg> |
| 345 | + </compilerArgs> |
| 346 | + </configuration> |
321 | 347 | </plugin> |
322 | 348 |
|
323 | 349 | <plugin> |
|
0 commit comments