Unable to find javadoc command - maven

后端 未结 7 482
南笙
南笙 2020-12-30 20:56

I ran this command in my project directory to build and package it:

mvn clean javadoc:jar package

I do have my JAVA_HOME varia

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-30 21:22

    They fixed this for OSX in maven 3.1 by adding "export JAVA_HOME" to the "bin/mvn" shell script, obviating the need to set JAVA_HOME externally yourself just to find javadoc.

提交回复
热议问题