in ivy file, the dynamic version is "latest.integration" and when i run makepom, that keyword gets straight copied into pom's version tag, which fails on resolution as maven doesn't recognize "latest.integration"
when i change the ivy to specify a version number and run makepom, the version number will carry into pom, but that assumes it's a release.
how do i run makepom to convert latest.integration to the correct "{version}-SNAPSHOT" on both the artifact version, and its dependencies (which needs to be smart to tell the internal dependencies also need -SNAPSHOT suffix while the third-party dependencies do not)?
Example
original ivy.xml has a dependency
<dependencies>
<dependency name="some-api" rev="latest.integration"/>
<dependencies>
delivered ivy.xml converts dynamic version
<dependencies>
<dependency name="some-api" rev="8.1.00" revConstraint="latest.integration"/>
<dependencies>
makepom converts this dependency to
<dependencies>
<dependency>
<groupId>some.group</groupId>
<artifactId>some-api</artifactId>
<version>8.1.00</version>
<dependency>
<dependencies>
This resulting pom would be fine when some-api-8.1.00 is released; but we have NOT released it, so the the artifact is in the integration repo, and the dependency needs to be declared as
<version>8.1.00-SNAPSHOT</version>
In other words, I would like makepom to automatically append the "-SNAPSHOT" where it needs to be.
thx