------ Linking JXR Files to Javadocs ------ Maria Odea Ching ------ 2010-01-20 ------ ~~ 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. Linking JXR Files to Javadocs To link the generated JXR files to the Javadocs, you need to set the following JXR Plugin configuration in your <<>>: +-----+ ... ... org.apache.maven.plugins maven-jxr-plugin ${project.version} ... true /path/to/javadocs ... ... ... +-----+ The generated JXR pages will have a link named "View Javadoc" that will display the Javadoc of the class. In case there were no existing Javadocs in the specified Javadoc directory and no Javadocs will be generated (meaning no Javadoc Plugin configuration in the reporting section of the POM), the link will not be displayed even if the <<>> parameter is set to <<>>. Take note that if the <<>> parameter is set in the Javadoc Plugin configuration, you need to also set the <<>> parameter of the JXR Plugin to the same directory.