Intellij not picking up maven surefire configuration
Asked Answered
S

1

7

In my surefire configuration I have a classpathDependencyExcludes entry.

For some reason Intellij does not seem to pick up this configuration (mvn test, does). Is there any way to have Intellij notice my surfire configuration?

Ps. It seems like something similar has been reported a long long time ago at Intellij ( IDEA-52286 ), but never fixed.

Shackle answered 19/7, 2016 at 7:5 Comment(1)
There seems to be only a workaround to use this feature: manually exclude those dependencies from module settings dependencies. But after a change made to pom.xml it appears again. intellij-support.jetbrains.com/hc/en-us/community/posts/… hope jetbrains will fix it soonKathaleenkatharevusa
D
1

Both IDEA-101185 IntelliJ does not use systemPropertyVariables defined in maven-surefire-plugin configuration and IDEA-122783 Unit test runner ignores maven surefire classpath configuration have been already fixed.

But IDEA still ignores properties from systemPropertiesFile.

Depolarize answered 9/9, 2019 at 20:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.