Skip to content

Commit 3650df0

Browse files
committed
fix build for linux testing
1 parent 477754a commit 3650df0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

installLibsLocally.ps1

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,7 @@ if ($IsWindows) {
1717
# Run the batch script (mvnBuild.bat)
1818
& ".\mvnBuild.bat"
1919
} else {
20-
# Extract and explicitly invoke the mvn command from mvnBuild.bat
21-
$mvnCommand = Get-Content "./mvnBuild.bat" | Where-Object { $_ -match '^mvn\s+' }
22-
if ($null -ne $mvnCommand) {
23-
# Execute the extracted mvn command explicitly as a single line
24-
bash -c "$mvnCommand"
25-
} else {
26-
Write-Error "No mvn command found in mvnBuild.bat."
27-
}
20+
bash -c 'mvn clean install -U -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Dgpg.skip -Dspotbugs.skip=true'
2821
}
2922

3023
# Return to the parent directory before working on the second repository

0 commit comments

Comments
 (0)