-
Notifications
You must be signed in to change notification settings - Fork 39
Building Javadoc
The baleen-javadoc
project requires tools.jar
from the JDK to build, but this is not available via a standard Maven repository due to limitations on it's distribution. There are two approaches to resolving this:
-
If you have JAVA_HOME correctly set on your machine and it is pointing to a JDK rather than a JRE, then the relative system path provided in the POM file should pick up
tools.jar
. However, you may find that you need to tweak this to accurately reflect the files location on your system. -
If you are building in Eclipse or aren't able to modify JAVA_HOME, then an alternative approach is to install
tools.jar
into your local Maven repository using the command below. Following this, you will need to updatebaleen-javadoc\pom.xml
to remove the system scope.mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dpackaging=jar -Dversion=1.8 -Dfile=lib/tools.jar -DgeneratePom=true