The dependency plugin doesn't support versions in the copy/unpack goals. You could try the unpack-dependencies goal instead since that allows maven core to resolve it. You would then use the filters to get only the file you want.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of deckrider+mvn Sent: Monday, November 19, 2007 2:25 PM To: [email protected] Subject: dependency plugin and version Hi, is there a way I can change version below to take the latest greater than 8.0.0 instead of hard-coding the version as I do below? I tried using: "<version>[8,)</version>" but that did not work. <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dependency-maven-plugin</artifactId> <executions> <execution> <!-- Copy the webstart bundle in as a resource before packaging starts. --> <phase>process-resources</phase> <goals> <goal>unpack</goal> </goals> </execution> </executions> <configuration> <artifactItems> <artifactItem> <groupId>com.vzb.impact</groupId> <artifactId>webstart-test</artifactId> <version>8.1.2</version> <type>zip</type> </artifactItem> <outputDirectory>${project.build.directory}/${project.build.finalName}</ outputDirectory> </configuration> </plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
