You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/10/05 08:53:38 UTC

[GitHub] [incubator-shardingsphere] Pramy opened a new pull request #3173: fix jacoco local report

Pramy opened a new pull request #3173: fix jacoco local report
URL: https://github.com/apache/incubator-shardingsphere/pull/3173
 
 
   Change-Id: I9bad46fbc7527df5d59d10023820ee0bb118fa89
   
   from [offical documentation](https://www.eclemma.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>
   ```
   after the change, jacoco working, output dir `traget/site/jacoco`
   ![image](https://user-images.githubusercontent.com/13444999/66252641-665a1f80-e790-11e9-97ae-85c5ff9a4b16.png)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services