Malwarebytes 3 (latest version) is detecting a cmd.exe call from Apache Maven's batch script as an exploit and blocking it. This is the report I get whenever attempting to run Maven from the Command Prompt:
Malwarebytes
www.malwarebytes.com
-Log Details-
Protection Event Date: 12/8/18
Protection Event Time: 8:52 PM
Log File: 16559d7a-fb55-11e8-b04c-74d02bda02b5.json
-Software Information-
Version: 3.6.1.2711
Components Version: 1.0.482
Update Package Version: 1.0.8227
License: Premium
-System Information-
OS: Windows 10 (Build 17134.407)
CPU: x64
File System: NTFS
User: System
-Exploit Details-
File: 0
(No malicious items detected)
Exploit: 1
Malware.Exploit.Agent.Generic, , Blocked, [0], [392684],0.0.0
-Exploit Data-
Affected Application: cmd
Protection Layer: Application Behavior Protection
Protection Technique: Exploit payload process blocked
File Name: C:\WINDOWS\system32\cmd.exe cmd \C exit \B 0
URL: