- Documentation (2.5.1-local-20221102182706)
- Release Notes
- Tutorials
- Reference
- Introduction
- Settings Files
- Ivy Files
- Ant Tasks
- artifactproperty
- artifactreport
- buildlist
- buildnumber
- buildobr
- cachefileset
- cachepath
- checkdepsupdate
- cleancache
- configure
- convertmanifest
- convertpom
- deliver
- dependencytree
- findrevision
- fixdeps
- info
- install
- listmodules
- makepom
- post resolve tasks
- publish
- report
- repreport
- resolve
- resources
- retrieve
- 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 |
download |
specify if artifact should be downloaded when new updates are found |
No. Defaults to |
checkIfChanged |
When set to |
No, default to |
showTransitive |
set to |
No. Defaults to |
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 :
mycompany#mydep 1.0 -> 2.0
mycompany#myotherdependency 2.0 -> 2.2
Same example with transitive dependencies :
<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