Skip to content

Commit

Permalink
Add jococo maven plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Fameing committed Jan 29, 2024
1 parent 46bf076 commit 353c1b4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/renovate/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
"description": "Process update docker images",
"fileMatch": [
"^.*Properties\\.java$",
"^.*\\.properties",
"^.*\\.adoc",
"^.*additional-spring-configuration-metadata.json"
"^.*additional-spring-configuration-metadata\\.json"
],
"matchStrings": [
"\\/\\/.*?renovate:.*?datasource=(?<datasource>.*?)\\s+?return\\s+?\\\"(?<depName>.*?):?(?<currentValue>[\\w+\\.\\-]*)\"",
Expand Down Expand Up @@ -61,7 +62,7 @@
{
"description": "Process update images in spring configuration metadata",
"fileMatch": [
"^.*additional-spring-configuration-metadata.json"
"^.*additional-spring-configuration-metadata\\.json"
],
"matchStrings": [
"\\\"embedded\\.\\w+?\\.(dockerImage|docker\\-image)\\\",\\s+.*\\s+.*\\s+\\\"value\\\"\\s*?:\\s*?\"(?<depName>.*?):?(?<currentValue>[\\w+\\.\\-]*)\""
Expand Down
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
<gitflow-incremental-builder.version>4.5.1</gitflow-incremental-builder.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>

<!-- GPG -->
<gpg.keyname>3EEF24C7</gpg.keyname>
Expand Down Expand Up @@ -202,6 +203,26 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand Down

0 comments on commit 353c1b4

Please sign in to comment.