I am having parent pom.xml defining 3 child pom.xml files like A,B,C. all child modules were defined in parent module. when i run mvn install all the child modules will build. if I want to exclude B child module. how it is possible.
Asked
Active
Viewed 32 times
0
-
1maybe a duplicate: https://stackoverflow.com/questions/5539348/how-to-exclude-a-module-from-a-maven-reactor-build – David Ibl May 21 '18 at 13:40
-
not that question. here I want to exclude one pom.xml file to not build – Vinodkumar reddy May 22 '18 at 04:36
-
Why would you like to exclude the child? What kind of problem are you trying to solve? – khmarbaise May 22 '18 at 09:48
-
Please see the second highest rated answer on this question https://stackoverflow.com/questions/8304110/skip-a-submodule-during-a-maven-build?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa – ilooner May 23 '18 at 19:23