You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2015/10/10 22:56:23 UTC

[2/3] camel git commit: Prevent doclint error from javadoc on JDK8

Prevent doclint error from javadoc on JDK8


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/85bdca5b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/85bdca5b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/85bdca5b

Branch: refs/heads/master
Commit: 85bdca5b1e59890ad46f89eaedcda8560e8e06e2
Parents: 3c9be3a
Author: Jonathan Anstey <ja...@gmail.com>
Authored: Sat Oct 10 18:23:47 2015 -0230
Committer: Jonathan Anstey <ja...@gmail.com>
Committed: Sat Oct 10 18:23:47 2015 -0230

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


http://git-wip-us.apache.org/repos/asf/camel/blob/85bdca5b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 67e15a3..3f58eb7 100755
--- a/pom.xml
+++ b/pom.xml
@@ -552,6 +552,9 @@
                 <goals>
                   <goal>jar</goal>
                 </goals>
+                <configuration>
+                  <additionalparam>${javadoc.opts}</additionalparam>
+                </configuration>
               </execution>
             </executions>
           </plugin>
@@ -617,6 +620,9 @@
                 <goals>
                   <goal>jar</goal>
                 </goals>
+                <configuration>
+                    <additionalparam>${javadoc.opts}</additionalparam>
+                </configuration>
               </execution>
             </executions>
           </plugin>
@@ -639,5 +645,14 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>doclint-java8-disable</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <properties>
+        <javadoc.opts>-Xdoclint:none</javadoc.opts>
+      </properties>
+     </profile>
   </profiles>
 </project>