THIS PLUGIN IS RETIRED. IT IS NO LONGER MAINTAINED. THIS PLUGIN IS RETIRED. IT IS NO LONGER MAINTAINED. THIS PLUGIN IS RETIRED. IT IS NO LONGER MAINTAINED. THIS PLUGIN IS RETIRED. IT IS NO LONGER MAINTAINED.
该插件可以在反应器中构建相互依赖的项目的子集。它应该在包含您没有处理的无关内容的大型反应堆构建中很有用。
Reactor 插件有几个目标:
示例:mvn reactor:resume -Dfrom=bar
示例:mvn reactor:make -Dmake.folders=foo,bar
示例:mvn reactor:make-dependents -Dmake.folders=foo,bar
示例:mvn reactor:make-scm-changes
目标reactor:make和reactor:make-dependents非常相似。它们在依赖分析的方向上有所不同。
例如,假设项目“fooUI”依赖于项目“barBusinessLogic”,而项目“barBusinessLogic”又依赖于项目“bazDataAccess”。
fooUI --> barBusinessLogic --> bazDataAccess
通常,在构建时,您将首先构建 bazDataAccess,然后是 barBusinessLogic,然后是 fooUI。
barBusinessLogic --> bazDataAccess
fooUI --> barBusinessLogic
换句话说,reactor:make 遍历 *down* 依赖树,而 reactor:make-dependents 遍历 *up* 依赖树。
为了让您更好地了解 Reactor 插件的一些用法,您可以查看示例页面。