title: How to Deploy only the sub-modules using maven deploy?
body: <p>How do i deploy only the sub-modules of the project?
  i have a project as;</p>
  
  <pre><code>ProjectA
   -  Submodule B
   - Submodlue C
   - Submodule D 
  </code></pre>
  
  <p>The submodules are packaged as jar and is deployed to maven repo.how can only the sub -modules be deployed to the maven repository and not the main project?</p>