java - Build JDocs without source -
I have an artificial server () that I use to deploy some third party libraries, There is a third party library which is provided with a library with a directory of doctors with Jedidas.
I really want to compile above the dock directory in a jar, so that I can pull JDocs from artifactory without having to distribute the dock directory independently below my team (3rd party jar with). For the tutorials I have prepared, it is suggested that you have source files to do this ... which is obviously not mine.
The things I've seen for the source / project are needed.
I have tried using javadok -d. \ Docs Source \ Java \ sections \ library.jar -subpackage com.foobar
but it borks.
I have tried to use Eclipse to export JDocs as an integrated jar, but this is not possible or I lack a few runs.
your third party javdoc dir structure looks like this
3rd -party-doc / + - index.html + - index -all.html + - ...
You can create a javadoc jar with the following command
jar cvf 3rd-party-javadoc.jar -c third-party-doctor /
this 3-party-javadoc.jar
You could have used it, for example, installed in your local Maven store.
Edit To install Javadoka generated in your local Maven store, install
: install file - dfile = 3-party - javadoc .jar -DgroupId = com .example.3rd.party -DartifactId = 3th-party -Dversion = 1.2.3 -Dpackaging = Jar -Dclassifier = Javadoc -DcreateChecksum = true # -Dfile = 3-party-javadoc.jar - You have # Generated Javadoc file - DgroupId = com.example.3rd.party - Maven Artifact ID - 3rd party library (same as in store /.../ 3-party-xyzpom) # -DartifactId = 3rd party Maven Group ID3 crosses Tea Library (Similar to repository /.../ third-party-exyosom) # -Discount = 1.2.3- Third party library version (as repository /.../ third-party -exzpom)
Comments
Post a Comment