versions icon indicating copy to clipboard operation
versions copied to clipboard

[Feature-Request] mvn version:display-dependency-updates --limit <dependency> to check only a specific dependency Fix #212

Open somejavadev opened this issue 4 years ago • 2 comments

o Added includes functionality to allow filtering update check by artifact.

The new functionality will decrease the time it takes to check for updates should you wish to only check for specific artifacts.

I have used the same name for the parameter includes that you find in the dependency tree plugin to keep consistency.

Example usage:

mvn versions:display-dependency-updates -Dincludes=org.springframework.boot:spring-boot-starter-data-jpa,org.hibernate

Note: I might need to get the appropriate code formatter for IntelliJ since I see it seems to format some white space.

I am not sure if there is an existing utility to do the checks done in the private boolean matches( String token, String pattern ) method.

somejavadev avatar Jan 23 '21 12:01 somejavadev

Seems like most of the latest PR's are failing with the same 33 errors on the JDKBuilds / OpenJDK 16 (pull_request) Failing after 8m — OpenJDK 1 build.

somejavadev avatar Jan 23 '21 14:01 somejavadev

Does this also place the check after the filter for -DincludesList and -Dexcludes/excludesList ?

delanym avatar Mar 30 '22 11:03 delanym