Nick: for maven2, if a pom declares a dependency on something that itself has non-optional dependencies, then they should get *immediately* downloaded.
cmd: is the small bit of config you originally posted nested inside a <dependencyManagement> section? If so, that is wrong. Otherwise, please tell us why you think the dependencies of the org.springframework:spring library have not been downloaded. Regards, Simon ---- [EMAIL PROTECTED] schrieb: > You give not so much information, but I think I know why Maven didn't > downloaded the dependencies. Because it didn't have to. > > It wil only download dependencies if it has too. If you specify a dependency > and need the transitive dependencies for compile time, you will need to add > them yourself. You are depended on them, so you need to specify that. Else > your code breaks if a newer version of another dependency stops being > depended on it. > > If you have further questions, please be more descriptive about what you are > trying to do. > > Hth, > > Nick Stolwijk > > -----Original Message----- > From: cmd [mailto:[EMAIL PROTECTED] > Sent: Thu 1/17/2008 3:47 PM > To: users@maven.apache.org > Subject: about dependence transfer > > > i use maven2 to manage my jars > like this > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring</artifactId> > <version>2.5.1</version> > </dependency> > > but springframework depend some jars.Maven has not download the jars > automatic. > now how can i set the config file? > > -- > View this message in context: > http://www.nabble.com/about-dependence-transfer-tp14920281s177p14920281.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]