You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/06/27 15:34:24 UTC

[camel] 01/03: Fix release process with error building camel-component-maven-plugin

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

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

commit 3134c1077c79b38c9c70a2a510c50c2c789e8edf
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Jun 27 13:55:12 2023 +0200

    Fix release process with error building camel-component-maven-plugin
---
 tooling/maven/camel-component-maven-plugin/pom.xml | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/tooling/maven/camel-component-maven-plugin/pom.xml b/tooling/maven/camel-component-maven-plugin/pom.xml
index fee3ddddc4d..2c513eeb1d0 100644
--- a/tooling/maven/camel-component-maven-plugin/pom.xml
+++ b/tooling/maven/camel-component-maven-plugin/pom.xml
@@ -83,4 +83,32 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-plugin-plugin</artifactId>
+                <configuration>
+                    <!-- see http://jira.codehaus.org/browse/MNG-5346 -->
+                    <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
+                    <mojoDependencies/>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>mojo-descriptor</id>
+                        <goals>
+                            <goal>descriptor</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>help-goal</id>
+                        <goals>
+                            <goal>helpmojo</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>