Skip to content

mp911de/dependency-assistant

Repository files navigation

Dependency Assistant Plugin

Build Status (GitHub Workflow Build)

An IntelliJ IDEA plugin that helps you upgrade Maven dependencies and build plugins. It determines available versions from your configured repositories and can apply updates selectively.

Features

  • Scans the open pom.xml for dependencies and plugins (including dependencyManagement, pluginManagement, and profiles)

  • Resolves versions from literals, properties, and profile-specific properties where possible

  • Lists update candidates and lets you pick target versions (patch / minor / major / latest strategies)

  • Uses repositories from the active Maven project (e.g. Maven Central and repos declared in the POM); repository authentication is not supported yet

Maven dependency check dialog
Figure 1. Screenshot: dependency version check dialog


Suggstions
Figure 2. Screenshot: Version Suggestions


Suggstions
Figure 3. Screenshot: Version Documentations

Installation

Install the Dependency Assistant plugin named from the IDE Settings / Plugins marketplace, or build the distribution locally (see Building) and install the ZIP from disk.

Usage

  1. Open a pom.xml in the editor (the file must belong to an active Maven project).

  2. Start a check

    • Use the intention action (light bulb) when the caret is in a relevant place in the POM (e.g. properties, or a version under dependency / plugin), or

    • Alternatively: Choose Tools  Update Maven Plugins and Dependencies.

  3. In the dialog, review suggestions, adjust Update to and the Update checkbox per row, then confirm to apply changes.

Updates are written to the currently open pom.xml. The plugin considers other Maven modules in the project when collecting coordinates, but only versions that can be tied to declarations in that open POM are offered for update.

Building

Prerequisites: JDK 21+, Gradle (wrapper included).

./gradlew build

To produce a plugin archive for local installation:

./gradlew buildPlugin

The ZIP is generated under build/distributions/.

Continuous integration runs tests and the IntelliJ Plugin Verifier; see the Actions tab on GitHub.

Contributing

Issues and pull requests are welcome at https://github.com/mp911de/dependency-assistant.

License

Dependency Assistant is Open Source software released under the Apache 2.0 license.

About

IntelliJ Plugin for assisted Maven Dependency and Plugin upgrades

Topics

Resources

License

Stars

Watchers

Forks

Contributors