+91-9894109618 [email protected]

Maven – Multi Modules

Guide to Build Multi Module Project using Maven Maven Multi Module concept is used when we have one or more project dependent on one another or each other. At the end of this article, you will be able to create complex, multi-module project using Maven….

Maven – Build Profiles

Guide to Maven Build Profiles Build profiles are elements available in the POM, and are triggered using variety of ways. Profiles are created for customizing build based on requirement, environment, property file, JDK, System OS and etc,. Profiles will also minimize the use of -f option of maven…

Maven – External Dependency

How do I use external dependencies? Dependency management is a core feature of Maven. Managing dependencies for a single project is easy. Managing dependencies for multi-module projects and applications that consist of “n” number of modules is also possible. Maven helps a lot in defining,…

Maven – Filter Resources

How do I filter resource files? Our project sometimes need to fill up or filter resource files using maven during the build time. To accomplish this in Maven, put a reference to the property that will contain the value into your resource file using the syntax ${<property…

Maven – Resources

How do I add resources to Maven Project? Resources are not (usually) code. They are not compiled, but are items meant to be bundled within your project or used for various other reasons. Every Java project contains a folder named resources, different type of projects…

Maven – Configuring Plugins

Maven plugins configuration can be done by specifying a <configuration> element where the child elements of the <configuration> element are mapped based on plugin fields. Types of Plugin In Maven, there are 2 types of plugin available, Build plugins will be executed during the build and then, they should be…

Maven – Plugins & MOJO

Collection of many plugins can also be called as “Maven” in simple. As Maven consists of a core engine which provides basic project-processing capabilities and build-process management used to execute the actual build tasks. What is a Maven Plugin? “Maven” is really just a core…

Maven – Package & Install

How do I create a JAR and install it in my local repository? Create a JAR file Creating a JAR file from maven project is simple one step process. A single command makes it possible to package the project as JAR. Navigate to project folder…

Maven – Repository

What is Maven Repository? Maven Repository is defined as storehouse of artifacts and dependencies of various types.  Types of Repository Local repository – A directory on local computer where maven runs, local repository caches remote dependencies (for offline mode purpose) and local builds artifacts that are not yet released…