Maven Exercise 4: Run the Tests Which Have the Tag A and Don’t Have the Tag B

This exercise helps you to understand how you can configure Maven to run only the tests which have the tag A and don’t have the tag B. You can finish this exercise by following these steps:

1. Configure Maven to run the tests have the tag: ‘unitTest’ and don’t have the tag: ‘apiTest’.

2. Run your tests with Maven and ensure that only the serviceTest() method of the TodoItemServiceTest class is run.