It may not always be desirable to include optional dependency declarations within generated module.xml files. Especially if there are many dependencies, these
additional module references produce unnecessary verbosity in the generated module files.
An option on the Maven plugin such as the following could address this:
It may not always be desirable to include optional dependency declarations within generated module.xml files. Especially if there are many dependencies, these additional module references produce unnecessary verbosity in the generated module files.
An option on the Maven plugin such as the following could address this:
<ignoreOptionalDependencies>true</ignoreOptionalDependencies>