On Fri, Feb 17, 2012 at 2:51 PM, Wayne Fay <[email protected]> wrote: >> <dependencies> >> <dependency> >> <groupId>test</groupId> >> <artifactId>castor</artifactId> >> <version>0.9.5</version> >> </dependency> >> <dependency> >> <groupId>test</groupId> >> <artifactId>castor</artifactId> >> <version>1.0.4</version> >> </dependency> >> </dependencies> > ... >> But this copies only one version and it ignores the other one.. Please >> provide a solution for copying both the versions. > > Why do you want to do this? As you've already discovered, Maven will > generally "collapse" two such dependencies into a single element and > pick one version over the other.
Can I recommend you read one of the freely available books? http://maven.apache.org/articles.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
