Object MavenBuildSupport.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<BuildDiagnostic> parseDiagnostics(String output) Parse Kotlin/Java compiler errors from Maven output.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • parseDiagnostics

         final List<BuildDiagnostic> parseDiagnostics(String output)

        Parse Kotlin/Java compiler errors from Maven output.

        Handles the two dominant formats:

        • file:///D:/.../Foo.kt:12:5 error: Unresolved reference 'bar'

        • D:\...\Foo.kt:12:5: error: ... (Windows, some toolchains)

        • Maven reactor ERROR lines with path\Foo.kt:12 style