You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by rg...@apache.org on 2016/01/14 17:50:34 UTC

[2/2] struts git commit: WW-4403 - add JDK 8 profile, disabling JavaDoc lint checker when building with JDK8 (cherry picked from commit 7c4bb7e)

WW-4403 - add JDK 8 profile, disabling JavaDoc lint checker when building with JDK8
(cherry picked from commit 7c4bb7e)


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/9f6a0c9c
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/9f6a0c9c
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/9f6a0c9c

Branch: refs/heads/master
Commit: 9f6a0c9c9473a3bbe4e78d85b4b00523ac55ce64
Parents: a89bbe2
Author: Rene Gielen <rg...@apache.org>
Authored: Thu Jan 14 17:43:20 2016 +0100
Committer: Rene Gielen <rg...@apache.org>
Committed: Thu Jan 14 17:47:43 2016 +0100

----------------------------------------------------------------------
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/9f6a0c9c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 862630b..07fb3b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -148,6 +148,25 @@
             </build>
         </profile>
 -->
+        <profile>
+            <id>jdk8</id>
+            <activation>
+                <jdk>1.8</jdk>
+            </activation>
+            <build>
+                <pluginManagement>
+                    <plugins>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-javadoc-plugin</artifactId>
+                            <configuration>
+                                <additionalparam>-Xdoclint:none</additionalparam>
+                            </configuration>
+                        </plugin>
+                    </plugins>
+                </pluginManagement>
+            </build>
+        </profile>
     </profiles>
 
     <build>