[ https://issues.apache.org/jira/browse/MJAVADOC-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Boué closed MJAVADOC-473. ----------------------------------- Resolution: Fixed Assignee: Guillaume Boué Fix Version/s: 2.10.4 > 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 > Assignee: Guillaume Boué > Fix For: 2.10.4 > > > 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)