title: How to organise unit, integration, e2e tests folder structure in maven for a Java project?
body: <p>I have a java project in maven and i know maven puts thing conventionally using </p>
  
  <ul>
  <li>src/main/java</li>
  <li>src/test/java</li>
  </ul>
  
  <p>and everything under test/ is usually unit test. But what if i want to introduce integration tests and E2E tests? How should i put in the correct folder structure? What is the correct way to organise these?</p>
  
  <p>could this be it:</p>
  
  <ul>
  <li>src/it/java</li>
  <li>src/e2e/java</li>
  <li>src/test/java</li>
  </ul>
  
  <p>?</p>
  
  <p>but doing this way would assume src/test/java is referring to unit tests. I rather have a clearly specified</p>