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

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

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>