------ Configuring Custom Taglets ------ Vincent Siveton ------ 2009-08-04 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/doxia/references/apt-format.html Configuring Custom Taglets You could configure any custom taglets in your Javadoc Plugin configuration via the {{{../javadoc-mojo.html#taglet}\}}, {{{../javadoc-mojo.html#taglets}\}}, or {{{../javadoc-mojo.html#tagletArtifacts}\}} parameters, depending the number of taglets used. For more information about the taglet technology, please refer to {{http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/taglet/overview.html}}. * One Taglet For one known Taglet, just use the {{{../javadoc-mojo.html#taglet}\}} parameter: +-----+ ... (or ) org.apache.maven.plugins maven-javadoc-plugin ${project.version} ... package.to.YourTagletClass group-Taglet artifact-Taglet version-Taglet ... ... (or ) ... +-----+ * Several Taglets For several known Taglets, just use the {{{../javadoc-mojo.html#taglets}\}} parameter: +-----+ ... (or ) org.apache.maven.plugins maven-javadoc-plugin ${project.version} ... package.to.YourFirstTagletClass group-FirstTaglet artifact-FirstTaglet version-FirstTaglet package.to.YourSecondTagletClass group-SecondTaglet artifact-SecondTaglet version-SecondTaglet ... ... ... (or ) ... +-----+ If it is several Taglets in the same Taglet artifact, you could use the {{{../javadoc-mojo.html#taglets}\}} and the {{{../javadoc-mojo.html#tagletArtifact}\}} parameters: +-----+ ... (or ) org.apache.maven.plugins maven-javadoc-plugin ${project.version} ... package.to.YourFirstTagletClass package.to.YourSecondTagletClass ... group-Taglet artifact-Taglet version-Taglet ... ... (or ) ... +-----+ If you don't know the Taglets or if you want to auto-detect Taglet class names, you could use the {{{../javadoc-mojo.html#tagletArtifacts}\}} parameter: +-----+ ... (or ) org.apache.maven.plugins maven-javadoc-plugin ${project.version} ... group-FirstTaglet artifact-FirstTaglet version-FirstTaglet group-SecondTaglet artifact-SecondTaglet version-SecondTaglet ... ... ... (or ) ... +-----+