Ignore Sibling-Modules During Maven Javadoc/Site Compilation -


i have maven-managed project contains few modules, 1 of actual library of interest. other modules add-ons or examples build off of library. i'm looking generate maven site library , have automatically deployed (as standalone site , not part of multi-module site) having trouble javadoc plugin.

when executing javadoc:javadoc goal, javadoc plugin attempting access jar other modules causing failure.

i have created simple example demonstrates phenomenon. make sure run clean goal before others flaw shown. though executing packaging first solve error, cannot done because use case occurs during maven-managed release process starts clean state.

is there way me disable functionality in javadoc plugin documetation library module?

i can think of 2 options depending on preference. both include using profiles. if want default build create javadocs library of interest. make other modules use property inside of default profile in order skip javadocs.

if okay passing in profile, have javadocs run in profile.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -