Comment on page
Maven dependency insight
Find direct and transitive dependencies matching a group, artifact, and scope. Results include dependencies that either directly match or transitively include a matching dependency.
- groupId: org.openrewrite
- artifactId: rewrite-maven
- version: 8.9.5
Direct and transitive dependencies in use.
This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your
rewrite.ymlcreate a new recipe with a unique name. For example:
com.yourorg.DependencyInsightExample. Here's how you can define and customize such a recipe within your rewrite.yml:
displayName: Maven dependency insight example
com.yourorg.DependencyInsightExamplehas been defined activate it in your build file:
- 1.Add the following to your
mvn rewrite:runto run the recipe.
The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.