Skip to content

Instantly share code, notes, and snippets.

@seogi1004
Last active January 30, 2019 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seogi1004/4f5f976850b384856ad94b4573a78c82 to your computer and use it in GitHub Desktop.
Save seogi1004/4f5f976850b384856ad94b4573a78c82 to your computer and use it in GitHub Desktop.
...
<build>
...
<!-- TODO: jacoco + sonarqube 커버리지 및 코드분석 -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.6.0.1398</version>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment