Skip to content

Replace the use of deprecated APIs within the plugin #239

@ascopes

Description

@ascopes

Running the Maven plugin on v2.5.1 with -Dmaven.plugin.validation=verbose in the MAVEN_ARGS results in the following warning:

[WARNING]   Mojo EXTERNAL issue(s):
[WARNING]    * Mojo apigee-enterprise:configure (io.apigee.buildTools.enterprise4g.mavenplugin.ConfigureMojo)
[WARNING]      - Mojo implements `Contextualizable` interface from Plexus Container, which is EOL.
[WARNING] 
[WARNING] 
[WARNING] Fix reported issues by adjusting plugin configuration or by upgrading above listed plugins. If no upgrade available, please notify plugin maintainers about reported issues.
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [NONE, INLINE, SUMMARY, BRIEF, VERBOSE]
[WARNING] 

The use of Plexus can be replaced with the use of Eclipse Sisu, which should also reduce some complexity as it implements the Java CDI spec, and is the recommended way to achieve CDI in Maven Plugins now.

The use of end-of-life features should probably be fixed since it would pose a blocker to Maven 4.0 migration once it becomes available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions