You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/02/27 08:34:33 UTC

[maven-surefire] 01/02: try to include those dependencies to fake the build plan and be sure its are runned last when using -Txx or mvnd

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

olamy pushed a commit to branch multithread-build-possible
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit b6b9f6ba8113fa981f809d6617882c18fe4a3d1a
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sun Feb 27 18:32:12 2022 +1000

    try to include those dependencies to fake the build plan and be sure its are runned last when using -Txx or mvnd
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
---
 surefire-its/pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/surefire-its/pom.xml b/surefire-its/pom.xml
index e63e7da..c2d65c3 100644
--- a/surefire-its/pom.xml
+++ b/surefire-its/pom.xml
@@ -78,6 +78,21 @@
             <artifactId>commons-lang3</artifactId>
             <scope>test</scope>
         </dependency>
+        <!-- those dependencies are here to fake the build plan calculation
+        and being able to use -Txx or mvnd and have a faster multithread build
+        -->
+        <dependency>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>${project.version}</version>
+          <scope>provided</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-failsafe-plugin</artifactId>
+          <version>${project.version}</version>
+          <scope>provided</scope>
+        </dependency>
     </dependencies>
 
     <build>