Skip to content

Commit 87be0b8

Browse files
committed
Change property to javadoc.runtimeAccessPackages
1 parent e0317e5 commit 87be0b8

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

pom.xml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -223,15 +223,19 @@
223223
<scijava.natives.classifier>natives-${scijava.platform.family.medium}_${scijava.platform.bits}</scijava.natives.classifier>
224224

225225
<!--
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.
226+
NB: The javadoc.runtimeAccessPackages property allows downstream
227+
projects to identify directories whose Javadoc should be made available
228+
at runtime. By default, Javadoc is not available for any packages.
229229
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>
230+
to make those packages' Javadoc available. To retain some packages,
231+
override the javadoc.runtimeAccessPackages property in your POM
232+
with something like this:
233+
<javadoc.runtimeAccessPackages>com.example.foo,com.example.bar</javadoc.runtimeAccessPackages>
234+
To retain all packages, override the javadoc.runtimeAccessPackages
235+
property in your POM with:
236+
<javadoc.runtimeAccessPackages/>
233237
-->
234-
<javadoc.retainPackages>-</javadoc.retainPackages>
238+
<javadoc.runtimeAccessPackages>-</javadoc.runtimeAccessPackages>
235239

236240
<!-- Additional configuration -->
237241

@@ -341,7 +345,7 @@
341345
</annotationProcessorPaths>
342346
<fork>true</fork>
343347
<compilerArgs>
344-
<arg>-Ajavadoc.packages="${javadoc.retainPackages}"</arg>
348+
<arg>-Ajavadoc.packages="${javadoc.runtimeAccessPackages}"</arg>
345349
</compilerArgs>
346350
</configuration>
347351
</plugin>

0 commit comments

Comments
 (0)