0

what is the difference between these 3 commands: mvn pre-clean / clean / post-clean? Pre and post are unusual to be used. We go straight forward with mvn clean but why?

J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
35Zoll
  • 23
  • 3

1 Answers1

1

In the default lifecycle bindings, pre-clean and post-clean are empty phases. So calling pre-clean will do nothing and calling post-clean will be the same as clean.

You could, of course, bind goals to theses phases and then use them.

J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142