Show Updates Maven Plugin

Show the latest update version of maven dependencies.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.ccguyka
ArtifactId

ArtifactId

show-updates-maven-plugin
Last Version

Last Version

1.8.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Show Updates Maven Plugin
Show the latest update version of maven dependencies.
Project URL

Project URL

http://github.com/ccguyka/show-updates-maven-plugin
Source Code Management

Source Code Management

https://github.com/ccguyka/show-updates-maven-plugin

Download show-updates-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.ccguyka</groupId>
    <artifactId>show-updates-maven-plugin</artifactId>
    <version>1.8.0</version>
</plugin>

Dependencies

compile (6)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.21
org.apache.maven : maven-core jar 3.6.3
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0
com.fasterxml.jackson.core : jackson-databind jar 2.12.0
com.fasterxml.jackson.dataformat : jackson-dataformat-xml jar 2.12.0
com.slack.api : slack-api-client jar 1.4.1

test (9)

Group / Artifact Type Version
junit : junit jar 4.13.1
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0
org.apache.maven : maven-compat jar 3.6.3
org.mockito : mockito-core jar 3.6.28
org.assertj : assertj-core jar 3.18.1
org.assertj : assertj-guava jar 3.4.0
com.github.tomakehurst : wiremock-jre8 jar 2.27.2
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : slf4j-simple jar 1.7.30

Project Modules

There are no modules declared in this project.

Travis Sonar Quality Gate Sonar Coverage GitHub last commit Snyk Vulnerabilities for GitHub Repo License: MIT Maven Central 0pdd

Show Maven Updates Plugin

Show the latest update version of maven dependencies.

Goals

Updates

The updates goal prints all dependencies to console and creates a maven-updates.json file for all maven modules.

mvn com.github.ccguyka:show-updates-maven-plugin:updates

Properties

name default description

excludes

alpha,beta,SNAPSHOT

Dependency key words to be excluded from result as comma separated list

versions

latest

Show either latest (patch, minor and major versions), major, minor or patch version updates.

Example

This is how the output will look like. In this case the guava-testlib module of guava v27.0

[INFO] -------------------< com.google.guava:guava-testlib >-------------------
[INFO] Building Guava Testing Library 27.0-jre
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- show-updates-maven-plugin:updates (default-cli) @ guava-testlib ---
[INFO] Available parent updates:
[INFO]   com.google.guava:guava-parent ... 27.0-jre -> 27.0.1-jre, 27.1-jre, 29.0-jre
[INFO] Available dependency updates:
[INFO]   org.checkerframework:checker-qual ... 2.5.2 -> 2.5.8, 2.11.1, 3.3.0
[INFO]   com.google.errorprone:error_prone_annotations ... 2.2.0 -> 2.3.4
[INFO]   com.google.truth:truth ... 0.42 -> 0.46, 1.0.1
[INFO]   com.google.j2objc:j2objc-annotations ... 1.1 -> 1.3
[INFO]   junit:junit ... 4.12 -> 4.13
[INFO] Available plugin updates:
[INFO]   org.codehaus.mojo:animal-sniffer-maven-plugin ... 1.17 -> 1.18

Aggregate

The aggregate goal uses the created maven-updates.json of the updates goal and combines them into one aggregated-maven-updates.json within the root module.

mvn com.github.ccguyka:show-updates-maven-plugin:aggregate

Send report to slack

The send-slack-message goal will send the report to given slack webhook.

mvn com.github.ccguyka:show-updates-maven-plugin:send-slack-message -Dtoken=<slack-webhook>

Developer notes

Build

How to build and test the project.

mvn test

Release deployment to central repository

mvn release:clean release:prepare release:perform -Prelease

Versions

Version
1.8.0
1.7.0
1.6.0
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0