sgc109 opened a new issue #11539:
URL: https://github.com/apache/shardingsphere/issues/11539


   Hi!
   
   When I run `./mvnw install` on `5.0.0-beta` tag, I get following error.
   
   However, if I remove `..` between `${java.home}/` and `bin/` on 
`<javadocExecutable>` tag in **pom.xml** like follows, it works well.
   
   ```
   ...
           <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
   ...
   ```
   
   I'm just wondering why '..' is included on the relative path of javadoc.
   
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on 
project shardingsphere-agent-api: MavenReportException: Error while generating 
Javadoc: Unable to find javadoc command: The javadoc executable 
'/Users/myname/Library/Java/JavaVirtualMachines/adopt-openjdk-15.0.2/Contents/Home/../bin/javadoc'
 doesn't exist or is not a file. Verify the <javadocExecutable/> parameter. -> 
[Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :shardingsphere-agent-api
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to