Jacoco plugin is used to generate code coverage reports. Let's understand by example using Java & Multi-Module Maven Project.

Project Structure

Just follow the code snippets mentioned below, Remember we do not have any configuration in the pom.xml of CHILD projects.

Parent pom.xml

Report Aggregator POM

SONAR Command

-Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacocoAgg/jacoco.xml,../target/site/jacocoAgg/jacoco.xml,**/jacoco.xml

--

--

Whenever AWS resource protected by AWS_IAM then the client must implement SIGV4 authentication to connect.

Please find Python and Java code snippet given below:

PYTHON Code (AWS Lambda) Snippet for HTTP POST invocation.

JAVA Code Snippet

--

--