title: Should I create a new spring-boot starter or use optional dependencies?
body: <p>I'm currently maintaining a fork of the <a href="https://github.com/sbraconnier/jodconverter" rel="nofollow noreferrer">jodconverter</a> project which offers a spring-boot-starter module, allowing a spring-boot based app to use an Open/Libre Office installation (on the same server) to automate document conversions.</p>
  
  <p>Now, the project have grown and a new module was born, named <a href="https://github.com/sbraconnier/jodconverter/wiki/LibreOffice-Online" rel="nofollow noreferrer">jodconverter-online</a>. This module will send conversion request to a LibreOffice Online server, and I now want to create a spring-boot starter to support this new module.</p>
  
  <p>The current jodconverter-local (on which depends the current jodconverter-spring-boot-starter) does not have the same dependencies as the jodconverter-online module. This is why they are two separated modules in the first place.</p>
  
  <p>So my question is:</p>
  
  <p>Should I create a new jodconverter-online-spring-boot-starter or if it is possible (and how) to just modify the current starter project, making the dependencies optional according to the needs of the user.</p>
  
  <p>For now I put it all in the <a href="https://github.com/sbraconnier/jodconverter/tree/master/jodconverter-spring-boot-starter" rel="nofollow noreferrer">current starter project</a> (which is available as a 4.2.0-SNAPSHOT in the OSS snapshot repository), but I'm doing it the wrong way since it automatically adds the dependencies for both the jodconverter-local and the jodconverter-online modules.</p>