title: Eclipse Run Configurations: how to add Maven dependencies of projects added to Classpath
body: <p>I'm using Eclipse <code>version Oxygen.2 Release (4.7.2) with M2E version 1.8.2.20171007-0217 on Windows 7</code>.</p>
  
  <p>When I define a new RUN configuration I can see the Maven dependencies of the Main project (the one defined in the Main tab of the "Run Configurations" dialog) in the Classpath tab. </p>
  
  <p>However, I cannot add the Maven dependencies of the other projects that I added to the Classpath tab, under "User Entries". The result is that I get ClassNotFoundException. To solve that, I need to explicitly add the external JARs from my local <code>.m2</code> repository.</p>
  
  <p>I googled around to see if I could find a solution but I could not find anything useful. </p>
  
  <p>Is it possible to do what I am trying to do, i.e. adding the maven dependencies of all the projects added to the Classpath tab to the classpath?
  How can I do that?</p>