title: Cross-project dependencies with Maven in NetBeans
body: <p><a href="https://i.stack.imgur.com/1Krl1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Krl1.png" alt="GUI layer, with which I want to call methods"></a></p>
  
  <p><a href="https://i.stack.imgur.com/D36eT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D36eT.png" alt="Domain layer which holds the methods to be called"></a></p>
  
  <p>I want to be able to access classes and methods from within another project. I GUI is located in the presentation layer project, and inside that project I have set dependencies to the project I want to be able to call methods from, the domain layer, but it doesn't work. How can I access classes and objects between objects with Maven?</p>