In your dependency, you might be able to do something like this: <version>[0.0.1,)</version>
which means any version greater than or equal to 0.0.1. However, this depends on your Maven version because I think it's relatively new. ________________________________ From: laredotornado <[email protected]> To: [email protected] Sent: Mon, November 2, 2009 10:54:45 AM Subject: Is there a way to say "get the latest version" in the project.xml file? 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 -- View this message in context: http://old.nabble.com/Is-there-a-way-to-say-%22get-the-latest-version%22-in-the-project.xml-file--tp26157739p26157739.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
