I would like to invite you to read the article „Adding an external library into a project, why use a build tool like Maven?” that I wrote for Bulldogjob – The Space for IT People. Check how to automate the process of adding an external library with several clicks.

In this article, I will describe how to add an external library to a project. First I will start with the most common way, adding an external library manually, but unfortunately, this method is not the best one. Then I will move to build automation tool Maven, this method is the preferred one for automatically adding external libraries into a project. All presented in my favorite IDE which is IntelliJ IDEA.

Adding an external library into a project, why use a build tool like Maven?

Link to the entire article: https://bulldogjob.pl/news/1861-adding-an-external-library-into-a-project-why-use-a-build-tool-like-maven

The below table shows a comparison of adding external libraries, manual work vs automated with Maven.

Lp.Manual workAutomated with Maven
1.Create Java projectCreate Maven project
1. a)Create folder e.g.: libN/A
2.Find a library in the Maven RepositoryFind a library in the Maven Repository
3.Download JAR fileAdd Maven <dependency>
3. a)Place JAR file in the lib folderN/A
3. b)Add library to the projectN/A
4.Start using the external libraryBuild Maven project to start using the external library
Comparison adding an external library, manual work vs automated with Maven

For more articles visit my website www.juniorjavadeveloper.pl. You can contact me by email kontakt(at)juniorjavadeveloper.pl.

Current offer you can find at https://www.juniorjavadeveloper.pl/oferta/.