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

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


The following commit(s) were added to refs/heads/main by this push:
     new a0bbcf42c66 CAMEL-20946: Generate Quarkus project with correct Camel 
Debug configuration
a0bbcf42c66 is described below

commit a0bbcf42c669a438102562b4345d41cef69bc1b4
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Jul 5 14:26:09 2024 +0200

    CAMEL-20946: Generate Quarkus project with correct Camel Debug
    configuration
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .../src/main/resources/templates/quarkus-pom.tmpl            | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-pom.tmpl
 
b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-pom.tmpl
index 1e750990379..83927859b0d 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-pom.tmpl
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-pom.tmpl
@@ -150,6 +150,18 @@
                     <artifactId>camel-quarkus-debug</artifactId>
                 </dependency>
             </dependencies>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>${quarkus.platform.group-id}</groupId>
+                        <artifactId>quarkus-maven-plugin</artifactId>
+                        <version>${quarkus.platform.version}</version>
+                        <configuration>
+                            <jvmArgs>-Dcamel.main.shutdownTimeout=30 
-Dquarkus.camel.source-location-enabled=true</jvmArgs>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
     </profiles>
 

Reply via email to