title: How do the dependencies of a maven project become available to it at runtime?
body: <p>I have my POJOs and DAOs in one maven project (Project A)
  And I have created a Service in another maven project collecting the DAOs I need (in Project B)
  And I created a third maven Project with a swing gui main class(Project C)</p>
  
  <p>Project C depends on B and B depends on A.</p>
  
  <p>When I declare my service(Project B) to use the functions to fetch data to the gui (Project C) I get a Java Null Pointer Exception on the Resource use of my service.</p>
  
  <p>Cant the project communicate just trough dependencies or do I need some deserialization etc.?</p>
  
  <p>LOGIC
  POJO(implements Serializable) -> DAO -> Service -> GUI </p>