Skip to content

Commit

Permalink
[Maven] Use <tycho.testArgLine> as property for Mac Profile
Browse files Browse the repository at this point in the history
- <tycho.testArgLine> can be used instead of <argLine> in tycho-surefire-plugin
- This is simpler to manage
  • Loading branch information
Phillipus committed Nov 13, 2024
1 parent cb11b03 commit e9ddf2c
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,17 @@
</build>

<profiles>
<!-- Profile for Mac. <tycho.testArgLine> is passed as <argLine> to tycho-surefire-plugin -->
<profile>
<id>osx</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<argLine>-XstartOnFirstThread</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<properties>
<tycho.testArgLine>-XstartOnFirstThread</tycho.testArgLine>
</properties>
</profile>
</profiles>

Expand Down

0 comments on commit e9ddf2c

Please sign in to comment.