[
https://issues.apache.org/jira/browse/CAMEL-21065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aurélien Pupier updated CAMEL-21065:
------------------------------------
Description:
similar to CAMEL-20947
{noformat}
<profile>
<id>camel.debug</id>
<activation>
<property>
<name>camel.debug</name>
<value>true</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-debug-starter</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.7.1</version>
<executions>
<execution>
<id>copy</id>
<phase>generate-sources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-agent-jvm</artifactId>
<version>2.0.3</version>
<type>jar</type>
<classifier>javaagent</classifier>
</artifactItem>
</artifactItems>
<stripVersion>true</stripVersion>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<jvmArguments>-javaagent:target/dependency/jolokia-agent-jvm-javaagent.jar=port=7878,host=localhost</jvmArguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
{noformat}
was:similar to CAMEL-20947
> Enable Jolokia in camel.debug profile of generated Spring Boot project with
> Camel JBang
> ---------------------------------------------------------------------------------------
>
> Key: CAMEL-21065
> URL: https://issues.apache.org/jira/browse/CAMEL-21065
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Aurélien Pupier
> Priority: Minor
> Fix For: 4.8.0
>
>
> similar to CAMEL-20947
>
> {noformat}
> <profile>
> <id>camel.debug</id>
> <activation>
> <property>
> <name>camel.debug</name>
> <value>true</value>
> </property>
> </activation>
> <dependencies>
> <dependency>
> <groupId>org.apache.camel.springboot</groupId>
> <artifactId>camel-debug-starter</artifactId>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
> <version>3.7.1</version>
> <executions>
> <execution>
> <id>copy</id>
> <phase>generate-sources</phase>
> <goals>
> <goal>copy</goal>
> </goals>
> <configuration>
> <artifactItems>
> <artifactItem>
> <groupId>org.jolokia</groupId>
>
> <artifactId>jolokia-agent-jvm</artifactId>
> <version>2.0.3</version>
> <type>jar</type>
> <classifier>javaagent</classifier>
> </artifactItem>
> </artifactItems>
> <stripVersion>true</stripVersion>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <groupId>org.springframework.boot</groupId>
> <artifactId>spring-boot-maven-plugin</artifactId>
> <configuration>
>
> <jvmArguments>-javaagent:target/dependency/jolokia-agent-jvm-javaagent.jar=port=7878,host=localhost</jvmArguments>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </profile>
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)