Wednesday, 15 July 2015

dependencies - maven: how to remove a dependency from all modules of a project -


I have to clear a project that has a lot of modules, now most of those modules (or most) Dependency, which I want to remove An easy way to do this?

To give some more references: The version of this dependency is managed in parent palm (dependency management). Therefore, removing the version makes the module non-manufactured. I do not know if he can help in some way.

is the device (where you will search for your dependency entry and replace it with an empty string), But unless a large number is like a quadruple module, I will remove the Dependency Management section to fail the building, remove the dependency where the version-information is missing. .

As I know all the palm There is no plugin available to remove dependency from XML, so I do not see it as a specific Maven function, but more or less a specific search and folders work to replace multiple files in multiple files


No comments:

Post a Comment