$ErrorActionPreference = "Stop"

$ideaMaven = "D:\Program Files\JetBrains\IntelliJ IDEA 2025.3.3\plugins\maven\lib\maven3\bin\mvn.cmd"
if (-not (Test-Path $ideaMaven)) {
  throw "IDEA Maven not found: $ideaMaven"
}

& $ideaMaven -DskipTests package
