From 222ffccb51eab694c19a033da7a3322004904954 Mon Sep 17 00:00:00 2001 From: Vasili Gulevich Date: Tue, 14 Apr 2026 00:30:12 +0400 Subject: [PATCH] Allow overriding tests, suites and skipTags via -D command-line properties#307 --- .../eclipse/rcptt/maven/AbstractRCPTTMojo.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/maven-plugin/rcptt-maven-plugin/src/main/java/org/eclipse/rcptt/maven/AbstractRCPTTMojo.java b/maven-plugin/rcptt-maven-plugin/src/main/java/org/eclipse/rcptt/maven/AbstractRCPTTMojo.java index deae0f0b4..548085f9c 100644 --- a/maven-plugin/rcptt-maven-plugin/src/main/java/org/eclipse/rcptt/maven/AbstractRCPTTMojo.java +++ b/maven-plugin/rcptt-maven-plugin/src/main/java/org/eclipse/rcptt/maven/AbstractRCPTTMojo.java @@ -148,17 +148,26 @@ protected List getTestEngines() { protected String[] projects; /** - * @parameter + * Comma-separated list of tags to skip during test execution. + * Can be set from the command line with {@code -Drcptt.skipTags=tag1,tag2}. + * + * @parameter property="rcptt.skipTags" */ protected String[] skipTags; /** - * @parameter + * Comma-separated list of test suite names to execute. + * Can be set from the command line with {@code -Drcptt.suites=suite1,suite2}. + * + * @parameter property="rcptt.suites" */ protected String[] suites; /** - * @parameter + * Comma-separated list of test file names to execute. + * Can be set from the command line with {@code -Drcptt.tests=test1.test,test2.test}. + * + * @parameter property="rcptt.tests" */ protected String[] tests;