Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8629

Javadoc modules' build invokes a new instance of Maven

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.2.0.Beta2
    • 9.1.3.Final, 9.2.0.Beta1
    • Build
    • None

    Description

      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:

      [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
      

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: