From 94b9c99c3c2e7f246ea790c5fc2aa62f5cff564d Mon Sep 17 00:00:00 2001 From: Gili Tzabari Date: Sat, 26 Jan 2019 15:41:20 -0500 Subject: [PATCH] Added example of --add-modules to aggregate FAQ. --- src/site/apt/examples/aggregate.apt.vm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/site/apt/examples/aggregate.apt.vm b/src/site/apt/examples/aggregate.apt.vm index 0a8b8a40e..3b8f63250 100644 --- a/src/site/apt/examples/aggregate.apt.vm +++ b/src/site/apt/examples/aggregate.apt.vm @@ -194,6 +194,22 @@ Project +-----+ + Occasionally, automatic modules need to import named modules. For example, + ++-----+ + error: package org.w3c.dom is not visible + (package org.w3c.dom is declared in module java.xml, but module foobar does not read it) ++-----+ + + can be solved by adding the relevant --add-modules options to the plugin configuration: + ++-----+ + + + + ++-----+ + The Javadoc plugin contains several <<>> goals to be use with an aggregator project. Here is the full list of all <<>> goals: