I am using wsImport to create java atrifacts from wsdl files. I have many wsdl files, as of now I am making multiple entries of wsimport plugin in pom for wsdl files which becomes messy.
Is it possible to add plugins to maven dynamically at run time? I am able to invoke maven commands from java with maven embedder and maven-invoker. I am also able to read pom using MavenXpp3Reader but completely unsure about updating pom on the fly.