- Documentation (2.4.0)
- Release Notes
- Tutorials
- Reference
- Introduction
- Settings Files
- Ivy Files
- Ant Tasks
- artifactproperty
- artifactreport
- buildlist
- buildobr
- buildnumber
- cachefileset
- cachepath
- checkdepsupdate
- cleancache
- configure
- convertmanifest
- convertpom
- deliver
- dependencytree
- findrevision
- fixdeps
- info
- install
- listmodules
- makepom
- post resolve tasks
- publish
- repreport
- resolve
- resources
- retrieve
- report
- settings
- var
- Using standalone
- OSGi
- Developer doc
checkdepsupdate
Display dependency updates on the console. This task can also show transitive dependencies updates and detect missing or new dependencies if you update dependencies.
This is a post resolve task, with all the behaviour and attributes common to all post resolve tasks.
Please prefer the use of retrieve + standard ant path creation, which make your build more independent from ivy (once artifacts are properly retrieved, ivy is not required any more).
Attributes
Attribute | Description | Required |
---|---|---|
revisionToCheck | target revision to check | No. Defaults to 'latest.integration' |
download | specify if artifact should be downloaded when new updates are found | No. Defaults to 'false' |
checkIfChanged | When set to true, the resolve will compare the result with the last resolution done on this module, with those configurations in order to define the property ivy.deps.changed. Put it to false may provides slightly better performance. | No, default to 'false' |
showTransitive | set to true if you want to see potential updates on transitive dependencies | No. Defaults to 'false' |
Example
Suppose we have two dependencies one called mydep in revision 1.0 and one called myotherdependency in revision 2.0.mydep has a transitive dependency on mytransitivedependency in revision 2.2.
Then:
<checkdepsupdate />will display the following updates in the console:
Dependencies updates available :Same example with transitive dependencies :
mycompany#mydep 1.0 -> 2.0
mycompany#myotherdependency 2.0 -> 2.2
<checkdepsupdate showTransitive="true" />will display the following updates in the console:
Dependencies updates available :
mycompany#mydep 1.0 -> 2.0
mycompany#myotherdependency 2.0 -> 2.2
mycompany##mytransitivedependency (transitive) 2.2 -> 2.4