git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116082 13f79535-47bb-0310-9956-ffa450edef68
57 lines
2.5 KiB
XML
57 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
/*
|
|
* Copyright 2001-2004 The Apache Software Foundation.
|
|
*
|
|
* Licensed 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.
|
|
*/
|
|
-->
|
|
<faqs title="Frequently Asked Questions">
|
|
<part id="usage">
|
|
<title>Plugin Usage</title>
|
|
<faq id="links">
|
|
<question>How do I use links ?</question>
|
|
<answer>
|
|
<p>The URLs must link to a directory where the javadoc generated file "package-list" is accesible for the package.</p>
|
|
<p>Example:</p>
|
|
<source>
|
|
maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/, http://maven.apache.org/apidocs/
|
|
</source>
|
|
</answer>
|
|
</faq>
|
|
<faq id="offlineLinks">
|
|
<question>How do I use offlineLinks ?</question>
|
|
<answer>
|
|
<p>The URLs must link to a directory where the javadoc generated file "package-list" is accesible for the package.</p>
|
|
<p>Example (generates <b>offline</b> links in offline mode):</p>
|
|
<source>
|
|
maven.javadoc.offlineLinks=/opt/java-apidoc/j2sdk1.4.1/docs/api/, /cvsroot/maven/target/docs/apidocs/
|
|
</source>
|
|
<p>Generation of online javadoc links in offline mode is also possible. You need to provide the online URL plus the a offline directory resource for "package-list". URL and directory need to be seperated by the "#" character.</p>
|
|
<p>Example (generates <b>online</b> links in offline mode):</p>
|
|
<source>
|
|
maven.javadoc.offlineLinks= \
|
|
http://java.sun.com/j2se/1.4.2/docs/api/#/opt/java-apidoc/j2sdk1.4.1/docs/api/, \
|
|
http://maven.apache.org/apidocs/#/cvsroot/maven/target/docs/apidocs/
|
|
</source>
|
|
</answer>
|
|
</faq>
|
|
<faq id="firewall">
|
|
<question>How do I use links behind a Firewall ?</question>
|
|
<answer>
|
|
<p>You can set your proxy parameters in the additionnal parameters passed to the javadoc :</p>
|
|
<source>maven.javadoc.additionalparam=-J-DproxyHost=${maven.proxy.host} -J-DproxyPort=${maven.proxy.port}</source>
|
|
</answer>
|
|
</faq>
|
|
</part>
|
|
</faqs> |