Skip to content

M2E Support: Emit file specific errors during incremental build #1960

@kwin

Description

@kwin

The m2e support added in #1413 currently only supports the "apply" goal properly but not the "check" goal as the error marker API from https://github.com/codehaus-plexus/plexus-build-api/blob/d7055dc45530a679b8f1ff62c0aa5562101d40a7/src/main/java/org/codehaus/plexus/build/BuildContext.java#L216 is not used, but rather a generic exception is being emitted in

throw new MojoExecutionException(DiffMessageFormatter.builder()
which lacks that crucial file context information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions