It is possible if you are using maven-3.3.1 or newer. Look at the extension mechanism here http://takari.io/2015/03/19/core-extensions.html
On Sat 18 Apr 2020, 00:48 Hunter C Payne, <hunterpayne2...@yahoo.com.invalid> wrote: > I don't believe it is possible to change the POM during a single build. > However, are you sure this is what you need. Perhaps you instead need to > the dependency scope of your dependency. > > Maven – Introduction to the Dependency Mechanism > > | > | > | | > Maven – Introduction to the Dependency Mechanism > > Brett Porter Trygve Laugstol Karl Heinz Marbaise > > > | > > | > > | > > > Hunter > > On Friday, April 17, 2020, 12:02:22 PM PDT, 雾月政变 <594403...@qq.com> > wrote: > > Hello: > We have tried many ways to extend maven > plugins, and we need a plugin that could process before build that we could > change some dependency. Is there a way to do this with a maven plugin?