Maven/Surefire not finding unit tests
I tried creating a test project with maven and the unit testing worked fine. However, when trying to do the same for a j2ee project, the unit tests cannot be found by surefire. The tests are in the correct directory (src/test/java) and they are being compiled. The junit test is at src/test/java/unit/TestAddition.java The surefire plugin config in pom.xml does not include/exclude any files. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.8</version> </plugin> and junit, testng <!-- Testing dependencies --> <dependency> <groupId