That sounds like this issue http://jira.codehaus.org/browse/SUREFIRE-827
which was fixed in surefire 2.12.1 but jboss-parent 10 uses 2.12.3

does it work for you if you specify never version of plugin

mvn install -Dtest=test -Dversion.surefire.plugin=2.13 ?

--
tomaz


On Wed, Jan 9, 2013 at 7:58 PM, James Perkins <jperkins@redhat.com> wrote:
This isn't working me either. I see no tests run when I specify
-Dtest=Class or -Dtest=FQCN. When I revert the surefire plugin in
version, everything works as expected.

On 01/08/2013 05:22 PM, Stuart Douglas wrote:
> It looks like since the upgrade to jboss-parent 10 it is no longer
> possible to run individual tests with -Dtest=MyTest.
>
> This seems to have been caused by updating surefire to 2.12.3, as using
>
> -Dversion.surefire.plugin=2.11
>
> works around the issue.
>
> For now I think the best thing to do would be to override the surefire
> version back to 2.11. Any objections?
>
> Stuart
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

--
James R. Perkins
JBoss by Red Hat

_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev