Home » Enterprise Java » Maven » Page 3

Maven

Maven Compiler Plugin Example

In this example we are going to see most of the capabilities from the maven compiler plugin. Maven is a build automation tool used mainly for java projects from apache. You can access to the maven compiler plugin here. We are going to see some examples of the capabilities of the maven compiler plugin. For this example we use the ...

Read More »

Maven assembly plugin example

In this example we are going to see how we can use the assembly maven plugin in order to control how maven generates our output packages. Maven is a build automation tool used mainly for java projects from apache. You can access to the maven assembly plugin information here. We are going to use the assembly plugin in order to ...

Read More »

Maven Antrun Plugin Example

In this example we are going to see how we can use the antrun maven plugin in order to run ant build files inside maven builds. Maven is a build automation tool used mainly for java projects from apache. Ant is a software tool for automating software build processes from apache originally created as a replacement for the unix make build tool. ...

Read More »

Maven SLF4J integration example

In this example, we shall show you how to integrate Apache Maven with SLF4J. Apache Maven is a software project management and comprehension tool. It provides powerful features like superior dependency management including automatic updating and transitive dependencies. It follows the principle of convention over configuration, due to which one can start with a minimal configuration and sensible defaults will ...

Read More »

Logback Maven Example

In this post, we are going to show you how to configure your application to use Maven and logback as logger solution. 1. What is logback? Logback is intended as a successor to the popular log4j project. It was designed by Ceki Gülcü, log4j’s founder. It builds upon a decade of experience gained in designing industrial-strength logging systems. The resulting ...

Read More »

JUnit Maven Example

In this example, we will show you how to implement and execute unit testing, using the JUnit Framework and Maven. 1. Introduction. Some developers feel that automated tests are an essential part of the development process: you can’t prove a component works until it passes a comprehensive series of test. Two developers felt that this type of unit testing was ...

Read More »

Log4j Maven example

In this article we are going to explain how to use Maven and Log4j in a Java project. All examples in this article have been implemented using Java version 8 update 5, Maven version 3.2.2 and Log4j version 1.2.17 (all for and under Windows 64b). This Log4j version is the last one supported in the maven repositories at the moment ...

Read More »