]
Dan Berindei updated ISPN-8629:
-------------------------------
Status: Open (was: New)
Javadoc modules' build invokes a new instance of Maven
------------------------------------------------------
Key: ISPN-8629
URL:
https://issues.jboss.org/browse/ISPN-8629
Project: Infinispan
Issue Type: Bug
Components: Build
Affects Versions: 9.2.0.Beta1, 9.1.3.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.2.0.Beta2
During the javadoc modules build, {{maven-javadoc-plugin}} tries to detect the apidocs
location of each dependency. If a module dependency doesn't have an apidocs directory,
it tries to run a new Maven instance in order to build it, leading to messages like this:
{noformat}
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:javadoc'
has not been previously called for the module:
'org.infinispan:infinispan-extended-statistics:jar:9.2.0-SNAPSHOT'. Trying to
invoke it...
[ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log
file:
/home/dan/Work/infinispan/javadoc/javadoc-embedded/target/invoker/maven-javadoc-plugin2134174433.txt
[WARNING] Creating fake javadoc directory to prevent repeated invocations:
/home/dan/Work/infinispan/extended-statistics/target/apidocs
{noformat}