On Sunday, February 4, 2018 at 12:19:47 AM UTC+1, [email protected] wrote: > > Thanks for your time and your answer. > > Happens that IntelliJ - as far as current version, 2017.3.4 - doesn't > support late property evaluation. > > They don't even have a plan to fix this ( > https://youtrack.jetbrains.com/issue/IDEA-143187). > > I'm trying to find some way around this. > >
You can use another way that is also described on page at http://www.jacoco.org/jacoco/trunk/doc/prepare-agent-mojo.html : Another way is to define "argLine" as a Maven property rather than as part of the configuration of maven-surefire-plugin: <properties> <argLine>-your -extra -arguments</argLine> </properties> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- no argLine here --> </configuration> </plugin> Or you can move both jacoco-maven-plugin and maven-surefire-plugin with late property evaluation into a profile that won't be active for IDE. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/7a4a7d5c-718d-46f4-933a-d42657e5d528%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
