There is no way to do that in maven 1.x (and for a good reason). See http://maven.apache.org/maven-1.x/using/managing-dependencies.html#Using_SNAPSHOT_Dependencies

HTH,
-Lukas


laredotornado wrote:
Hi,

I'm using Maven 1.1.  I have this dependency in my test/project.xml file ...

    <dependency>
        <groupId>myco.dor.dmv.driver.matching</groupId>
        <artifactId>myco-dor-dmv-driver-matching-client</artifactId>
        <version>${pom.currentVersion}</version>
    </dependency>

However, there is no "${pom.currentVersion}" of this particular dependency
at this time.  Is there a way to say "get the latest version" without
hard-coding the version?  Not sure how maven would know, but I thought I'd
through it out here to the experts.

Thanks,  - Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to