Generate javadoc from a project in a subdirectory 95/62695/9
authorLott, Christopher (cl778h) <cl778h@att.com>
Mon, 23 Dec 2019 20:32:48 +0000 (15:32 -0500)
committerChris Lott <cl778h@att.com>
Fri, 10 Jan 2020 15:41:43 +0000 (15:41 +0000)
commit56262484841c048e2127151c46f5863eea321862
tree2763f606e3e8a951e73e73c686d88057669bd8f9
parent799a48c0e047b29f884d6db221b963a17f05a697
Generate javadoc from a project in a subdirectory

Lift the assumption that all files are in the git repository root.
Extend maven-javadoc publish and javadoc-verify macros with mvn-dir
configuration parameter (like tox-dir), defaults to '.' to preserve
existing behavior.
Extend maven-javadoc-generate.sh script to invoke mvn with the -f
option and use the directory name when archiving the generated HTML;
drop -x setting to conform with other scripts.
Document the new configuration parameter.

Projects using macros lf-maven-javadoc-publish, lf-maven-javadoc-verify
(i.e., using job templates gerrit-maven-javadoc-publish,
github-maven-javadoc-publish, gerrit-maven-javadoc-verify or
github-maven-javadoc-verify) must ensure the maven -f option is not
used in config parameter mvn-params.

Change-Id: Ib02a12a3192b8be577a0367476628c46db333231
Issue-ID: RELENG-1872
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
docs/jjb/lf-maven-jobs.rst
jjb/lf-maven-jobs.yaml
releasenotes/notes/extend-javadoc-mvn-dir-7324879c369a9d8b.yaml [new file with mode: 0644]
shell/maven-javadoc-generate.sh