How to enable proxy setting in Maven
To enable proxy access in Maven, define the proxy server detail in {MAVEN_HOME}/conf/settings.xml . Note: There is a high chance your company is set up an HTTP proxy server to…
Favourite tutorials for developers
To enable proxy access in Maven, define the proxy server detail in {MAVEN_HOME}/conf/settings.xml . Note: There is a high chance your company is set up an HTTP proxy server to…
Not every library is stored in the Maven Central Repository, some libraries are only available in Java.net or JBoss repository (remote repository). This article will show how to add some…
By default, Maven will get project dependencies from Maven Local Repository, if it is not found, Maven will get it from the Maven Central Repository. (1) - Maven Central Repository…
By default, Maven local repository is defaulted to ${user.home}/.m2/repository folder. Unix/Mac OS X – ~/.m2/repository . Windows – C:\Users\{your-username}\.m2\repository . When we compile a Maven project, Maven will download all…
For Java libraries that are not available in the Maven Central or other Maven repositories, we need to install it into our Maven Local repository in order to use it…
In this tutorial, we will show you how to use Maven to manage a Multi-module project containing four modules. Password module – Interface only. Password md5 module – Password module…
Here’s a simple guide to show you how to add an Oracle JDBC driver into your Maven local repository, and also how to reference it in pom.xml. Note: Due to…
In this tutorial, we will show you how to use Maven build tool, to create a single executable Jar, and how to deal with the project’s dependencies. Tools used :Maven…
In this tutorial, we will show you how to use Maven to manage a Java project – create, add dependencies and package a Java project into an executable jar file.…
In this tutorial, we will show you how to use Maven to manage a Java web project. At the end, we will create a Spring MVC web application, display a…