The default war and jar archetypes inside Netbeans don't create a src/test/resources and src/test/java directory.
Is there an easy way of creating src/test/resources inside a Maven project without going to the 'Files' tab or creating the directory manually ?
src/test/java gets created when you create a new unit test.
Most of the Netbeans Maven controls are really intuitive, but manually creating the directory is clumsy.
Use the new file wizard to create a new folder.
src/test/java
with a parent folder left blank.Test Packages
folder will appear.src/test/resources
Other Test Sources
from being recognised immediately, thus you must reload the pom by right clicking the project > Reload POM.