maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Ruffié <>
Subject Exclude unit test by parameter
Date Tue, 09 Dec 2014 15:01:11 GMT
Hello all,


I Have several test packages, for example com.myapp.test1, com.myapp.test2,

How I can exclude by parameter one package ? for example:


mvn test –DskipTests=com.myapp.test1


mvn test –Dtest.exclude=com.myapp.test2


I have try both, and no success …


Thank and best regards.


Adrien Ruffié

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message