[infinispan-issues] [JBoss JIRA] (ISPN-8629) Javadoc modules' build invokes a new instance of Maven

Dan Berindei (JIRA) issues at jboss.org
Thu Dec 14 02:18:00 EST 2017


Dan Berindei created ISPN-8629:
----------------------------------

             Summary: 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.1.3.Final, 9.2.0.Beta1
            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}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list