Results 1 to 1 of 1
Thread: Goals vs. phases
- 06-18-2014, 05:00 PM #1Senior Member
- Join Date
- Jul 2013
- Rep Power
Goals vs. phases
Hello every one,
I use maven in my project and I read a lot about it.
I would like to ask about the goals what is the goals why we use it and what is the different between them and the phases??
I know maven life-cycle and the function of each phase, and i read that the goals is linked to those phases, so why we use the goals? can not we just use the phases??
Another question, hence the regular expression of the phase is [mvn "phase"] like (mvn package) which build and create jar or war, so what is the regular expression of the goal?