Home » Enterprise Java » Maven

Maven

Apache Maven Rat Plugin Tutorial

In this tutorial, we will learn about the Apache Rat tool and the Apache Maven Rat Plugin for Java applications. We will also see how to integrate the plugin into the verify phase of the Maven build lifecycle. Lastly, we will configure the plugin to detect and approve our custom license headers. 1. What is Apache Rat? Apache Rat is ...

Read More »

Apache Maven Felix Plugin Tutorial

In this tutorial, we will explore the Apache Maven Felix plugin and see how it can be used to build OSGi bundles. We will talk about OSGi fundamentals followed by developing an example built using the Maven Felix Plugin. Lastly, we will install and run our bundles on the appropriate platform. 1. Introduction Writing the MANIFEST.MF file manually is quite ...

Read More »

Apache Maven Enforcer Plugin Example

1. Apache Maven Enforcer Plugin – Introduction Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. 1.1 Maven installation guide You just need to download the Maven’s zip file, unzip it to a folder, and ...

Read More »

Apache Maven Eclipse Integration Tutorial

Apache Maven Eclipse Integration aims to ease developers to update pom.xml in the Eclipse IDE. In this tutorial, I will demonstrate how to create, build, and modify a Maven project in the Eclipse IDE.                  Table Of Contents 1. Introduction 2. Install Eclipse 3. Install Maven 3.1. Settings.xml 4. Install M2Eclipse 4.1. Check ...

Read More »

Apache Maven Eclipse Project Creation Using Archetype Example

1. Introduction Eclipse is a Java Integrated Development Environment (IDE). Eclipse has had Maven Integration for Eclipse since version Luna. Maven Archetype is a Maven project template plug-in. It enables developers to create a new maven project consistently and quickly. Eclipse IDE comes with nine most commonly used archetypes. Maven hosts about over 600 archetype in the remote catalog. I ...

Read More »

Apache Maven Checkstyle Plugin Tutorial

Maven Checkstyle is a tool to help ensure that the application’s Java code adheres to a set of coding standards. 1. Introduction The Eclipse Checkstyle Plugin (aka eclipse-cs) integrates the static source code analyzer Checkstyle into the Eclipse IDE. Checkstyle is an Open Source development tool to help developers ensure that their Java code adheres to a set of coding ...

Read More »

Maven Resolve Missing Artifact Error Example

In this example, we will be discussing about how to resolve “Missing Artifact” error while using Maven. Before we start with this article, it is expected that we have a basic understanding of how software development works with Java. It would also be good if we have an exposure to software build and deployment process to understand the usage and ...

Read More »

Apache Maven “Hello World” Example

In this example, we will discuss about Apache Maven “Hello World” Example. Before we start with this article, it is expected that we have a basic understanding of how software development works with Java. It would also be good if we have an exposure to software build and deployment process to understand the usage and the working of the Apache ...

Read More »

How to Use Maven For Dependency Management

In this example, we will see how to use Maven for dependency management. Maven is a build manager tool and mostly used in java projects. Maven was built on a central concept of project object model (POM). Maven addresses two steps for any project – first how a project is built and second how the dependencies are described. 1. Environment ...

Read More »

Maven Tutorial for Beginners

In this tutorial we are going to see how we can install and use maven. Maven is a build automation tool used mainly for java projects from apache. We are going to see step by step how you can download and install maven, what are the prerequisites needed in order to do it and a project example. For this example ...

Read More »