Closed
Description
See Maven Output which uses Plexus Utils's Os
:
>mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: C:\Program Files\apache-maven-3.3.9\bin\..
Java version: 1.8.0_72, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_72\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
getOsFamily
calls the method setValidFamilies
which adds DOS as first member to the collection and the check for the OS tries for the path separator ;
. It matches and DOS is returned. Obviously the order of if clauses values in isOs
should be applied to the values in setValidFamilies
.
Metadata
Metadata
Assignees
Labels
No labels