Fix dependency resolution for exec mojo

The exec mojo needs to resolve all test artifacts as a requirements
since there is no way to guess which scope we need for the executing
script.

Otherwise, when calling mavenProject.getTestClasspathElements(), not all dependencies will be resolved correctly, and the projects own test resources will be missing