why skip the test scope?
Initially i just thought we wouldn't want to deploy junit/testng jar etc.
Very nice. Didn't see that before.
I like the
archive.addLibrary(Maven.library("groupid", "artifactid", "version"))
Would be nice to select all the dependencies that are a part of the projects pom(s).
This might avoid false positives if there is some sort of dependency problem.
I'm thinking in particular to cases where an integration test might go green, but when project is built with maven and shipped out, there is an additional jar that was not there in the arquillian integration test that causes problems.