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

Plugin looking for mvn.bat instead of mvn.cmd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.1
    • 2.10.4
    • javadoc
    • None

    Description

      I get the following error message:

      --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ japicmp-test ---
      The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc' has not been previously called for the module: 'com.github.siom79.japicmp:japicmp-test-v2:jar:0.9.2-SNAPSHOT'. Trying to invoke it...
      MavenInvocationException: Error configuring command-line. Reason: Maven executable not found at: C:\Program Files\apache-maven-3.3.9\bin\mvn.bat
      Creating fake javadoc directory to prevent repeated invocations: C:\Users\Gili\Documents\japicmp-develop\japicmp-testbase\japicmp-test-v2\target\apidocs
      Error fetching link: C:\Users\Gili\Documents\japicmp-develop\japicmp-testbase\japicmp-test-v2\target\apidocs/package-list. Ignored it.
      Building jar: C:\Users\Gili\Documents\japicmp-develop\japicmp-testbase\japicmp-test\target\japicmp-test-0.9.2-SNAPSHOT-javadoc.jar
      

      According to https://issues.apache.org/jira/browse/MRELEASE-914 Maven 3.3.1 renamed mvn.bat to mvn.cmd.

      Please update the plugin accordingly.

      Attachments

        Issue Links

          Activity

            People

              gboue Guillaume Boué
              cowwoc Gili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: