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 2025/10/06 11:00:53 UTC
(camel) 02/03: Added Required fix for Bump org.codehaus.mojo:exec-maven-plugin from 3.5.1 to 3.6.1
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch CAMEL-22495
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 21a20e26c46250af744b1a646b89a8a79db77e5f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 6 12:48:06 2025 +0200
Added Required fix for Bump org.codehaus.mojo:exec-maven-plugin from 3.5.1 to 3.6.1
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../src/main/java/org/apache/camel/maven/GenerateMojo.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java b/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java
index 43313e8a5db1..81b6dd0679ad 100644
--- a/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java
+++ b/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java
@@ -30,6 +30,8 @@ import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
+import javax.inject.Inject;
+
import org.apache.camel.RuntimeCamelException;
import org.apache.camel.catalog.common.CatalogHelper;
import org.apache.camel.language.csimple.CSimpleCodeGenerator;
@@ -47,6 +49,7 @@ import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.plugins.annotations.ResolutionScope;
import org.codehaus.mojo.exec.AbstractExecMojo;
+import org.eclipse.aether.RepositorySystem;
import org.jboss.forge.roaster.Roaster;
import org.jboss.forge.roaster.model.JavaType;
import org.jboss.forge.roaster.model.source.JavaClassSource;
@@ -64,6 +67,11 @@ public class GenerateMojo extends AbstractExecMojo {
public static final String GENERATED_MSG = "Generated by camel build tools - do NOT edit this file!";
public static final String RESOURCE_FILE = "META-INF/services/org/apache/camel/csimple.properties";
+ @Inject
+ public GenerateMojo(RepositorySystem repositorySystem) {
+ super(repositorySystem);
+ }
+
// Output directory
/**