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

SLE-926: macOS support for running in shell #731

Merged
merged 1 commit into from
Sep 2, 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
23 changes: 8 additions & 15 deletions its/org.sonarlint.eclipse.its.connected.sc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,21 @@
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<!--
Since we use product files for the runtime configuration we have to configure SonarCloud URLs before the
IDE starts in order to hand it over to the RPC server of SLCORE.
-->
<systemProperties>
<sonarlint.internal.sonarcloud.url>https://sc-staging.io</sonarlint.internal.sonarcloud.url>
<sonarlint.internal.sonarcloud.websocket.url>wss://events-api.sc-staging.io/</sonarlint.internal.sonarcloud.websocket.url>
</systemProperties>
<install>
<iu>
<id>org.sonarlint.eclipse.its.connected.sc.product</id>
</iu>
</install>
</configuration>
</plugin>

<!--
Since we use product files for the runtime configuration we have to configure SonarCloud URLs before the IDE
starts in order to hand it over to the RPC server of SLCORE.
-->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<sonarlint.internal.sonarcloud.url>https://sc-staging.io</sonarlint.internal.sonarcloud.url>
<sonarlint.internal.sonarcloud.websocket.url>wss://events-api.sc-staging.io/</sonarlint.internal.sonarcloud.websocket.url>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</project>
21 changes: 21 additions & 0 deletions its/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -292,5 +292,26 @@
</plugins>
</build>
</profile>

<!-- Used on macOS in order to be able to run ITs when Maven invoked from terminal -->
<profile>
<id>macOS-its</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<argLine>-XstartOnFirstThread</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
22 changes: 21 additions & 1 deletion org.sonarlint.eclipse.core.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,26 @@
</plugins>
</build>
</profile>
</profiles>

<!-- Used on macOS in order to be able to run UTs when Maven invoked from terminal -->
<profile>
<id>macOS-uts</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<argLine>-XstartOnFirstThread</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>