-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
versions:display-dependency-updates goal need to have excludes and includes property #318
Comments
+1 this would be tremendously helpful in cases where a stack is pegged at a specific version of an artifact (as required by other upstream dependencies), and can't be upgraded until all upstream dependencies upgrade in parallel. E.g., |
Implemented PR #350 with a possible fix |
o Added support to filter dependencies while doing `display-dependency-updates` Now you can do something like ``` mvn versions:display-dependency-updates -Dincludes=org.springframework.boot ``` Supports both `includes` and `excludes` options. Code is refactored to avoid duplications
o Added support to filter dependencies while doing `display-dependency-updates` Now you can do something like ``` mvn versions:display-dependency-updates -Dincludes=org.springframework.boot ``` Supports both `includes` and `excludes` options. Code is refactored to avoid duplications
Yes, I am interested in scanning only compile and test scopes, ignoring provided ones. |
Fixes mojohaus#318 Original commit d2adf66 Credits to https://github.com/HonoluluHenk for work
At present, if the following command is executed:
mvn versions:display-dependency-updates
The plugin currently scans for latest updates for all the dependencies listed in the pom file.
In certain cases, we might need to scan the updates to a limited dependency or a particular classifier or scope.
The display-dependency-updates doesn't currently allow this to be done.
But, other goals like versions:use-latest-versions allows me to have the excludes and includes property in them.
The text was updated successfully, but these errors were encountered: