From ca2bc2fbfb30a6d30d3e73ed7610e24a99c77555 Mon Sep 17 00:00:00 2001 From: Chi Cao Minh Date: Thu, 12 Sep 2019 11:09:27 -0700 Subject: [PATCH 1/2] 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. --- .idea/mavenProjectSettings.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .idea/mavenProjectSettings.xml diff --git a/.idea/mavenProjectSettings.xml b/.idea/mavenProjectSettings.xml new file mode 100644 index 000000000000..b2020644367d --- /dev/null +++ b/.idea/mavenProjectSettings.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file From 4349389785c852a279fff9ed678b0180d9bf7af2 Mon Sep 17 00:00:00 2001 From: Chi Cao Minh Date: Fri, 13 Sep 2019 10:42:09 -0700 Subject: [PATCH 2/2] Add comment with link to PR --- .idea/mavenProjectSettings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.idea/mavenProjectSettings.xml b/.idea/mavenProjectSettings.xml index b2020644367d..1eb1f057ae63 100644 --- a/.idea/mavenProjectSettings.xml +++ b/.idea/mavenProjectSettings.xml @@ -3,8 +3,8 @@ - \ No newline at end of file +