How to determine the version of the allowed Ivy dependency on Ant?

I have an ivy file with the following dependency:

<dependency org="totimm" name="techcentral" rev="1.6.+" conf="sdk->sdk" transitive="false"/>

Is there a way to determine the version that is allowed (e.g. 1.6.0, 1.6.1, etc.) from the ant file that orders the ivy solution?

+5
source share
1 answer

For this, you should use artifactpropertysomething like:

<ivy:artifactproperty
     name="module.[module].rev" value="[revision]"/>

one property containing the revision number will be set for each fixed artifact.

+5
source

All Articles