[
https://issues.apache.org/jira/browse/HADOOP-17776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wanqiang Ji updated HADOOP-17776:
---------------------------------
Description:
Some java agents or maven plugins want works well, must pass the agent
arguments as the VM arguments, such as JaCoCo etc.
PS. Use the JaCoCo to generate the code coverage data and put into SonarQube.
{code:java}
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package
-Dmaven.test.failure.ignore=true org.jacoco:jacoco-maven-plugin:report
surefire-report:report
{code}
was:
Some java agents or maven plugins want works well, must pass the agent
arguments as the VM arguments, such as JaCoCo etc.
PS. Use the JaCoco to generate the code coverage data and put into SonarQube.
> The java agent args should be passed as the VM arguments
> --------------------------------------------------------
>
> Key: HADOOP-17776
> URL: https://issues.apache.org/jira/browse/HADOOP-17776
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Wanqiang Ji
> Assignee: Wanqiang Ji
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Some java agents or maven plugins want works well, must pass the agent
> arguments as the VM arguments, such as JaCoCo etc.
> PS. Use the JaCoCo to generate the code coverage data and put into SonarQube.
> {code:java}
> mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package
> -Dmaven.test.failure.ignore=true org.jacoco:jacoco-maven-plugin:report
> surefire-report:report
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]