Forgot to say:

Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: C:\java\apache-maven-3.9.6
Java version: 1.8.0_382, vendor: Temurin, runtime: C:\Program Files\Eclipse 
Adoptium\jdk-8.0.382.5-hotspot\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Gary

On 2024/02/05 15:22:09 "Gary D. Gregory" wrote:
> Hi All:
> 
> mvn clean test -Dtest=org.apache.commons.compress.harmony.unpack200.tests.*
> 
> gives me:
> 
> [INFO] --- surefire:3.2.5:test (default-test) @ commons-compress ---
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  40.740 s
> [INFO] Finished at: 2024-02-05T10:18:31-05:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on 
> project commons-compress: No tests matching pattern 
> "org.apache.commons.compress.harmony.unpack200.tests.*" were executed! (Set 
> -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.) -> [Help 1]
> 
> What am I doing wrong?
> 
> Does this page not say what I think it's saying? 
> https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html
> 
> "As of Surefire Plugin 2.19.1, the syntax with fully qualified class names or 
> packages can be used ..."
> 
> Reproduce me:
> 
> git clone https://gitbox.apache.org/repos/asf/commons-compress.git
> cd commons-compress
> mvn clean test -Dtest=org.apache.commons.compress.harmony.unpack200.tests.*
> 
> TY!
> Gary
> 
> 
> 
> Gary
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to