What is the equivalent of Ivy Maven versions: display-dependency-updates?

I have an ivy.xml file where I specify my dependencies explicitly. Are there any features built into Ivy that will allow me to detect or automatically update my legacy dependencies?

I do not want to use last.release because I want a fully stable and reproducible build. But from time to time I want to update some dependencies, and at the same time it would be nice to answer the question, what other dependencies are outdated?

+3
source share
3 answers

, . :

, , , ....

. , , Maven .

:

  <target name='dependencies' description='Resolve project dependencies and set classpaths'>
    <ivy:resolve/>
    <ivy:report todir='${ivy.reports}' graph='false' xml='false'/>

    <ivy:cachepath pathid="compile.path"  conf="compile"/>
    <ivy:cachepath pathid="provided.path" conf="provided"/>
    <ivy:cachepath pathid="runtime.path"  conf="runtime"/>
    <ivy:cachepath pathid="test.path"     conf="test"/>
  </target>

, ... , .

+2

: makepom, mvn-: display-dependency-updates pom.

+1

, , (, "checklatest" ), , .

, ivy.xml:           ...          

<dependencies>
    .... 
    <dependency org="somegroup" name="somename" 
        rev="latest.release" conf="checklatest->default"/>   
</dependencies>

ant, .

, - , Apache commons-httpclient httpcomponents, "commons-httpclient" "commons- httpclient" 3.1. Ivy, , - , - 2007 . .

+1
source

Source: https://habr.com/ru/post/1791062/


All Articles