문제

Right now I am using the maven-javadoc-plugin to attach the Javadoc to .jar artifacts when I am doing a release.

However, how can I generate the Javadoc in an html format so we can scp it to a remote server for reference?

Thanks!

도움이 되었습니까?

해결책

Using the same plugin, you can generate javadoc in a folder using

mvn javadoc:javadoc

It puts the help content under target/site/apidocs

You can change the output folder by using the plugin configuration parameter reportOutputDirectory

Please refer to:

다른 팁

if you are interested in just doing it raw, you could use the following command.

javadoc -d C:/javadoc/test com.mypackage
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top