You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/02/21 14:44:20 UTC

[camel-k] 02/02: Added doc-lint-java8 disable profile

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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit ecd63f81e1d19665ab1f0963afc99baa93d0d357
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 21 15:43:59 2023 +0100

    Added doc-lint-java8 disable profile
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 java/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/java/pom.xml b/java/pom.xml
index 59d5c4a0d..f899bdc05 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -171,6 +171,15 @@
         </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>