Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build ITs in parallel #1088

Merged
merged 1 commit into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
<modelloNamespaceReportVersion>2.0.0</modelloNamespaceReportVersion>
<byteBuddyVersion>1.14.17</byteBuddyVersion>
<scmpublish.content>${project.build.directory}/staging/versions</scmpublish.content>
<!-- execute ITS in parallel by default -->
<invoker.parallelThreads>0.75C</invoker.parallelThreads>
<!-- mono-module doesn't require site:stage for scm-publish -->
<project.build.outputTimestamp>2023-11-17T00:00:27Z</project.build.outputTimestamp>
</properties>
Expand Down Expand Up @@ -393,4 +395,19 @@
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<!-- on windows there are some issues with parallel build -->
<invoker.parallelThreads>1</invoker.parallelThreads>
</properties>
</profile>
</profiles>
</project>
6 changes: 0 additions & 6 deletions versions-enforcer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@
<settingsFile>src/it/settings.xml</settingsFile>
<showErrors>true</showErrors>
<streamLogs>true</streamLogs>
<!--
! There seemed to be a problem with the indepance of the IT's
! here. So we can't use more than one thread.
! TODO: Dive more deeply into this problem.
-->
<parallelThreads>1</parallelThreads>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
Expand Down
4 changes: 0 additions & 4 deletions versions-enforcer/src/it/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
<releases>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
Expand All @@ -37,12 +35,10 @@
<releases>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
Expand Down
6 changes: 0 additions & 6 deletions versions-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,6 @@
<settingsFile>src/it/settings.xml</settingsFile>
<showErrors>true</showErrors>
<streamLogs>true</streamLogs>
<!--
! There seemed to be a problem with the indepance of the IT's
! here. So we can't use more than one thread.
! TODO: Dive more deeply into this problem.
-->
<parallelThreads>1</parallelThreads>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
Expand Down
4 changes: 0 additions & 4 deletions versions-maven-plugin/src/it/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
<releases>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
Expand All @@ -37,12 +35,10 @@
<releases>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
Expand Down