Terminal doesn't handle dots in a correct way #16394

Open
opened 2026-01-31 05:06:18 +00:00 by claunia · 0 comments
Owner

Originally created by @ghost on GitHub (Jan 13, 2022).

Windows Terminal version

1.11.3471.0

Windows build number

10.0.19042.0

Other Software

Maven 3.8.1
JDK latest 1.8 available (1.8.0.312 in my case)
PowerShell 7.2.1

Steps to reproduce

1.Have java and maven installed.
2.Create new maven project.
3.Try to add maven wrapper for the project with mvn wrapper:wrapper -Dmaven=3.8.4

Expected Behavior

I'm expecting maven wrapper to configure maven with version 3.8.4 for further use.
I should get --- maven-wrapper-plugin:3.1.0:wrapper (default-cli) @ directory-admin --- [INFO] Unpacked bin type wrapper distribution org.apache.maven.wrapper:maven-wrapper-distribution:zip:bin:3.1.0 [INFO] Configuring .mvn/wrapper/maven-wrapper.properties to use Maven 3.8.4 and download from https://qhrtech.jfrog.io/artifactory/qhr-maven-legacy [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS as a result.

Actual Behavior

Terminal only parse -Dmaven=3 as version and counts rest .8.4 as a next parameter instead of just version of maven I'm trying to install.
image

Originally created by @ghost on GitHub (Jan 13, 2022). ### Windows Terminal version 1.11.3471.0 ### Windows build number 10.0.19042.0 ### Other Software Maven 3.8.1 JDK latest 1.8 available (1.8.0.312 in my case) PowerShell 7.2.1 ### Steps to reproduce 1.Have java and maven installed. 2.Create new maven project. 3.Try to add maven wrapper for the project with `mvn wrapper:wrapper -Dmaven=3.8.4` ### Expected Behavior I'm expecting maven wrapper to configure maven with version 3.8.4 for further use. I should get ` --- maven-wrapper-plugin:3.1.0:wrapper (default-cli) @ directory-admin --- [INFO] Unpacked bin type wrapper distribution org.apache.maven.wrapper:maven-wrapper-distribution:zip:bin:3.1.0 [INFO] Configuring .mvn/wrapper/maven-wrapper.properties to use Maven 3.8.4 and download from https://qhrtech.jfrog.io/artifactory/qhr-maven-legacy [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS` as a result. ### Actual Behavior Terminal only parse `-Dmaven=3` as version and counts rest `.8.4` as a next parameter instead of just version of maven I'm trying to install. ![image](https://user-images.githubusercontent.com/59942112/149391919-7630f289-b28d-4a26-81a4-f20abaf330e1.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16394