I've coded a patch to the maven surefire plugin which allows for filtering tests classes based on arbitrary class level annotations when using junit.

The patch is attached to the jira here: https://jira.codehaus.org/browse/SUREFIRE-833#comment-322466
There is also an example of how it works in the comments section.

I've been asked to reach out to this mailing list concerning this change. I think at issue is the question of who is responsible for this type of filtering; should this type of functionality be part of junit?

Thanks,
Paul