Make running test in Intellij work with JaCoCo (#8526)

* Make running test in Intellij work with JaCoCo

After the jacoco-maven-plugin was added, running test in IntelliJ fails
with the error "Could not find or load main class @{jacocoArgLine}".
Add a default IntelliJ configuration file so that running tests in the
IDE works with the jacoco-maven-plugin configuration and the
out-of-the-box developer experience is better. Other solutions described
in https://stackoverflow.com/q/24115142 (e.g., setting an empty
"jacocoArgLine" maven property) did not work.

* Add comment with link to PR
This commit is contained in:
Chi Cao Minh 2019-09-14 11:56:09 -07:00 committed by Fangjin Yang
parent 5f39ee21ff
commit c254261e73
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MavenProjectSettings">
<option name="testRunningSettings">
<MavenTestRunningSettings>
<option name="passArgLine" value="false" /> <!-- see https://github.com/apache/incubator-druid/pull/8526 -->
</MavenTestRunningSettings>
</option>
</component>
</project>