Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello-world-spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Josh Steinberg
hello-world-spring-boot
Commits
0f105fdc
Commit
0f105fdc
authored
Jun 15, 2022
by
Josh Steinberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added jacoco to pom.xml
parent
5238c35c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
1 deletion
+49
-1
pom.xml
pom.xml
+49
-1
No files found.
pom.xml
View file @
0f105fdc
...
...
@@ -16,9 +16,20 @@
<properties>
<java.version>
1.8
</java.version>
<!-- JaCoCo Properties -->
<jacoco.version>
0.8.6
</jacoco.version>
<sonar.java.coveragePlugin>
jacoco
</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>
reuseReports
</sonar.dynamicAnalysis>
<sonar.jacoco.reportPath>
${project.basedir}/../target/jacoco.exec
</sonar.jacoco.reportPath>
<sonar.language>
java
</sonar.language>
</properties>
<dependencies>
<dependency>
<groupId>
org.jacoco
</groupId>
<artifactId>
jacoco-maven-plugin
</artifactId>
<version>
0.8.6
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
...
...
@@ -52,14 +63,51 @@
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
3.0.0-M7
</version>
</plugin>
<plugin>
<!-- Build an executable JAR -->
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
3.2.0
</version>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-enforcer-plugin
</artifactId>
<version>
3.0.0-M3
</version>
</plugin>
<plugin>
<groupId>
org.jacoco
</groupId>
<artifactId>
jacoco-maven-plugin
</artifactId>
<version>
${jacoco.version}
</version>
<executions>
<execution>
<id>
jacoco-initialize
</id>
<goals>
<goal>
prepare-agent
</goal>
</goals>
</execution>
<execution>
<id>
jacoco-site
</id>
<phase>
package
</phase>
<goals>
<goal>
report
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>
org.
sonarsource.scanner.maven
</groupId>
<groupId>
org.
codehaus.mojo
</groupId>
<artifactId>
sonar-maven-plugin
</artifactId>
<version>
3.4.0.905
</version>
<type>
pom
</type>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.8.1
</version>
</plugin>
</plugins>
</pluginManagement>
</build>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment