Home » Enterprise Java » Maven » Page 5

Maven

How to build project with Maven example

In this tutorial, we will show you an easy way to build your project, using Apache Maven. In this example, we use the following tools on a Windows 7 platform: Apache Maven 3.1.1 JDK 1.7 First of all, we must understand how Maven builds and deploys a project. Each Maven project undergoes a specific build lifecycle. The default lifecycle has ...

Read More »

Create Java project with Maven Example

In this tutorial, we will show you an easy way to create a single Java project, using Apache Maven. Also, we will transform our project, in order to be recognizable and supported by the Eclipse IDE. Finally, we will conclude the tutorial, by presenting how we can package our Java project into an executable “.jar” file. In this example, we ...

Read More »

How to install Maven on Ubuntu

In this tutorial, we will show you an easy way to install Apache Maven 3 on Ubuntu 12 and Ubuntu 13 releases. 1. Search for the Apache Maven package in Ubuntu Repositories Open a terminal and execute the command:         $ apt-cache search maven in order to get  a list with all available packages, related to Maven. ...

Read More »

How to install Maven on Windows

In this tutorial, we will show you an easy way to install Apache Maven on Windows. Actually, we just need to download the Apache Maven’s zip release file, extract it on a folder and create a new Windows environment path variable that points to the extracted folder. In this example, we use the following tools on a Windows 7 platform: ...

Read More »