maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1154050 - in /maven/plugins/trunk/maven-javadoc-plugin/src/site: apt/examples/additionnal-dependencies.apt.vm site.xml
Date Fri, 05 Aug 2011 00:36:46 GMT
Author: olamy
Date: Fri Aug  5 00:36:46 2011
New Revision: 1154050

URL: http://svn.apache.org/viewvc?rev=1154050&view=rev
Log:
[MJAVADOC-322] add apt doc sample

Added:
    maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/additionnal-dependencies.apt.vm
  (with props)
Modified:
    maven/plugins/trunk/maven-javadoc-plugin/src/site/site.xml

Added: maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/additionnal-dependencies.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/additionnal-dependencies.apt.vm?rev=1154050&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/additionnal-dependencies.apt.vm
(added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/additionnal-dependencies.apt.vm
Fri Aug  5 00:36:46 2011
@@ -0,0 +1,61 @@
+ ------
+ Add additionnal dependencies to javadoc classpath
+ ------
+ Olivier Lamy
+ ------
+ 2009-09-12
+ ------
+
+~~ 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 additionnal dependencies
+
+ Prior to 2.8.1 version, you can some additionnal dependencies to the javadoc classpath
+
+ For instance, with the following configuration:
+
++-----+
+<project>
+  ...
+  <reporting> (or <build>)
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+          ...
+          <additionnalDependencies>
+            <additionnalDependency>
+              <groupId>geronimo-spec</groupId>
+              <artifactId>geronimo-spec-jta</artifactId>
+              <version>1.0.1B-rc4</version>
+            </additionnalDependency>
+          </additionnalDependencies>
+          ...
+        </configuration>
+      </plugin>
+    </plugins>
+    ...
+  </reporting> (or </build>)
+  ...
+</project>
++-----+
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/additionnal-dependencies.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/additionnal-dependencies.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/site/site.xml?rev=1154050&r1=1154049&r2=1154050&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/site/site.xml Fri Aug  5 00:36:46 2011
@@ -50,6 +50,7 @@ under the License.
       <item name="Generating Test Javadocs" href="/examples/test-javadocs.html"/>
       <item name="Selective Javadocs Reports" href="/examples/selective-javadocs-report.html"/>
       <item name="Fixing Javadoc Comments" href="/examples/fix-javadocs.html"/>
+      <item name="Adding additionnal dependencies" href="/examples/additionnal-dependencies.html"/>
     </menu>
   </body>
 </project>



Mime
View raw message