You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/10/14 07:38:36 UTC

[camel] branch master updated: Move the late evaluation of the argLine into a specific tia profile

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7733031  Move the late evaluation of the argLine into a specific tia profile
7733031 is described below

commit 7733031edd975dd341ddf662a98c65ff5f3e75ae
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Oct 14 09:02:05 2020 +0200

    Move the late evaluation of the argLine into a specific tia profile
---
 parent/pom.xml | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 6a5fe99..5a3f13e 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -4326,7 +4326,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>${maven-surefire-plugin-version}</version>
                 <configuration>
-                    <argLine>@{camel.surefire.fork.vmargs}</argLine>
+                    <argLine>${camel.surefire.fork.vmargs}</argLine>
                     <!--forkMode>pertest</forkMode -->
                     <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
                     <childDelegation>false</childDelegation>
@@ -4750,5 +4750,33 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>tia</id>
+            <properties>
+                <mvntia.propertyName>camel.surefire.fork.vmargs</mvntia.propertyName>
+            </properties>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.jboss.fuse.mvntia</groupId>
+                        <artifactId>mvntia-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>prepare-agent</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <argLine>@{camel.surefire.fork.vmargs}</argLine>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>