Skip to content

Commit

Permalink
✔️ Updated maven plugin configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 5, 2022
1 parent f5daacc commit 77f4938
Showing 1 changed file with 114 additions and 1 deletion.
115 changes: 114 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@
<lombok.version>1.18.22</lombok.version>

<picocli.version>4.6.2</picocli.version>

<jacoco.it.execution.data.file>${project.build.directory}/coverage-reports/jacoco-it.exec</jacoco.it.execution.data.file>
<jacoco.ut.execution.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec</jacoco.ut.execution.data.file>
<jacoco.execution.data.file>${project.build.directory}/coverage-reports/jacoco-aggregate.exec</jacoco.execution.data.file>

<plugin.site.version>3.9.0</plugin.site.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -219,7 +225,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.0</version>
<version>${plugin.site.version}</version>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
Expand Down Expand Up @@ -279,6 +285,23 @@
<version>3.1.2</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.1.1</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.3</version>
</plugin>

</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -428,6 +451,39 @@
<outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
</configuration>
</execution>

<execution>
<id>merge</id>
<phase>verify</phase>
<goals>
<goal>merge</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<directory>${project.build.directory}/coverage-reports</directory>
<includes>
<include>*.exec</include>
</includes>
</fileSet>
</fileSets>
<destFile>${jacoco.execution.data.file}</destFile>
</configuration>
</execution>
<execution>
<id>report-merge</id>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
<configuration>
<dataFileIncludes>
<include>jacoco-ut.exec</include>
<include>jacoco-it.exec</include>
</dataFileIncludes>
<!-- <dataFile>${jacoco.execution.data.file}</dataFile>-->
</configuration>
</execution>
</executions>
</plugin>

Expand Down Expand Up @@ -553,9 +609,66 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<configuration>
<type>range</type>
<range>1</range>
<!--<displayFileDetailUrl>${project.scm.url}/tree/master/%FILE%</displayFileDetailUrl>-->
<headingDateFormat>MM-dd-yyyy</headingDateFormat>
<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
</configuration>
<reportSets>
<reportSet>
<id>default</id>
<reports>
<report>changelog</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<dataFileIncludes>
<include>jacoco-ut.exec</include>
<include>jacoco-it.exec</include>
</dataFileIncludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<id>default</id>
<reports>
<report>javadoc</report>
<!-- <report>aggregate</report>-->
</reports>
</reportSet>
</reportSets>
<configuration>
<failOnError>false</failOnError>
</configuration>
</plugin>

</plugins>
</reporting>

<scm>
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<url>https://github.com/rrajesh1979/ref-java-cli.git</url>
<tag>HEAD</tag>
</scm>

<profiles>
<profile>
<id>native</id>
Expand Down

0 comments on commit 77f4938

Please sign in to comment.