maven项目的构建生命周期(build lifecycle)由很多阶段组成:从validate到deploy. maven插件中包含goal.这些goal可以被绑定到不同的maven的构建阶段上.goal表示一个特定的任务,是一个比构建阶段更细粒度的构建步骤,用于构建和管理当前项目. 要使用maven插件提供的goal,首先得知道这些插件提供了哪些goal以及他们的用法. maven的核心插件之一 --- help插件(Maven Help Plugin)可以用于查看插件提供了哪些goal.…