You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gili (JIRA)" <ji...@apache.org> on 2016/10/13 04:32:20 UTC

[jira] [Created] (MJAVADOC-473) Plugin looking for mvn.bat instead of mvn.cmd

Gili created MJAVADOC-473:
-----------------------------

             Summary: Plugin looking for mvn.bat instead of mvn.cmd
                 Key: MJAVADOC-473
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-473
             Project: Maven Javadoc Plugin
          Issue Type: Bug
          Components: javadoc
    Affects Versions: 2.9.1
            Reporter: Gili


I get the following error message:

{code}
--- 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
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)