Maven pom editor not resolving newly added environment variables.

已回答

IntelliJ IDEA 2019.1.2 (Ultimate Edition)
Build #IU-191.7141.44, built on May 7, 2019
Licensed to Lingo Systems / Karl Krasnowsky
Subscription is active until October 3, 2019
JRE: 1.8.0_202-release-1483-b49 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

I'm trying to configure a plugin using added system environment variables, but after setting and restarting the system multiple times the environment variables are not resolving in the choices, e.g, ${env.MY_NEW_PATH}

so of course the build is breaking since it can't resolve it.

All other pre-existing variables seem to be found, (at least those added within the last ~2 weeks) but these newly added guys can't.

I've verified that they are recognized under both git bash and cmd shell environments. 

Please help.

 

1

>so of course the build is breaking since it can't resolve it.

Which build is failed? What result you get when build by Maven from command line?

0

请先登录再写评论。