Skip to content

Externalize the maven GAVs to be used with the maven find command #43

@cmoulliard

Description

@cmoulliard

TODO

Until now, the list of the jar or dependencies to be used when we search/find something has been hard coded part of the class RewriteService within the method private static List<Rewrite> executeQueryCommand(ParentFactory factory, Rule rule, Query q)

       // Recipe's jar files
        String gavs = "org.openrewrite:rewrite-java:8.62.4,org.openrewrite.recipe:rewrite-java-dependencies:1.43.0,dev.snowdrop:openrewrite-recipes:1.0.0-SNAPSHOT";

As such dependencies could change when we search about yaml, json, properties, text, maven, gradle, etc then we should find a way to externalize the dependencies and bind/map them

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions