title: how to add modules in pom.xml without a sequence
body: <p>I've an interview question regarding maven. If i've multiple modules in my project, how can i add them in the pom.xml witout following sequence. If the number of modules are less we can add them as required or as dependent, but the number is huge following a sequence is very difficult. Also how to add the version number dynamically? We can hard code the version number in the pom.xml but if it is modifying frequently how to add that dynamically?</p>
  
  <p>Thanks,
  Aditya</p>