Support Questions
Find answers, ask questions, and share your expertise

Problem invoking environment variable set up in pom.xml surefire plugin.

New Contributor

Hi everyone, I am using the maven-surefire-plugin and I am declaring the environment variable inside my pom.xml. So the issue is that when I declare HADOOP_CLASSPATH my Junit tests can not see it. And it is weird because if I for example declare HADOOP_TEST it works fine. It is not conflicting with system defined environment variable, I opened intellij in the shell where this variable does not exist and it is still not working. Thanks in advance!
First screen, second screen.

; ;