1 Star 0 Fork 0

aamuye/mybatis-parent-reading

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 47.59 KB
一键复制 编辑 原始数据 按行查看 历史
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-parent</artifactId>
<version>41-SNAPSHOT</version>
<packaging>pom</packaging>
<name>mybatis-parent</name>
<description>The MyBatis parent POM.</description>
<url>https://www.mybatis.org/</url>
<inceptionYear>2010</inceptionYear>
<organization>
<name>MyBatis.org</name>
<url>https://www.mybatis.org/</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>
<!-- committers are enlisted by name ASC order, except Clinton who is the founder -->
<developer>
<id>cbegin</id>
<name>Clinton Begin</name>
<email>clinton.begin@gmail.com</email>
<roles>
<role>Owner</role>
<role>Founder</role>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>agustafson</id>
<name>Andrew Gustafson</name>
<email>gus4000@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>brandon.goodin</id>
<name>Brandon Goodin</name>
<email>brandon.goodin@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>christianpoitras</id>
<name>Christian Poitras</name>
<email>christian.poitras@ircm.qc.ca</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<id>emacarron</id>
<name>Eduardo Macarron</name>
<email>eduardo.macarron@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>mnesarco</id>
<name>Frank Martinez</name>
<email>mnesarco@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>hpresnall</id>
<name>Hunter Presnall</name>
<email>hpresnall@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>harawata</id>
<name>Iwao Ave</name>
<email>harawata@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>jeffgbutler</id>
<name>Jeff Butler</name>
<email>jeffgbutler@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>hazendaz</id>
<name>Jeremy Landis</name>
<email>jeremylandis@hotmail.com</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<id>nospam@kaigrabfelder.de</id>
<name>Kai Grabfelder</name>
<email>nospam@kaigrabfelder.de</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>lmeadors</id>
<name>Larry Meadors</name>
<email>larry.meadors@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>marcosperanza</id>
<name>Marco Speranza</name>
<email>marco.speranza79@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>nmaves</id>
<name>Nathan Maves</name>
<email>nathan.maves@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>pboonphong</id>
<name>Putthiphong Boonphong</name>
<email>putthiphong.boonphong@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>simonetripodi</id>
<name>Simone Tripodi</name>
<email>simone.tripodi@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>h3adache</id>
<name>Tim Chen</name>
<email>chengt@gmail.com</email>
<roles>
<role>Committer</role>
</roles>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>mybatis-dev</name>
<subscribe>https://groups.google.com/forum/#!forum/mybatis-dev/join</subscribe>
<unsubscribe>https://groups.google.com/forum/#!forum/mybatis-dev/join</unsubscribe>
<post>mybatis-dev@googlegroups.com</post>
<archive>https://groups.google.com/forum/#!forum/mybatis-dev</archive>
</mailingList>
<mailingList>
<name>mybatis-user</name>
<subscribe>https://groups.google.com/forum/#!forum/mybatis-user/join</subscribe>
<unsubscribe>https://groups.google.com/forum/#!forum/mybatis-user/join</unsubscribe>
<post>mybatis-user@googlegroups.com</post>
<archive>https://groups.google.com/forum/#!forum/mybatis-user</archive>
</mailingList>
<mailingList>
<name>mybatis-commits</name>
<subscribe>https://groups.google.com/forum/#!forum/mybatis-commits/join</subscribe>
<unsubscribe>https://groups.google.com/forum/#!forum/mybatis-commits/join</unsubscribe>
<post>mybatis-commits@googlegroups.com</post>
<archive>https://groups.google.com/forum/#!forum/mybatis-commits</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:ssh://git@github.com/mybatis/parent.git</connection>
<developerConnection>scm:git:ssh://git@github.com/mybatis/parent.git</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/mybatis/parent</url>
</scm>
<issueManagement>
<system>GitHub Issue Management</system>
<url>https://github.com/mybatis/parent/issues</url>
</issueManagement>
<ciManagement>
<system>Github Actions</system>
<url>https://github.com/mybatis/parent/actions</url>
</ciManagement>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<site>
<id>gh-pages-scm</id>
<name>Mybatis GitHub Pages</name>
<url>scm:git:ssh://git@github.com/mybatis/parent.git</url>
</site>
</distributionManagement>
<properties>
<!-- Copyright -->
<copyright>2023</copyright>
<!-- General configuration -->
<allowed.build.jdks>[11,12),[17,18),[21,22),[22,23)</allowed.build.jdks>
<checkstyle.config>checkstyle.xml</checkstyle.config>
<clirr.comparisonVersion>39</clirr.comparisonVersion>
<formatter.config>eclipse-formatter-config-2space.xml</formatter.config>
<gcu.product>${project.name}</gcu.product>
<html.javadocType>-html5</html.javadocType>
<impsortGroups>au,ch,com,de,io,jakarta,java,javassist,javax,lombok,mockit,net,nl,ognl,org</impsortGroups>
<module.name>org.mybatis.parent</module.name>
<spotbugs.onlyAnalyze />
<!-- Maven date configuration -->
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
<!-- Maven compiler options -->
<java.version>8</java.version>
<java.release.version>8</java.release.version>
<java.test.version>11</java.test.version>
<java.test.release.version>11</java.test.release.version>
<!-- source/target are deprecated, remove in future release -->
<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.compiler.release>${java.release.version}</maven.compiler.release>
<maven.compiler.testRelease>${java.test.release.version}</maven.compiler.testRelease>
<!-- Maven minimum version -->
<maven.min-version>3.9.5</maven.min-version>
<!-- Project Encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Reproducible Builds -->
<project.build.outputTimestamp>1699331006</project.build.outputTimestamp>
<!-- Due to maven bug, fix timestamp -->
<timestamp>${maven.build.timestamp}</timestamp>
<!-- Parent Tracking on site -->
<mybatis-parent.version>41-SNAPSHOT</mybatis-parent.version>
<!-- Dependency versions -->
<asm.version>9.6</asm.version>
<base-bundle.version>11</base-bundle.version>
<bind-api.version>2.3.3</bind-api.version>
<bnd.version>6.4.1</bnd.version>
<build-tools.version>1.3.1</build-tools.version>
<checkstyle.version>10.12.4</checkstyle.version>
<extra-enforcer-rules.version>1.7.0</extra-enforcer-rules.version>
<fluido.version>2.0.0-M8</fluido.version>
<license.version>4.3</license.version>
<!-- Plugins versions -->
<antrun.plugin>3.1.0</antrun.plugin>
<assembly.plugin>3.6.0</assembly.plugin>
<bundle.plugin>5.1.9</bundle.plugin>
<checkstyle.plugin>3.3.1</checkstyle.plugin>
<clean.plugin>3.3.2</clean.plugin>
<clirr.plugin>2.8</clirr.plugin>
<compiler.plugin>3.11.0</compiler.plugin>
<coveralls.plugin>4.4.1</coveralls.plugin>
<dependency.plugin>3.6.1</dependency.plugin>
<deploy.plugin>3.1.1</deploy.plugin>
<enforcer.plugin>3.4.1</enforcer.plugin>
<formatter.plugin>2.23.0</formatter.plugin>
<git-commit.plugin>7.0.0</git-commit.plugin>
<gpg.plugin>3.1.0</gpg.plugin>
<impsort.plugin>1.9.0</impsort.plugin>
<install.plugin>3.1.1</install.plugin>
<jacoco.plugin>0.8.11</jacoco.plugin>
<jar.plugin>3.3.0</jar.plugin>
<javadoc.plugin>3.6.2</javadoc.plugin>
<jxr.plugin>3.3.1</jxr.plugin>
<license.plugin>4.3</license.plugin>
<lifecycle.plugin>1.0.0</lifecycle.plugin>
<modernizer.plugin>2.7.0</modernizer.plugin>
<pdf.plugin>1.6.1</pdf.plugin>
<pmd.plugin>3.21.2</pmd.plugin>
<project-info.plugin>3.4.5</project-info.plugin>
<release.plugin>3.0.1</release.plugin>
<resources.plugin>3.3.1</resources.plugin>
<rewrite.plugin>5.10.0</rewrite.plugin>
<scm-publish.plugin>3.2.1</scm-publish.plugin>
<shade.plugin>3.5.1</shade.plugin>
<site.plugin>4.0.0-M11</site.plugin>
<sortpom.plugin>3.3.0</sortpom.plugin>
<source.plugin>3.3.0</source.plugin>
<spotbugs.plugin>4.8.1.0</spotbugs.plugin>
<surefire.plugin>3.2.2</surefire.plugin>
<taglist.plugin>3.0.0</taglist.plugin>
<versions.plugin>2.16.1</versions.plugin>
<whitespace.plugin>1.3.0</whitespace.plugin>
<!-- OSGi configuration properties -->
<osgi.symbolicName>${project.groupId}.${project.artifactId}</osgi.symbolicName>
<osgi.export>${project.groupId}.*;version=${project.version};-noimport:=true</osgi.export>
<osgi.import>*</osgi.import>
<osgi.dynamicImport />
<osgi.private />
<!-- Add slow test groups here and annotate classes similar to @Tag('groupName'). -->
<!-- Excluded groups are ran on github ci, to force here, pass -D"excludedGroups=" -->
<excludedGroups />
</properties>
<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>
<include>NOTICE</include>
</includes>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>whitespace-maven-plugin</artifactId>
<version>${whitespace.plugin}</version>
</plugin>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<version>${sortpom.plugin}</version>
<configuration>
<createBackupFile>false</createBackupFile>
<expandEmptyElements>false</expandEmptyElements>
<nrOfIndentSpace>2</nrOfIndentSpace>
</configuration>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>${git-commit.plugin}</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>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs.plugin}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<xmlOutputDirectory>${project.build.directory}/spotbugs-reports</xmlOutputDirectory>
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs-reports</spotbugsXmlOutputDirectory>
<threshold>High</threshold>
<effort>Max</effort>
<visitors>FindDeadLocalStores,UnreadFields</visitors>
<onlyAnalyze>${spotbugs.onlyAnalyze}</onlyAnalyze>
<relaxed>true</relaxed>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license.plugin}</version>
<configuration>
<licenseSets>
<licenseSet>
<header>${project.basedir}/LICENSE_HEADER</header>
<excludes>
<!-- Default excludes located at https://github.com/mathieucarbou/license-maven-plugin/blob/master/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/Default.java -->
<!-- Exclude extra items used throughout mybatis -->
<exclude>**/*.ctrl</exclude>
<exclude>**/*.dat</exclude>
<exclude>ICLA</exclude>
<exclude>KEYS</exclude>
<exclude>NOTICE</exclude>
<!-- Exclude special folder to ignore license -->
<exclude>**/unlicensed/**</exclude>
<exclude>**/ibderby/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
<mapping>
<!-- Default mapping located at https://github.com/mathieucarbou/license-maven-plugin/blob/master/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/document/DocumentType.java -->
<xml.vm>XML_STYLE</xml.vm>
</mapping>
<prohibitLegacyUse>true</prohibitLegacyUse>
</configuration>
<dependencies>
<dependency>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin-git</artifactId>
<version>${license.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>io.jsonwebtoken.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${coveralls.plugin}</version>
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${bind-api.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<version>${impsort.plugin}</version>
<configuration>
<groups>${impsortGroups}</groups>
<staticGroups>java,*</staticGroups>
<removeUnused>true</removeUnused>
</configuration>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>${formatter.plugin}</version>
<configuration>
<configFile>${formatter.config}</configFile>
<skipXmlFormatting>true</skipXmlFormatting>
</configuration>
<dependencies>
<dependency>
<groupId>com.github.hazendaz</groupId>
<artifactId>build-tools</artifactId>
<version>${build-tools.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${bundle.plugin}</version>
<configuration>
<excludeDependencies>true</excludeDependencies>
<manifestLocation>${project.build.directory}/osgi</manifestLocation>
<supportedProjectTypes>
<supportedProjectType>jar</supportedProjectType>
<supportedProjectType>bundle</supportedProjectType>
<supportedProjectType>war</supportedProjectType>
<supportedProjectType>maven-plugin</supportedProjectType>
</supportedProjectTypes>
<instructions>
<!-- stops the "uses" clauses being added to "Export-Package" manifest entry -->
<_nouses>true</_nouses>
<!-- Stop the JAVA_1_n_HOME / JAVA_n_HOME variables from being treated as headers by Bnd if found in settings.xml (obsolete versions removed, if found, cleanup settings.xml) -->
<_removeheaders>JAVA_1_8_HOME,JAVA_8_HOME,JAVA_11_HOME,JAVA_17_HOME,JAVA_21_HOME,JAVA_22_HOME</_removeheaders>
<Bundle-SymbolicName>${osgi.symbolicName}</Bundle-SymbolicName>
<Export-Package>${osgi.export}</Export-Package>
<Private-Package>${osgi.private}</Private-Package>
<Import-Package>${osgi.import}</Import-Package>
<DynamicImport-Package>${osgi.dynamicImport}</DynamicImport-Package>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
<Git-Revision>${git.commit.id}</Git-Revision>
</instructions>
</configuration>
<dependencies>
<dependency>
<groupId>biz.aQute.bnd</groupId>
<artifactId>biz.aQute.bndlib</artifactId>
<version>${bnd.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- Antrun here only to override eclipse settings -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${antrun.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${assembly.plugin}</version>
<dependencies>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>base-bundle-descriptor</artifactId>
<version>${base-bundle.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.plugin}</version>
<configuration>
<failOnViolation>false</failOnViolation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${clean.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.plugin}</version>
<configuration>
<parameters>true</parameters>
<!-- Slightly faster builds, see https://issues.apache.org/jira/browse/MCOMPILER-209 -->
<useIncrementalCompilation>false</useIncrementalCompilation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${dependency.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${deploy.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${enforcer.plugin}</version>
<configuration>
<rules>
<enforceBytecodeVersion>
<maxJdkVersion>${java.version}</maxJdkVersion>
<ignoredScopes>test</ignoredScopes>
</enforceBytecodeVersion>
<requireJavaVersion>
<version>${allowed.build.jdks}</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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${install.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${jar.plugin}</version>
<configuration>
<archive>
<manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile>
<manifest>
<addBuildEnvironmentEntries>false</addBuildEnvironmentEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
<Copyright>${copyright}</Copyright>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
<X-Compile-Release-JDK>${maven.compiler.release}</X-Compile-Release-JDK>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin}</version>
<configuration>
<additionalOptions>
<additionalOption>${html.javadocType}</additionalOption>
</additionalOptions>
<archive>
<manifest>
<addBuildEnvironmentEntries>false</addBuildEnvironmentEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
<Copyright>${copyright}</Copyright>
<Git-Revision>${git.commit.id}</Git-Revision>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
<X-Compile-Release-JDK>${maven.compiler.release}</X-Compile-Release-JDK>
</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>${jxr.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pdf-plugin</artifactId>
<version>${pdf.plugin}</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>${pmd.plugin}</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>${project-info.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${release.plugin}</version>
<configuration>
<arguments>-Daether.checksums.algorithms=SHA-512,SHA-256,SHA-1,MD5</arguments>
<autoVersionSubmodules>true</autoVersionSubmodules>
<mavenExecutorId>forked-path</mavenExecutorId>
<releaseProfiles>release</releaseProfiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${resources.plugin}</version>
<configuration>
<!-- Defaults to source, use resources as this is a resource -->
<propertiesEncoding>${project.build.resourceEncoding}</propertiesEncoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>${scm-publish.plugin}</version>
<configuration>
<checkoutDirectory>${user.home}/maven-sites/${project.name}</checkoutDirectory>
<!-- Single module project has no need for site:stage, use target/site or target/checkout/target/site on release. -->
<content>${project.reporting.outputDirectory}</content>
<scmBranch>gh-pages</scmBranch>
<tryUpdate>true</tryUpdate>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${shade.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${site.plugin}</version>
<configuration>
<!-- don't deploy site with maven-site-plugin (instead use scm publish during release) -->
<skipDeploy>true</skipDeploy>
</configuration>
<dependencies>
<!-- Additional entries for version site tracking only -->
<dependency>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>${fluido.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-parent</artifactId>
<version>${mybatis-parent.version}</version>
<type>pom</type>
</dependency>
</dependencies>
<!-- 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>${source.plugin}</version>
<configuration>
<archive>
<manifest>
<addBuildEnvironmentEntries>false</addBuildEnvironmentEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
<Copyright>${copyright}</Copyright>
<Git-Revision>${git.commit.id}</Git-Revision>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
<X-Compile-Release-JDK>${maven.compiler.release}</X-Compile-Release-JDK>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${surefire.plugin}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${clirr.plugin}</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.7.0</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>${taglist.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions.plugin}</version>
</plugin>
<plugin>
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
<version>${modernizer.plugin}</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>
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>${rewrite.plugin}</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>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
<dependency>
<groupId>com.github.hazendaz</groupId>
<artifactId>build-tools</artifactId>
<version>${build-tools.version}</version>
</dependency>
</dependencies>
</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>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<goals>
<goal>manifest</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>whitespace-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>trim</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<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>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>
<id>default</id>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-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>
<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>
<!-- This plugin will fail if any POM is marked as Byte Order Mark is UTF-8 (BOM).
| If this occurs, create a new POM and move the contents in order to fix.
| For reference, this was a problem with mybatis/mybatis-spring poms. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-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>
</plugins>
</reporting>
<profiles>
<profile>
<id>format</id>
<activation>
<file>
<exists>${project.basedir}/format.xml</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sort</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
<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>
</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>
</plugin>
<!-- Skip license plugin during release as maven release is now shallow cloned -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</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>bundle</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<attach>true</attach>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>base-bundle</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sort</id>
<build>
<plugins>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sort</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>license</id>
<activation>
<file>
<exists>${project.basedir}/LICENSE_HEADER</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>eclipse</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<properties>
<!-- Make m2e use java at test revision level -->
<maven.compiler.source>${java.test.version}</maven.compiler.source>
<maven.compiler.target>${java.test.release.version}</maven.compiler.target>
<maven.compiler.release>${java.test.release.version}</maven.compiler.release>
</properties>
<build>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<!-- Keep version here as fake version and maven report info has problems defining it in dependency management -->
<version>${lifecycle.plugin}</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<!-- impsort m2e in plugin states to ignore, we will process -->
<pluginExecution>
<pluginExecutionFilter>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<versionRange>[${impsort.plugin},)</versionRange>
<goals>
<goal>sort</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnConfiguration>true</runOnConfiguration>
<runOnIncremental>true</runOnIncremental>
</execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/ljch/mybatis-parent-reading.git
git@gitee.com:ljch/mybatis-parent-reading.git
ljch
mybatis-parent-reading
mybatis-parent-reading
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385