1 Star 0 Fork 1

josephhao / parent

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
pom.xml 45.35 KB
Copy Edit Web IDE Raw Blame History
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010-2020 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>32-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, 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>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>
<timezone>-5</timezone>
<roles>
<role>Committer</role>
</roles>
</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>agustafson</id>
<name>Andrew Gustafson</name>
<email>gus4000@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>
<timezone>+1</timezone>
<roles>
<role>Committer</role>
</roles>
</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>
<timezone>+1</timezone>
<roles>
<role>Committer</role>
</roles>
</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>
<archive>https://groups.google.com/forum/#!forum/mybatis-dev</archive>
<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>
</mailingList>
<mailingList>
<name>mybatis-user</name>
<archive>https://groups.google.com/forum/#!forum/mybatis-user</archive>
<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>
<otherArchives>
<otherArchive>http://mybatis-user.963551.n3.nabble.com/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>mybatis-commits</name>
<archive>https://groups.google.com/forum/#!forum/mybatis-commits</archive>
<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>
</mailingList>
</mailingLists>
<scm>
<url>https://github.com/mybatis/parent</url>
<connection>scm:git:ssh://github.com/mybatis/parent.git</connection>
<developerConnection>scm:git:ssh://git@github.com/mybatis/parent.git</developerConnection>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub Issue Management</system>
<url>https://github.com/mybatis/parent/issues</url>
</issueManagement>
<ciManagement>
<system>Travis CI</system>
<url>https://travis-ci.org/mybatis/parent</url>
</ciManagement>
<distributionManagement>
<site>
<id>gh-pages</id>
<name>Mybatis GitHub Pages</name>
<url>github:ssh://mybatis.github.io/parent/</url>
</site>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<properties>
<!--
| General configuration
-->
<checkstyle.config>checkstyle.xml</checkstyle.config>
<clirr.comparisonVersion>31</clirr.comparisonVersion>
<formatter.config>eclipse-formatter-config-2space.xml</formatter.config>
<gcu.product>${project.name}</gcu.product>
<html.javadocType>-html5</html.javadocType>
<impsortGroups>au,com,de,java,javassist,javax,lombok,mockit,net,ognl,org</impsortGroups>
<maven.min-version>3.2.5</maven.min-version>
<module.name>org.mybatis.parent</module.name>
<spotbugs.onlyAnalyze />
<!--
| Maven confirmation
-->
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.testTarget>1.8</maven.compiler.testTarget>
<maven.compiler.testSource>1.8</maven.compiler.testSource>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!--
| Dependency versions
-->
<asm.version>7.3.1</asm.version>
<base-bundle.version>9</base-bundle.version>
<build-tools.version>1.2.2</build-tools.version>
<checkstyle-core.version>8.31</checkstyle-core.version>
<fluido.version>1.8</fluido.version>
<wagon-git.version>2.0.3</wagon-git.version> <!-- Do not upgrade to 2.0.4 as it does not work with ssh properly -->
<wagon-ssh.version>3.3.4</wagon-ssh.version>
<!--
| Plugins versions
-->
<animal.version>1.18</animal.version>
<antrun.version>1.8</antrun.version>
<assembly.version>3.2.0</assembly.version>
<bundle.version>4.2.1</bundle.version>
<changes.version>2.12.1</changes.version>
<checkstyle.plugin>3.1.1</checkstyle.plugin>
<clean.version>3.1.0</clean.version>
<clirr.version>2.8</clirr.version>
<compiler.version>3.8.1</compiler.version>
<coveralls.version>4.3.0</coveralls.version>
<dependency.version>3.1.2</dependency.version>
<deploy.version>3.0.0-M1</deploy.version>
<enforcer.version>3.0.0-M1</enforcer.version> <!-- Skip 3.0.0-M2/M3 as it does not work (known bug) -->
<formatter.version>2.11.0</formatter.version>
<gpg.version>1.6</gpg.version>
<impsort.version>1.3.2</impsort.version>
<install.version>3.0.0-M1</install.version>
<jacoco.version>0.8.5</jacoco.version>
<jar.version>3.2.0</jar.version>
<javadoc.version>3.1.1</javadoc.version>
<jxr.version>3.0.0</jxr.version>
<license.version>3.0</license.version>
<lifecycle.version>1.0.0</lifecycle.version>
<modernizer.plugin>2.0.0</modernizer.plugin>
<pdf.version>1.4</pdf.version>
<pmd.version>3.12.0</pmd.version>
<project-info.version>3.0.0</project-info.version>
<release.version>2.5.3</release.version> <!-- Skip 3.0.0-M1 as it has a major defect -->
<resources.version>3.1.0</resources.version>
<scm.version>1.11.2</scm.version>
<shade.version>3.2.2</shade.version>
<site.version>3.9.0</site.version>
<source.version>3.2.1</source.version>
<spotbugs.version>3.1.12.2</spotbugs.version>
<surefire.version>3.0.0-M4</surefire.version>
<taglist.version>2.4</taglist.version>
<versions.version>2.7</versions.version>
<whitespace.version>1.0.4</whitespace.version>
<!--
| 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 />
<!-- Animal Sniffer Signature -->
<signature.group>org.codehaus.mojo.signature</signature.group>
<signature.artifact>java18</signature.artifact>
<signature.version>1.0</signature.version>
<!-- Add slow test groups here and annotate classes similar to @Tag('groupName') which will auto enable on travis-ci only. -->
<excludedGroups />
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license.version}</version>
<configuration>
<header>${project.basedir}/license.txt</header>
<excludes>
<exclude>**/*.ctrl</exclude>
<exclude>**/*.dat</exclude>
<exclude>**/*.lck</exclude>
<exclude>**/*.log</exclude>
<exclude>**/*maven-wrapper.properties</exclude>
<exclude>**/*MavenWrapperDownloader.java</exclude>
<exclude>.factorypath</exclude>
<exclude>.gitattributes</exclude>
<exclude>mvnw</exclude>
<exclude>mvnw.cmd</exclude>
<exclude>ICLA</exclude>
<exclude>LICENSE</exclude>
<exclude>KEYS</exclude>
<exclude>NOTICE</exclude>
</excludes>
<mapping>
<xml.vm>XML_STYLE</xml.vm>
</mapping>
</configuration>
<dependencies>
<dependency>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin-git</artifactId>
<version>${license.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.version}</version>
</plugin>
<!-- Assembly here only to override eclipse settings -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${assembly.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${clean.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.version}</version>
<configuration>
<optimize>true</optimize>
<!-- Slightly faster builds, see https://issues.apache.org/jira/browse/MCOMPILER-209 -->
<useIncrementalCompilation>false</useIncrementalCompilation>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${coveralls.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${dependency.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${deploy.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${install.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<configuration>
<quiet>true</quiet>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pdf-plugin</artifactId>
<version>${pdf.version}</version>
<executions>
<execution>
<id>pdf</id>
<phase>prepare-package</phase>
<goals>
<goal>pdf</goal>
</goals>
<configuration>
<includeReports>false</includeReports>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${release.version}</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${resources.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${shade.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${site.version}</version>
<executions>
<execution>
<id>attach-descriptor</id>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.trajano.wagon</groupId>
<artifactId>wagon-git</artifactId>
<version>${wagon-git.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>${wagon-ssh.version}</version>
</dependency>
<!-- Additional entries for version site tracking only -->
<dependency>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>${fluido.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<!-- In case of jmockit usage with jdk9 -->
<argLine>${argLine} -Djdk.attach.allowAttachSelf</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions.version}</version>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>${formatter.version}</version>
<dependencies>
<dependency>
<groupId>com.github.hazendaz</groupId>
<artifactId>build-tools</artifactId>
<version>${build-tools.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<version>${impsort.version}</version>
<configuration>
<groups>${impsortGroups}</groups>
<staticGroups>java,*</staticGroups>
<removeUnused>true</removeUnused>
</configuration>
</plugin>
<plugin>
<groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
<artifactId>whitespace-maven-plugin</artifactId>
<version>${whitespace.version}</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>
</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>
<version>${checkstyle.plugin}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle-core.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>
<version>${enforcer.version}</version>
<executions>
<execution>
<id>enforce-java</id>
<phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<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>
</execution>
</executions>
</plugin>
<!--
| Make sure we only use defined java version methods
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>${animal.version}</version>
<configuration>
<signature>
<groupId>${signature.group}</groupId>
<artifactId>${signature.artifact}</artifactId>
<version>${signature.version}</version>
</signature>
<!-- TODO: Remove these once confirmed no longer needed -->
<annotations>
<annotation>org.apache.ibatis.lang.UsesJava7</annotation>
<annotation>org.apache.ibatis.lang.UsesJava8</annotation>
</annotations>
</configuration>
<executions>
<execution>
<id>check-java-compat</id>
<phase>process-classes</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${bundle.version}</version>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<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
-->
<_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME,JAVA_1_5_HOME,JAVA_1_6_HOME,JAVA_1_7_HOME,JAVA_1_8_HOME,JAVA_1_9_HOME,JAVA_8_HOME,JAVA_9_HOME,JAVA_10_HOME,JAVA_11_HOME,JAVA_12_HOME,JAVA_13_HOME,JAVA_14_HOME,JAVA_15_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>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${jar.version}</version>
<configuration>
<archive>
<manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile>
<manifest>
<addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${clirr.version}</version>
<configuration>
<comparisonVersion>${clirr.comparisonVersion}</comparisonVersion>
<failOnError>false</failOnError>
<failOnWarning>false</failOnWarning>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>${scm.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>whitespace-maven-plugin</artifactId>
<groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>trim</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
<executions>
<execution>
<id>modernizer</id>
<phase>verify</phase>
<goals>
<goal>modernizer</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>${project.basedir}</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>${wagon-ssh.version}</version>
</extension>
</extensions>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${project-info.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<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>
<version>${jxr.version}</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs.version}</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>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${surefire.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${changes.version}</version>
<configuration>
<issueLinkTemplate>%URL%/issues/%ISSUE%</issueLinkTemplate>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.plugin}</version>
<configuration>
<configLocation>${checkstyle.config}</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${pmd.version}</version>
<configuration>
<analysisCache>true</analysisCache>
<linkXRef>true</linkXRef>
<minimumTokens>100</minimumTokens>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>${taglist.version}</version>
<configuration>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>Todo Work</displayName>
<tags>
<tag>
<matchString>TODO</matchString>
<matchType>ignoreCase</matchType>
</tag>
<tag>
<matchString>FIXME</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${clirr.version}</version>
<configuration>
<comparisonVersion>${clirr.comparisonVersion}</comparisonVersion>
</configuration>
</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>
<version>${versions.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<reportSets>
<reportSet>
<reports>
<!-- select non-aggregate reports -->
<report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>format</id>
<activation>
<file>
<exists>format.xml</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<configuration>
<configFile>${formatter.config}</configFile>
<skipXmlFormatting>true</skipXmlFormatting>
</configuration>
<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>
</plugins>
</build>
</profile>
<profile>
<id>jdk9on</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalOptions>${html.javadocType}</additionalOptions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<archive>
<manifest>
<addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
<additionalparam>-Xdoclint:-missing</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Run slow tests only on travis ci, to force run otherwise use -D"env.TRAVIS" -->
<id>travis-ci</id>
<activation>
<property>
<name>env.TRAVIS</name>
</property>
</activation>
<properties>
<excludedGroups />
</properties>
</profile>
<profile>
<id>bundle</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${assembly.version}</version>
<dependencies>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>base-bundle-descriptor</artifactId>
<version>${base-bundle.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<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>org.codehaus.mojo</groupId>
<artifactId>tidy-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>pom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>license</id>
<activation>
<file>
<!-- project.basedir is invalid in this location, use basedir -->
<exists>${basedir}/license.txt</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>eclipse</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<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>
<version>${lifecycle.version}</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<versionRange>[${bundle.version},)</versionRange>
<goals>
<goal>manifest</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<versionRange>[${jacoco.version},)</versionRange>
<goals>
<goal>prepare-agent</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[${enforcer.version},)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<versionRange>[${license.version},)</versionRange>
<goals>
<goal>format</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<versionRange>[${formatter.version},)</versionRange>
<goals>
<goal>format</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<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>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
<artifactId>whitespace-maven-plugin</artifactId>
<versionRange>[${whitespace.plugin},)</versionRange>
<goals>
<goal>trim</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnConfiguration>true</runOnConfiguration>
<runOnIncremental>true</runOnIncremental>
</execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compiler.testSource}</source>
<target>${maven.compiler.testTarget}</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/josephhao_sx/parent.git
git@gitee.com:josephhao_sx/parent.git
josephhao_sx
parent
parent
master

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542