You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2016/10/13 18:48:20 UTC
[jira] [Commented] (MJAVADOC-473) Plugin looking for mvn.bat
instead of mvn.cmd
[ https://issues.apache.org/jira/browse/MJAVADOC-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572832#comment-15572832 ]
Guillaume Boué commented on MJAVADOC-473:
-----------------------------------------
This is already fixed in the latest version 2.10.4 of the Javadoc Plugin (see [r1710232|http://svn.apache.org/viewvc?view=revision&revision=1710232]).
> 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)