Path variables with maven

I have a pom which referring to a external tool, the external tool is specified in my environment $PATH variable. When i run the pom target from with maven it errors out with the message "unable to find the tool ". When i run it from command line it works fine as it searches for the tool in the environment path.

How do i fix this in intellij


Please sign in to leave a comment.