Download Doc Check Doclet

Download the Doc Check Doclet. The current version is 1.2-beta2.

Unzip the archive.

unzip doccheckdoclet-1_2-beta2.zip
Under the doccheck1.2b2 directory is the doccheck.jar.

Install into maven 1 repository

You can install it from the pre-packaged jar file, or you can build it from the source code.

Install by hand

Copy the jar to your Maven local repository.

cp doccheck.jar $HOME/.maven/repository/doccheck/jars/doccheck-1.2b2.jar

Install by maven

Copy the Maven resources to the doccheck1.2b2 directory.

Set the maven.doccheck.tools.jar property in build.properties to the tools.jar of JDK 1.4. (This step is not necessary if you are already using this version.)

build.properties:

maven.doccheck.tools.jar = /usr/local/j2sdk1.4.2_05/lib/tools.jar

Inside the doccheck1.2b2 directory, execute maven.

maven

Resources

These files are to be copied to the doccheck1.2b2 directory.

You may also want to apply some patches for the Doc Check Doclet.

Install into maven 2 repository

You can install it from the pre-packaged jar file, or you can build it from the source code.

Install directly using Maven 2

Inside the doccheck1.2b2 directory, execute maven.

mvn install:install-file
    -Dfile=doccheck.jar
    -DgroupId=com.sun.tools.doclets
    -DartifactId=doccheck
    -Dversion=1.2b2
    -Dpackaging=jar
    -DgeneratePom=true
All of this should be put on a single line.

Build using Maven 2

Copy the Maven resources to the doccheck1.2b2 directory.

Install the tools.jar of JDK 1.4.

Inside the directory where the tools.jar is, execute maven.

mvn install:install-file
    -Dfile=tools.jar
    -DgroupId=com.sun.tools
    -DartifactId=doclets
    -Dversion=1.4
    -Dpackaging=jar
    -DgeneratePom=true
All of this should be put on a single line.

Inside the doccheck1.2b2 directory, execute maven.

mvn install

Maven 2 Resources

These files are to be copied to the doccheck1.2b2 directory.

You may also want to apply some patches for the Doc Check Doclet.