You can not skip phases by using properties. You skip the execution of particular plugin goals but that means the goal must support such a property and strictly speaking it's not even skipped. That means only the plugin will skip costly operations by checking the skip property upfront... ... As you seen in your own example output the surefire-plugin is even executed (the goal: "test" is shown in the output) which means also the phase "test" executed...
min 3:00 You said we can run multiple lifecycle in a single command like "mvn clean site". But clean and site are phase of the main (default lifecycle). So you are running multiple phases of the default lifecycle, and not multiple lifecycle?
Thanks for keeping the video easy to understand.
You are a very good teacher.
Such a pleasant and calm voice man! Really easy to follow guide on Maven. Thanks!
Amazing video, full of lots of information. Thank you, Nikolay!
The best Maven intro I could find :)
You can not skip phases by using properties. You skip the execution of particular plugin goals but that means the goal must support such a property and strictly speaking it's not even skipped. That means only the plugin will skip costly operations by checking the skip property upfront... ... As you seen in your own example output the surefire-plugin is even executed (the goal: "test" is shown in the output) which means also the phase "test" executed...
Nice video, clean and simple
Many thanks. The video is very clean and easy to understand
Awesome tutorial. Thank you so much.
Well explained, really nice illustrated.
Very well explained.
Very good video
Finally someone without annoying pringles accent
very good understood in one go
well explained
underrated video
Great Video. Do you have the complete course available starting from the basics ?
Clearcut info❤
Good job man thanks !
Thank you
When we type mvn package does it perform above 4 stages(clean,validate,compile,test) also ?
Great Vid, but still cant see any gain with Maven, God knows i tried.
min 3:00 You said we can run multiple lifecycle in a single command like "mvn clean site". But clean and site are phase of the main (default lifecycle). So you are running multiple phases of the default lifecycle, and not multiple lifecycle?
Thanks for question
“site” is not the part of default lifecycle, it is specific lifecycle
@@NikolayPanyukov true but is clean a lifecycle ?
@@mysocial when you run clean, you initiate a default lifecycle
you also could run “mvn build site”, it will work
@@NikolayPanyukov ok thanks!
i have one question iam using ubuntu and in pom.xml do u have to specify like this :-
id.compile
compile
run
compile phase
id.test
test
run
test phase
Or just as you showed
org.apache.maven.plugins
maven-compiler-plugin
3.10.1
1.8
1.8
like this above
Very well explained.