Skip to content

use injected GraphBuilder to rebuild graph #3

@mickroll

Description

@mickroll

#1 introduced a dirty way to reset cached dependency graph data using reflection.

The next maven release - be it 3.6.4 or 3.7.0 - includes a fix to provide GraphBuilder for plugins:

    @Requirement( hint = GraphBuilder.HINT )
    private GraphBuilder graphBuilder;

see apache/maven@6087444

Using this, the dependecy graph should be rebuild the proper way, without using reflection.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions