CHAPTER 3
Maven Dependency Management
Enterprise-level projects typically depend on a variety of open source libraries. Consider the scenario where you want to use Log4J for your application logging. To accomplish this, you would go to the Log4J download page, download the JAR file, and put it in your project’s lib folder or add it to the project’s class path. As you may know already, there are a couple of problems with this approach:
- You need to check JAR files into SVN so that your projects can be built on a computer other than your own.
- The JAR file you downloaded might depend on a few other libraries. You would now have to hunt down all ...
Get Introducing Maven now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.