title: Maven dependancy on another non-repository project?
body: <p>I have 2 completely separate projects where one depends on the other. I've very recently mavenized the main project but can mavenise the dependency if absolutely necessary.</p>
  
  <p>Originally these were Netbeans projects, with the main project having several modules. What I liked is that I could declare the dependency as a dependent <em>project</em>. This allowed me to use the most recent code as it changes a lot (the project is in its infancy). NetBeans would put the dependent project on the classpath when running, and build a jar in the /dist directory when doing a clean and build. </p>
  
  <p>Now that the main project is in maven, I can't do this anymore. The only alternative I've found was to manually copy it into the project repository, but that removes a lot of automation and ease of use. Every time I wanted to test a change I would have to rebuild the dependency, move it to the buried project repository folder, rename it appropiatly, switch back to NetBeans, then run. This is vs clicking run and everything being done automatically.</p>
  
  <p>Maybe I'm just lazy, but is there an easy way to do this?</p>