I got the following maven configuration in my pom.xml The skipTests variable is highlighted red by Intellij Ultimate 2018.1 as
Cannot resolve symbol 'skipTests'
But why? This is a common maven environmental variable.
<build>
<plugins>
<plugin>
<!-- exec yarn -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
...
<execution>
<id>yarn-test</id>
<phase>process-test-classes</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>yarn</executable>
<skip>${skipTests}</skip>
<arguments>
<argument>test</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>