title: Maven/Jenkins - Automatic releases of project and dependencies
body: <p>I'm working in maven project with several dependencies at several levels and each time a release of primary project is performed we have to create a lot of secondary releases manually. I will try to explain the situation.
  My scenario is the following:</p>
  
  <p>Project A</p>
  
  <ol>
  <li>Dependency B
  <ul>
  <li>Dependency E</li>
  <li>Dependency F
  <ul>
  <li>Dependency G</li>
  </ul></li>
  </ul></li>
  <li>Dependency C
  <ul>
  <li>Dependency G
  <ul>
  <li>Dependency H</li>
  </ul></li>
  </ul></li>
  <li>Dependency D</li>
  </ol>
  
  <p>Each dependency is an independent maven project and it exists a lot of dependency levels inside projects. If you modify some code of dependency G and your intention is to generate Project A release you have to:</p>
  
  <ol>
  <li>Generate release of project G</li>
  <li>Update dependency G version on project F</li>
  <li>Generate release of project F</li>
  <li>Update dependency F version on project B</li>
  <li>Generate release of project B</li>
  <li>Update dependency B version on project A</li>
  <li>Generate release of project A</li>
  </ol>
  
  <p>My intention is to automate this process. I didn't find any similar question after googling it for several days.</p>
  
  <p>Can you think in some solution for automatizing the task of generating releases in cascade?
  I'm thinking in a solution based on maven and Jenkins tasks but it looks like very complex.</p>