Category: Maven

About Apache Maven.

Maven Unit test 0

Maven unit test

Introduction Maven is very nice for doing unit test. In this tutorial, we will try to do these following things: Run all unit test Run a specific unit test Skip running unit test Setup...

create maven project 0

Install Maven project

When to install Maven project? Install Maven project when you want to package the project into the local repository and use it as a dependency for other projects. How to do it? Open cmd...

clean maven project 0

Clean Maven project

When to clean maven project? Clean Maven project when you need to delete the target folder. How to do it? Assumed that you have created a Maven project and already used the package command line. To clean...

create maven project 0

Build Maven project

How to build Maven project Assumed that my pom.xml is like this <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd”> <modelVersion>4.0.0</modelVersion> <groupId>com.tuanhm.devnotes</groupId> <artifactId>mvnsample</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>mvnsample</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project> To...