Home » Apache Maven » Page 2

Tag Archives: Apache Maven

Hibernate Maven Example

This tutorial is a part of the Hibernate introduction series and is useful in getting started with the Hibernate. We used JDK, Eclipse IDE and Maven build tool. This quick guide will show you how to use Maven to generate a simple Java project, and uses Hibernate to insert a record into the MySQL database.           ...

Read More »

Test-Driven Development with SNMP4J

This article presents a simple example of test-driven development with SNMP4J. Unit testing goes hand in hand with TDD. Agile testing is designed to prevent bugs and relies primarily on unit tests. Comprehensive regression testing can be run several times in a day. A test suite prevents fixed bugs from coming back or finding side effects of changes. The source ...

Read More »

Atlassian Confluence Job Config Module Example

We are going to learn to create a simple Job Config Module for the Atlassian Confluence Server in this article. This Confluence Plugin Module Type is available in version 5.10 or later. The most common use of the Job Config Module is when we want our application to run scheduled and repeatable tasks. Let us begin. 1. Requirements Atlassian SDK ...

Read More »

JUnit Hello World Example

In this example we shall show you how to start with JUnit hello world. JUnit is an open-source testing framework used by Java programmers. It contains various methods to include in class to make your test cases run smoothly. Currently latest stable version is 4.x and 5.x is coming most probably in Q1 of 2017. JUnit contains many annotations that ...

Read More »

Hadoop Hbase Maven Example

In this article, we will learn about using Maven for including Hbase in your Apache Hadoop related applications and how Maven makes it easy to write the Java Hbase applications with the repositories.                     1. Introduction Hbase is the NoSql database available in the Hadoop Ecosystem. Like rest of the Hadoop ...

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 »

Wildfly Maven Plugin Example

This is an article about using the Wildfly Maven Plugin, a plugin developed by Red Hat that allows you to deploy, undeploy, and manage applications on a JBoss Wildfly Application Server. You will get a brief introduction about how to install and use the plugin to communicate with your JBoss Wildfly Application Server. The following table shows an overview of the entire article: ...

Read More »

Maven Skip Tests Example

1. Introduction In this example we will explore Maven capabilities to skip running/compiling unit tests during a project build. Although this is not a recommended option, sometimes we may want to speed up the overall build by skipping tests from running for a particular project, for some projects or for all our projects. To run the examples in this article ...

Read More »