ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject How to get the newest version number?
Date Wed, 14 Jul 2010 13:38:16 GMT
I published an artefact with

  <ivy:publish resolver="publish.snapshot"
      pubrevision="0.0.1.test" forcedeliver="true" pubdate="now"
      publishivy="true" status="integration">
      <artifacts pattern="${jars.dir}/[artifact].[ext]" />

For the next run I want to get the newest version from the repository
manager (Nexus) for increasing the version number. 
Looking at the Ivy Ant Tasks I found <ivy:findrevision>

  <ivy:findrevision property="junit.ver1" organisation="junit"
module="junit" revision="latest.integration"/>
gives me a value (4.8.1)

  <ivy:findrevision property="ver" organisation="${ivy.organisation}"
module="${ivy.module}" revision="latest.integration"/>
does not find anything ("ver" is unset).

Any ideas where to look at?


View raw message