Class MavenBuildResult

java.lang.Object
uno.anahata.asi.nb.tools.maven.MavenBuildResult

public class MavenBuildResult extends Object
Represents the detailed result of a Maven build execution, including status, exit code, captured output, and a breakdown of build phases.

This DTO is the primary outcome of Maven.runGoals(String, List, List, Map, List, Long) and provides the necessary data for the ASI to reason about build successes, failures, and performance bottlenecks across different Maven phases.

Author:
anahata
  • Field Details

    • status

      The final status of the Maven process.
    • exitCode

      private Integer exitCode
      The exit code of the Maven process.
    • stdOutput

      private String stdOutput
      The captured standard output stream (last 100 lines).
    • stdError

      private String stdError
      The captured standard error stream (last 100 lines).
    • logFile

      private String logFile
      The absolute path to the full, untruncated log file saved on disk.
    • phases

      A list of build phases executed during the Maven run, with their individual outcomes.
  • Constructor Details

    • MavenBuildResult

      public MavenBuildResult()