What is the Ivy equivalent of Maven's versions:display-dependency-updates? -
i have ivy.xml file specify dependencies explicitly. there functionality built ivy let me discover or automatically update dependencies out of date?
i don't want use latest.release because want stable , reproducible build. every once in while i'll want update dependencies , @ same time answer question, other dependencies out of date?
like you, use dynamic versions in-house dependencies. when upgrading, @ start of new development phase, use 1 of repository search tools discover new versions of 3rd party libraries:
as i'm sure you're aware, problem upgrading dependencies can lead involuntary upgrade of transitive dependencies....
what i'd suggest generate ivy dependency report , use review code's module usage. find useful considering 3rd party maven modules not behaved , import many unnecessary libraries onto classpath.
the following example of standard dependencies target:
<target name='dependencies' description='resolve project dependencies , 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>
hope helps.... if find way automatically manage i'd interested.
Comments
Post a Comment