Well, both will clean. That means they’ll remove the target folder. Package will compile your code and also package it. For example, if your pom says the project is a jar, it will create a jar for you when you package it and put it somewhere in the target directory (by default). Install will compile and package, but it will ... Read More »
Tag Archives: apache maven
Create a J2EE Web Application project with Apache Maven
In this tutorial, we will learn how to create a J2EE Web Application project with Apache Maven, imports it into the Eclipse IDE, and package the Java project into a war file. Tools used : Maven 3.2.5 (For how to install, click here) Eclipse (Kepler Release) JDK 7 A. Create a Java Project from Maven Template In a terminal (*uix ... Read More »
Create a Java project with Apache Maven
In this tutorial, we will learn how to create a Java project with Maven, imports it into the Eclipse IDE, and package the Java project into a jar file. Tools used : Maven 3.2.5 (For how to install, click here) Eclipse (Kepler Release) JDK 7 A. Create a Java Project from Maven Template In a terminal (*uix or Mac) or ... Read More »
Installing Apache Maven on Ubuntu & Windows
To install Apache Maven on Ubuntu and Windows machine we need to take the following steps- Download the current stable version of Maven from http://maven.apache.org/download.cgi. Once downloaded follow the istallation steps – Installation Instructions A. Unix-based Operating Systems (Linux, Solaris and Mac OS X) Extract the distribution archive, i.e. apache-maven-3.2.5-bin.tar.gz to the directory you wish to install Maven 3.2.5. These ... Read More »
Jkoder.com Tutorials, Tips and interview questions for Java, J2EE, Android, Spring, Hibernate, Javascript and other languages for software developers