chensoul-parent
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.chensoul</groupId> <artifactId>chensoul-parent</artifactId> <version>1.0.42</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.chensoul</groupId> <artifactId>chensoul-parent</artifactId> <version>1.0.42</version> <packaging>pom</packaging> <name>ChenSoul™: Parent</name> <description>${project.name}</description> <url>https://chensoul.github.io/chensoul-parent/</url> <inceptionYear>2023</inceptionYear> <!-- 以下节点可以被继承:groupId、version、properties、dependencies、dependencyManagement、build、 reporting、repositories、scm、issueManagement、organization、developers、licenses--> <organization> <name>chensoul.cc</name> <url>https://blog.chensoul.cc/</url> </organization> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>chensoul</id> <name>chensoul</name> <email>chensoul.eth@gmail.com</email> <url>https://blog.chensoul.cc</url> <roles> <role>developer</role> </roles> <timezone>+8</timezone> </developer> </developers> <scm> <connection>scm:git:https://github.com/chensoul/chensoul-parent.git</connection> <developerConnection>scm:git:https://github.com/chensoul/chensoul-parent.git</developerConnection> <tag>HEAD</tag> <url>https://github.com/chensoul/chensoul-parent</url> </scm> <issueManagement> <system>Github</system> <url>https://github.com/chensoul/chensoul-parent/issues</url> </issueManagement> <ciManagement> <system>Github Actions</system> <url>https://github.com/chensoul/chensoul-parent/actions</url> </ciManagement> <distributionManagement> <repository> <!-- The ID must be the same as the value of the server element id in the settings.xml --> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <site> <id>github</id> <url>scm:git:ssh://git@github.com/chensoul/chensoul-parent.git</url> </site> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format> <!-- maven-compiler-plugin properties --> <java.version>8</java.version> <java.test.version>8</java.test.version> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <maven.compiler.testSource>${java.test.version}</maven.compiler.testSource> <maven.compiler.testTarget>${java.test.version}</maven.compiler.testTarget> <!-- maven-surefire-plugin properties --> <surefire.useFile>false</surefire.useFile> <trimStackTrace>false</trimStackTrace> <!-- maven-enforce-plugin properties --> <maven.min-version>3.8.3</maven.min-version> <!-- maven-scm-publish-plugin properties --> <!-- Single module project has no need for site:stage, use target/site or target/checkout/target/site on release. --> <scmpublish.content>${project.reporting.outputDirectory}</scmpublish.content> <scmpublish.pubScmUrl>${project.scm.developerConnection}</scmpublish.pubScmUrl> <scmpublish.scm.branch>gh-pages</scmpublish.scm.branch> <!-- maven-checkstyle-plugin properties--> <checkstyle.config>checkstyle.xml</checkstyle.config> <!-- clirr-maven-plugin properties--> <clirr.comparisonVersion>1.0.40</clirr.comparisonVersion> <!-- spotbugs-maven-plugin properties --> <spotbugs.onlyAnalyze/> <asm.version>9.6</asm.version> <extra-enforcer-rules.version>1.7.0</extra-enforcer-rules.version> <fluido.version>1.12.0</fluido.version> <therapi-runtime-javadoc.version>0.15.0</therapi-runtime-javadoc.version> <lombok.version>1.18.30</lombok.version> <clover-maven-plugin.version>4.5.1</clover-maven-plugin.version> <clirr-maven-plugin.version>2.8</clirr-maven-plugin.version> <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version> <git-commit-id-maven-plugin.version>4.9.9</git-commit-id-maven-plugin.version> <jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version> <rewrite-maven-plugin.version>5.21.0</rewrite-maven-plugin.version> <taglist-maven-plugin.version>3.0.0</taglist-maven-plugin.version> <spotbugs-maven-plugin.version>4.8.3.0</spotbugs-maven-plugin.version> <license-maven-plugin.version>2.4.0</license-maven-plugin.version> <modernizer-maven-plugin.version>2.7.0</modernizer-maven-plugin.version> <maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version> <maven-clean-plugin.version>3.3.2</maven-clean-plugin.version> <maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version> <maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version> <maven-dependency-plugin.version>3.6.1</maven-dependency-plugin.version> <maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version> <maven-failsafe-plugin.version>3.2.3</maven-failsafe-plugin.version> <maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version> <maven-install-plugin.version>3.1.1</maven-install-plugin.version> <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version> <maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version> <maven-jxr-plugin.version>3.3.2</maven-jxr-plugin.version> <maven-pdf-plugin.version>1.6.1</maven-pdf-plugin.version> <maven-pmd-plugin.version>3.21.2</maven-pmd-plugin.version> <maven-project-info-reports-plugin.version>3.5.0</maven-project-info-reports-plugin.version> <maven-release-plugin.version>3.0.1</maven-release-plugin.version> <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> <maven-scm-publish-plugin.version>3.2.1</maven-scm-publish-plugin.version> <maven-site-plugin.version>4.0.0-M13</maven-site-plugin.version> <maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version> <maven-source-plugin.version>3.3.0</maven-source-plugin.version> <maven-shade-plugin.version>3.5.1</maven-shade-plugin.version> <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> <whitespace-maven-plugin.version>1.3.1</whitespace-maven-plugin.version> </properties> <repositories> <!-- 如果使用浏览器访问时,需要添加 groupId 才显示内容 --> <repository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>oss-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </repository> <repository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>oss-snapshots-s01</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> </repository> </repositories> <build> <resources> <resource> <filtering>true</filtering> <directory>${project.basedir}/src/main/resources</directory> </resource> <resource> <targetPath>META-INF</targetPath> <directory>${project.basedir}</directory> <includes> <include>LICENSE</include> </includes> </resource> </resources> <pluginManagement> <plugins> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>${spotbugs-maven-plugin.version}</version> <configuration> <threshold>High</threshold> <effort>Max</effort> <visitors>FindDeadLocalStores,UnreadFields</visitors> <relaxed>true</relaxed> <xmlOutput>true</xmlOutput> <!-- Optional directory to put spotbugs xdoc xml report --> <xmlOutputDirectory>target/site</xmlOutputDirectory> <onlyAnalyze>${spotbugs.onlyAnalyze}</onlyAnalyze> </configuration> </plugin> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> <!-- 4.x.x for jdk8 --> <version>${git-commit-id-maven-plugin.version}</version> <configuration> <failOnNoGitDirectory>false</failOnNoGitDirectory> <!-- Fixes occassional issue in commit id plugin - see https://github.com/ktoso/maven-git-commit-id-plugin/issues/61 --> <gitDescribe> <always>true</always> </gitDescribe> </configuration> </plugin> <!-- mvn checkstyle:checkstyle --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <configuration> <inputEncoding>UTF-8</inputEncoding> <failOnViolation>false</failOnViolation> <failsOnError>true</failsOnError> <linkXRef>true</linkXRef> <consoleOutput>true</consoleOutput> <logViolationsToConsole>true</logViolationsToConsole> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${maven-clean-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <parameters>true</parameters> <annotationProcessorPaths> <!-- https://springdoc.org/#javadoc-support --> <path> <groupId>com.github.therapi</groupId> <artifactId>therapi-runtime-javadoc-scribe</artifactId> <version>${therapi-runtime-javadoc.version}</version> </path> <!-- 修复 lombok、springdoc 冲突 --> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </path> </annotationProcessorPaths> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> </plugin> <!-- mvn clean deploy -P release -Dgpg.passphrase=yourpassphrase --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven-enforcer-plugin.version}</version> <configuration> <rules> <banCircularDependencies/> <requireJavaVersion> <version>[${maven.compiler.source},)</version> </requireJavaVersion> <requireMavenVersion> <version>[${maven.min-version},)</version> </requireMavenVersion> <requirePluginVersions> <message>[ERROR] Best Practice is to always define plugin versions!</message> <banLatest>true</banLatest> <banRelease>true</banRelease> <banSnapshots>true</banSnapshots> <phases>clean,deploy,site</phases> </requirePluginVersions> </rules> </configuration> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>extra-enforcer-rules</artifactId> <version>${extra-enforcer-rules.version}</version> </dependency> </dependencies> </plugin> <!-- https://blog.sonatype.com/2010/01/how-to-generate-pgp-signatures-with-maven/ --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${maven-install-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> <configuration> <archive> <manifestEntries> <Implementation-Version>${project.version}</Implementation-Version> <Build-Time>${maven.build.timestamp}</Build-Time> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> <additionalJOptions combine.children="append"> <additionalJOption>-J-Dhttp.agent=maven-javadoc-plugin</additionalJOption> </additionalJOptions> <archive> <manifestEntries> <Implementation-Version>${project.version}</Implementation-Version> <Build-Time>${maven.build.timestamp}</Build-Time> </manifestEntries> </archive> <legacyMode>true</legacyMode> <notimestamp>true</notimestamp> <quiet>true</quiet> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>${maven-jxr-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pdf-plugin</artifactId> <version>${maven-pdf-plugin.version}</version> <!-- Execution such as this in plugin management requires plugin definition in build to work --> <executions> <execution> <id>pdf</id> <goals> <goal>pdf</goal> </goals> <phase>prepare-package</phase> <configuration> <includeReports>false</includeReports> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>${maven-pmd-plugin.version}</version> <configuration> <analysisCache>true</analysisCache> <linkXRef>true</linkXRef> <minimumTokens>100</minimumTokens> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${maven-project-info-reports-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven-release-plugin.version}</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <releaseProfiles>release</releaseProfiles> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${maven-resources-plugin.version}</version> <configuration> <!-- Defaults to source, use resources as this is a resource --> <propertiesEncoding>${project.build.resourceEncoding}</propertiesEncoding> <!-- https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html--> <nonFilteredFileExtensions> <nonFilteredFileExtension>jks</nonFilteredFileExtension> </nonFilteredFileExtensions> </configuration> </plugin> <!-- mvn clean site scm-publish:publish-scm --> <!-- https://www.lorenzobettini.it/2020/01/publishing-a-maven-site-to-github-pages --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <version>${maven-scm-publish-plugin.version}</version> <configuration> <tryUpdate>true</tryUpdate> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>${maven-shade-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${maven-site-plugin.version}</version> <configuration> <!-- don't deploy site with maven-site-plugin (instead use scm publish during release) --> <skipDeploy>true</skipDeploy> </configuration> <!-- Execution like this will pick up in the normal site cycle --> <executions> <execution> <id>attach-descriptor</id> <goals> <goal>attach-descriptor</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <configuration> <archive> <manifestEntries> <Implementation-Version>${project.version}</Implementation-Version> <Build-Time>${maven.build.timestamp}</Build-Time> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <testSourceDirectory>${project.build.directory}/generated-test-sources/test-annotations </testSourceDirectory> <!-- Force alphabetical order to have a reproducible build --> <runOrder>alphabetical</runOrder> <includes> <include>**/*Tests.java</include> <include>**/*Test.java</include> </includes> <excludes> <exclude>**/Abstract*.java</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-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> <goals> <goal>report</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <minimum>0.7</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> <!-- compare binaries or sources for compatibility: mvn clirr:clirr --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> <version>${clirr-maven-plugin.version}</version> <configuration> <comparisonVersion>${clirr.comparisonVersion}</comparisonVersion> <failOnError>false</failOnError> <failOnWarning>false</failOnWarning> </configuration> <dependencies> <dependency> <groupId>org.apache.bcel</groupId> <artifactId>bcel</artifactId> <version>6.8.1</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>${taglist-maven-plugin.version}</version> </plugin> <!-- mvn flatten:flatten --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <version>${flatten-maven-plugin.version}</version> <inherited>true</inherited> <configuration> <updatePomFile>true</updatePomFile> <keepCommentsInPom>true</keepCommentsInPom> <flattenMode>resolveCiFriendliesOnly</flattenMode> <pomElements> <parent>expand</parent> </pomElements> </configuration> <executions> <execution> <id>flatten</id> <goals> <goal>flatten</goal> </goals> <phase>process-resources</phase> </execution> <execution> <id>flatten.clean</id> <goals> <goal>clean</goal> </goals> <phase>clean</phase> </execution> </executions> </plugin> <!-- mvn license:license-list , mvn license:update-file-header, mvn license:remove-file-header--> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>${license-maven-plugin.version}</version> <configuration> <licenseName>apache_v2</licenseName> </configuration> </plugin> <!-- detects legacy APIs--> <plugin> <groupId>org.gaul</groupId> <artifactId>modernizer-maven-plugin</artifactId> <version>${modernizer-maven-plugin.version}</version> <configuration> <failOnViolations>false</failOnViolations> <javaVersion>${maven.compiler.target}</javaVersion> </configuration> <dependencies> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>${asm.version}</version> </dependency> </dependencies> </plugin> <!-- https://openclover.org/doc/maven/4.2.0/usage.html--> <plugin> <groupId>org.openclover</groupId> <artifactId>clover-maven-plugin</artifactId> <version>${clover-maven-plugin.version}</version> <configuration> <generateHtml>true</generateHtml> <generateXml>true</generateXml> <jdk>${maven.compiler.source}</jdk> <targetPercentage>70%</targetPercentage> </configuration> <executions> <execution> <goals> <goal>instrument</goal> <goal>check</goal> </goals> <phase>test</phase> </execution> </executions> </plugin> <!-- rewrite and upgrade code--> <plugin> <groupId>org.openrewrite.maven</groupId> <artifactId>rewrite-maven-plugin</artifactId> <version>${rewrite-maven-plugin.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <!-- Checkstyle dependencies required here or they won't be used (per maven) --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-java</id> <goals> <goal>enforce</goal> </goals> <phase>validate</phase> </execution> </executions> </plugin> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> <configuration> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> <includeOnlyProperties> <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> <includeOnlyProperty>^git.commit.message.full$</includeOnlyProperty> </includeOnlyProperties> <commitIdGenerationMode>full</commitIdGenerationMode> </configuration> <executions> <execution> <id>git-commit-id</id> <goals> <goal>revision</goal> </goals> <phase>validate</phase> </execution> </executions> </plugin> <plugin> <groupId>org.gaul</groupId> <artifactId>modernizer-maven-plugin</artifactId> <executions> <execution> <id>modernizer</id> <goals> <goal>modernizer</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <reportSets> <reportSet> <reports> <!-- 在同一个进程中生成文档 --> <report>javadoc-no-fork</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <configLocation>${checkstyle.config}</configLocation> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> </plugin> <!-- mvn taglist:taglis --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <configuration> <tagListOptions> <tagClasses> <tagClass> <displayName>FIXME Work</displayName> <tags> <tag> <matchString>fixme</matchString> <matchType>ignoreCase</matchType> </tag> <tag> <matchString>@fixme</matchString> <matchType>ignoreCase</matchType> </tag> </tags> </tagClass> <tagClass> <displayName>Todo Work</displayName> <tags> <tag> <matchString>todo</matchString> <matchType>ignoreCase</matchType> </tag> <tag> <matchString>@todo</matchString> <matchType>ignoreCase</matchType> </tag> </tags> </tagClass> <tagClass> <displayName>Deprecated Work</displayName> <tags> <tag> <matchString>@deprecated</matchString> <matchType>ignoreCase</matchType> </tag> </tags> </tagClass> </tagClasses> </tagListOptions> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <reportSets> <reportSet> <reports> <!-- select non-aggregate reports --> <report>report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.openclover</groupId> <artifactId>clover-maven-plugin</artifactId> </plugin> </plugins> </reporting> <profiles> <!-- mvn clean deploy -DskipTests -Prelease --> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <encoding>${project.build.sourceEncoding}</encoding> <windowtitle>${project.name} v${project.version} API Documentation</windowtitle> <doctitle>v${project.name} API Documentation</doctitle> <header> <![CDATA[<div id='header'><a class='logo' target='_top' href='${project.url}'></a>${project.name} v${project.version} <br>API Documentation</div>]]></header> <failOnError>true</failOnError> <docfilessubdirs>true</docfilessubdirs> <use>false</use> <noindex>true</noindex> <notree>true</notree> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> <!-- 注: 如果不主动指定gpg.exe的话,那么可能(因为和idea内部发生了未知冲突)报错:Cannot run program "gpg.exe": CreateProcess error=2, 系统找不到指定的文件。 注: 当然,如果你直接用的git bash之类的工具执行mvn,而不是用idea提供的maven功能的话,你也可以不指定executable。 --> <configuration> <executable>/opt/homebrew/bin/gpg</executable> </configuration> </plugin> <!-- deploy site with maven-scm-publish-plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <executions> <execution> <id>scm-publish</id> <goals> <goal>publish-scm</goal> </goals> <phase>site-deploy</phase> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>format</id> <activation> <file> <exists>${project.basedir}/format.xml</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.openrewrite.maven</groupId> <artifactId>rewrite-maven-plugin</artifactId> <configuration> <activeRecipes> <recipe>org.openrewrite.java.RemoveUnusedImports</recipe> </activeRecipes> </configuration> <executions> <execution> <goals> <goal>run</goal> </goals> <phase>process-sources</phase> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>