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

alien11689 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/aries.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c8c4aed75 [MAINTENANCE] Remove CI build profile in samples
c8c4aed75 is described below

commit c8c4aed754f2aea1374d63b0e33b152abd8d75b8
Author: Dominik Przybysz <alien11...@gmail.com>
AuthorDate: Wed Mar 19 19:35:05 2025 +0100

    [MAINTENANCE] Remove CI build profile in samples
---
 samples/blog/blog-itests/pom.xml                   | 27 -------------------
 .../blueprint/helloworld/helloworld-itests/pom.xml | 30 ++--------------------
 samples/twitter/twitter-itests/pom.xml             | 30 ++--------------------
 3 files changed, 4 insertions(+), 83 deletions(-)

diff --git a/samples/blog/blog-itests/pom.xml b/samples/blog/blog-itests/pom.xml
index 62b742d0f..39929006f 100644
--- a/samples/blog/blog-itests/pom.xml
+++ b/samples/blog/blog-itests/pom.xml
@@ -484,33 +484,6 @@
         </plugins>
     </build>
 
-    <profiles>
-        <profile>
-            <id>ci-build-profile</id>
-            <activation>
-                <property>
-                    <name>maven.repo.local</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <forkMode>pertest</forkMode>
-                            <!--
-                                when the local repo location has been 
specified, we need to pass
-                                on this information to PAX mvn url
-                            -->
-                            
<argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
     <dependencyManagement>
         <dependencies>
             <dependency>
diff --git a/samples/blueprint/helloworld/helloworld-itests/pom.xml 
b/samples/blueprint/helloworld/helloworld-itests/pom.xml
index 78306b125..b294f9fe1 100644
--- a/samples/blueprint/helloworld/helloworld-itests/pom.xml
+++ b/samples/blueprint/helloworld/helloworld-itests/pom.xml
@@ -189,7 +189,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                    <forkCount>1</forkCount>
+                    <reuseForks>false</reuseForks>
                     <excludes>
                         <exclude>**/*$*</exclude>
                         <exclude>**/Abstract*.java</exclude>
@@ -217,31 +218,4 @@
             </plugin>
         </plugins>
     </build>
-
-    <profiles>
-        <profile>
-            <id>ci-build-profile</id>
-            <activation>
-                <property>
-                    <name>maven.repo.local</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <!--
-                                when the local repo location has been 
specified, we need to pass
-                                on this information to PAX mvn url
-                            -->
-                            
<argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
 </project>
diff --git a/samples/twitter/twitter-itests/pom.xml 
b/samples/twitter/twitter-itests/pom.xml
index bbf13d24c..8689831b9 100644
--- a/samples/twitter/twitter-itests/pom.xml
+++ b/samples/twitter/twitter-itests/pom.xml
@@ -259,36 +259,10 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                    <forkCount>1</forkCount>
+                    <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
         </plugins>
     </build>
-
-    <profiles>
-        <profile>
-            <id>ci-build-profile</id>
-            <activation>
-                <property>
-                    <name>maven.repo.local</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <forkMode>pertest</forkMode>
-                            <!--
-                                when the local repo location has been 
specified, we need to pass
-                                on this information to PAX mvn url
-                            -->
-                            
<argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>

Reply via email to