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:32 UTC
[maven-surefire] branch multithread-build-possible created (now 263fabf)
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a change to branch multithread-build-possible
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git.
at 263fabf try -T3 for Jenkins and gh
This branch includes the following new commits:
new b6b9f6b try to include those dependencies to fake the build plan and be sure its are runned last when using -Txx or mvnd
new 263fabf try -T3 for Jenkins and gh
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven-surefire] 02/02: try -T3 for Jenkins and gh
Posted by ol...@apache.org.
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 263fabf9972650c230f77c8d19b2fedb33bb6ba2
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sun Feb 27 18:34:15 2022 +1000
try -T3 for Jenkins and gh
Signed-off-by: Olivier Lamy <ol...@apache.org>
---
.github/workflows/maven-verify.yml | 4 ++--
Jenkinsfile | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index 6f6405e..44340e8 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -28,9 +28,9 @@ jobs:
with:
jdk-matrix: '[ "8", "11", "17", "18-ea" ]'
ff-jdk: '18-ea'
- ff-goal: 'clean install site -nsu'
+ ff-goal: 'clean install site -nsu -T3'
ff-site-goal: '-v'
- verify-goal: 'clean install -nsu -P run-its'
+ verify-goal: 'clean install -nsu -P run-its -T3'
verify-site-goal: '-v'
verify-fail-fast: false
failure-upload-path: |
diff --git a/Jenkinsfile b/Jenkinsfile
index 7551851..8ab46a9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -34,7 +34,7 @@ final def mavens = env.BRANCH_NAME == 'master' ? ['3.6.x', '3.2.x'] : ['3.2.x']
// all non-EOL versions and the first EA
final def jdks = [18, 17, 11, 8]
-final def options = ['-e', '-V', '-B', '-nsu', '-P', 'run-its']
+final def options = ['-e', '-V', '-B', '-nsu', '-P', 'run-its','-T3']
final def goals = ['clean', 'install']
final def goalsDepl = ['clean', 'deploy']
final Map stages = [:]
[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
Posted by ol...@apache.org.
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>