Does Maven need to explicitly specify the dependency that Spring/Hibernate dependented?

I'm new to Maven, I try to use Maven with Spring, Hibernate in my project. After go though the Spring and Hibernate reference, I found that "there is no need to explicitly specify the dependent liberaries in POM.xml file for such Apache commons liberaries".

My questions is that : If my other parts of project refer to Apache commons liberary, such as commons-io, SHOULD I explicit specify this dependency in POM.xml file?


You should define those dependencies in Maven which your project is using. For example, even though some library depends on commons-io but if your code needs this then you should directly define commons-io in your pom.xml

You should not worry about the dependencies of the libraries you have defined in your pom.xml. Maven will do that for you.

Need Your Help

jquery each element id

jquery each

For some reason its only finding one div instead of finding all divs with that id.

Where I can get mysql 4.1.3b-beta-nt-max version?

mysql version

I need reproduce the exact same environment of a system in production, it's working with mysql 4.1.3b-beta-nt-max version, where I can get this exact version? I have looking with google but it seem...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.