[ https://issues.apache.org/jira/browse/MNG-6582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MNG-6582: -------------------------------- Fix Version/s: wontfix-candidate > Maven report wrong jdk vendor > ------------------------------ > > Key: MNG-6582 > URL: https://issues.apache.org/jira/browse/MNG-6582 > Project: Maven > Issue Type: Bug > Affects Versions: 3.5.4, 3.6.0 > Reporter: Patrick Barry > Priority: Minor > Fix For: wontfix-candidate > > > I am using OpenJDK and when I perform mvn -version, it says Oracle is the > vendor. > ``` > mvn -version > Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; > 2018-06-17T14:33:14-04:00) Maven home: /usr/local/Cellar/maven/3.5.4/libexec > Java version: 11.0.2, vendor: Oracle Corporation, runtime: > /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home Default > locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: > "10.13.6", arch: "x86_64", family: "mac" > ``` > If you were to print the java version straight from the java install path: > ``` > /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/java > -version > openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build > 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) > ``` > I updated to the latest install of Maven, and the problem exists there as > well. Testing done on a Mac. -- This message was sent by Atlassian JIRA (v7.6.3#76005)