You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2021/09/04 08:43:21 UTC

[james-mime4j] branch master updated: Add maven-javadoc-plugin (#54)

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-mime4j.git


The following commit(s) were added to refs/heads/master by this push:
     new d09771e  Add maven-javadoc-plugin (#54)
d09771e is described below

commit d09771e575b27e3f70c785f1921e3ba8432c0d23
Author: Ondra Pelech <on...@gmail.com>
AuthorDate: Sat Sep 4 10:43:16 2021 +0200

    Add maven-javadoc-plugin (#54)
    
    
    To generate the Javadoc run:
    
    ```
    mvn clean install site
    ```
    
    The javadoc will be located in `target/site/apidocs`
    
    To be published on the website.
    
    Co-authored-by: Tellier Benoit <bt...@linagora.com>
---
 pom.xml | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/pom.xml b/pom.xml
index ee4511a..89e955f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -219,4 +219,51 @@
             </plugin>
         </plugins>
     </build>
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>3.3.0</version>
+                <reportSets>
+                    <reportSet>
+                        <id>aggregate</id>
+                        <inherited>false</inherited>
+                        <reports>
+                            <report>aggregate</report>
+                        </reports>
+                    </reportSet>
+                    <reportSet>
+                        <id>default</id>
+                        <reports>
+                            <report>javadoc</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+                <configuration>
+                    <linksource>true</linksource>
+                    <maxmemory>1g</maxmemory>
+                    <minmemory>256m</minmemory>
+                    <source>${target.jdk}</source>
+                    <tags>
+                        <tag>
+                            <name>note</name>
+                            <placement>a</placement>
+                            <head>NOTE</head>
+                        </tag>
+                        <tag>
+                            <name>todo</name>
+                            <placement>a</placement>
+                            <head>TODO</head>
+                        </tag>
+                        <tag>
+                            <name>warning</name>
+                            <placement>a</placement>
+                            <head>WARNING</head>
+                        </tag>
+                    </tags>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
 </project>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org