Is it normal that a mojo with resolution set to compile has the following behavior: project.getArtifacts returns things in the compile scope including transitive dependencies. project.getDependencyArtifacts returns only the direct dependencies, but also includes things in the test scope. I would have expected that things in the test scope would be excluded in this case unless I change the resolution to test.