You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2018/12/17 22:45:32 UTC
[2/6] tomee git commit: Setup Asciidoclet in root TomEE
Setup Asciidoclet in root TomEE
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/571754a0
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/571754a0
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/571754a0
Branch: refs/heads/master
Commit: 571754a01585306d6528a50f8375897c6312b4a0
Parents: 004ad51
Author: Mohammed Aboullaite <ab...@gmail.com>
Authored: Sun Dec 16 15:05:28 2018 +0100
Committer: Mohammed Aboullaite <ab...@gmail.com>
Committed: Sun Dec 16 15:05:28 2018 +0100
----------------------------------------------------------------------
pom.xml | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/571754a0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bce74b0..c11a727 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,7 +92,6 @@
</scm>
<properties>
- <doclint>none</doclint>
<tomee.version>${project.version}</tomee.version>
<maven.compiler.source>1.8</maven.compiler.source>
@@ -216,6 +215,10 @@
<microprofile.opentracing.version>1.1</microprofile.opentracing.version>
<microprofile.opentracing.impl.version>1.0.0</microprofile.opentracing.impl.version>
<opentracing.api>0.31.0</opentracing.api>
+ <!-- Javadoc & Asciidoclet -->
+ <javadoc.version>3.0.1</javadoc.version>
+ <asciidoclet.version>1.5.0</asciidoclet.version>
+
</properties>
<build>
@@ -708,6 +711,38 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>javadoc</id>
+ <modules>
+ <module>container</module>
+ <module>server</module>
+ <module>utils</module>
+ <module>tomee</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${javadoc.version}</version>
+ <configuration>
+ <doclet>org.asciidoctor.Asciidoclet</doclet>
+ <docletArtifact>
+ <groupId>org.asciidoctor</groupId>
+ <artifactId>asciidoclet</artifactId>
+ <version>${asciidoclet.version}</version>
+ </docletArtifact>
+ <additionalOptions>
+ <additionalOption>--base-dir ${basedir}</additionalOption>
+ <additionalOption>--attribute "name=${project.name}"</additionalOption>
+ <additionalOption>--attribute "version=${project.version}"</additionalOption>
+ </additionalOptions>
+ <doclint>none</doclint> <!-- Doclint is enabled by default in java 8+, this conf is needed disable it till a rewrite of javadoc is done (https://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#format)-->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<repositories>
<repository>