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:18 UTC

[camel-k] branch main updated (0e28f4a57 -> ecd63f81e)

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

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


    from 0e28f4a57 Javadoc plugin removal
     new 5e2d01950 Revert "Javadoc plugin removal"
     new ecd63f81e Added doc-lint-java8 disable profile

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 java/pom.xml | 33 ++++++++++++++++++++++++++++++---
 1 file changed, 30 insertions(+), 3 deletions(-)


[camel-k] 01/02: Revert "Javadoc plugin removal"

Posted by ac...@apache.org.
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 5e2d01950dd86bfe43463bf85c19538b6493417f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 21 15:40:41 2023 +0100

    Revert "Javadoc plugin removal"
    
    This reverts commit 0e28f4a57b17c8262e6be7887ab609668ec3caa9.
---
 java/pom.xml | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/java/pom.xml b/java/pom.xml
index feb2a3ac7..59d5c4a0d 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -14,7 +14,9 @@
     limitations under the License.
 -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <parent>
     <groupId>org.apache</groupId>
@@ -25,7 +27,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.camel.k</groupId>
   <artifactId>camel-k-crds</artifactId>
-  <version>1.12.0</version>
+  <version>1.12.0-SNAPSHOT</version>
   <packaging>jar</packaging>
 
   <properties>
@@ -61,7 +63,7 @@
     <connection>scm:git:http://gitbox.apache.org/repos/asf/camel-k.git</connection>
     <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/camel-k.git</developerConnection>
     <url>https://gitbox.apache.org/repos/asf?p=camel-k.git;a=summary</url>
-    <tag>camel-k-crds-1.12.0</tag>
+    <tag>camel-k-project-1.10.0</tag>
   </scm>
 
   <dependencies>
@@ -125,6 +127,22 @@
               </execution>
             </executions>
           </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <additionalOptions>${javadoc.opts}</additionalOptions>
+              <source>8</source>
+            </configuration>
+          </plugin>
           <!-- We want to sign the artifact, the POM, and all attached artifacts -->
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>


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

Posted by ac...@apache.org.
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>