Skip to content

Commit

Permalink
Workaround for concurrent access to local repository on Windows by ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Nov 9, 2023
1 parent e0afc0b commit cc47b20
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
<properties>
<mavenVersion>3.6.3</mavenVersion>
<slf4j.version>1.7.36</slf4j.version>
<invoker.parallelThreads>1C</invoker.parallelThreads>
<project.build.outputTimestamp>2022-07-15T02:43:45Z</project.build.outputTimestamp>
</properties>

Expand Down Expand Up @@ -321,6 +322,19 @@
</build>

<profiles>
<profile>
<!-- workaround for concurrent access to local repository on Windows -->
<!-- https://issues.apache.org/jira/browse/MRESOLVER-372 -->
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<invoker.parallelThreads>1</invoker.parallelThreads>
</properties>
</profile>
<profile>
<id>run-its</id>
<build>
Expand All @@ -336,7 +350,6 @@
<preBuildHookScript>setup</preBuildHookScript>
<postBuildHookScript>verify</postBuildHookScript>
<settingsFile>src/it/mrm/settings.xml</settingsFile>
<parallelThreads>1C</parallelThreads>
<properties>
<maven.compiler.source>${mojo.java.target}</maven.compiler.source>
<maven.compiler.target>${mojo.java.target}</maven.compiler.target>
Expand Down

0 comments on commit cc47b20

Please sign in to comment.