Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-275

Creation of Javadoc attachments fails in multi-module project where modules have never been installed/deployed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.1
    • 2.8
    • None
    • None

    Description

      Running the commands

      mvn clean
      mvn verify
      

      will fail on the attached demo project with

      [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc'
        has not be previously called for the project: 'org.apache.maven.its.javadoc:mod-b:jar:0.1'.
        Trying to invoke it...
      [ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file:
        M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] MavenReportException: Error while creating archive:
        Error when invoking Maven, consult the invoker log file: 
        M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt
      

      The command mvn clean verify as usually used during releases will also fail, but starts working after repeated invocations.

      Attachments

        1. MJAVADOC-275.zip
          4 kB
          Benjamin Bentmann

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              bentmann Benjamin Bentmann
              Votes:
              12 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: