Dear Ameet, doesn't [mvn compile -pl <flink-sub-modules> -amd] command work out for you? It is described here http://stackoverflow.com/questions/1114026/maven-modules-building-a-single-specific-module
Take care of -amd option which will state to maven to compile also dependent modules. Perhaps it's worth also to consider this post http://stackoverflow.com/questions/14212920/how-to-build-a-module-and-its-submodules-using-maven-reactor. Hope it can help. Cheers, Andrea 2017-02-17 18:02 GMT+01:00 Ameet BD <ameetbigd...@gmail.com>: > Hello All, > > If I want to compile just one sub-project inside flink for example > flink-core, what command should I use? > Please help. > Thanks in advance. > Regards, > Ameet