Archive for category MAVEN

Maven Command Line – Managing failures

Mastering The Maven Command Line – Managing failures
The last post of this series has introduced a couple of useful options to manage built modules in a multi-module project. This post focuses on failure. Maven proposes three different way to manage failures in reactor builds: fail-fast (default), fail-at-end and fail-never which will be described in this post.

kullanım:
Fail-at-end
>mvn clean install -fae -Dmaven.test.skip

Fail Never

> mvn clean install –fail-never (or just –fn)

>mvn clean install –fae => builds Module A, B, C (failed), skip D

Fail-Fast

–fail-fast

Text dosysına output yazdırmak için

>mvn clean install -fae -Dmaven.test.skip -rf common >result.txt

Maven eclipse clean
>mvn eclipse:clean eclipse:eclipse

Leave a comment

sembolik link oluşturma

c:\Oracle\Middleware\jdeveloper>mklink /D apache-maven-2.1.0 D:\kurulum\apache-maven-3.0.5
symbolic link created for apache-maven-2.1.0 <<===>> D:\kurulum\apache-maven-3.0.5

c:\Oracle\Middleware\jdeveloper>

,

Leave a comment

MAVEN

>mvn -o clean compile package

>mvn -U clean compile package

Leave a comment