209 lines
8.4 KiB
XML
209 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ The MIT License (MIT)
|
|
~
|
|
~ Copyright (c) 2017 abel533@gmail.com
|
|
~
|
|
~ Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
~ of this software and associated documentation files (the "Software"), to deal
|
|
~ in the Software without restriction, including without limitation the rights
|
|
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
~ copies of the Software, and to permit persons to whom the Software is
|
|
~ furnished to do so, subject to the following conditions:
|
|
~
|
|
~ The above copyright notice and this permission notice shall be included in
|
|
~ all copies or substantial portions of the Software.
|
|
~
|
|
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
~ THE SOFTWARE.
|
|
-->
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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.github.pagehelper</groupId>
|
|
<artifactId>pagehelper-spring-boot</artifactId>
|
|
<version>1.4.6</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>pagehelper-spring-boot</name>
|
|
<description>Spring Boot Support for PageHelper</description>
|
|
<url>https://github.com/pagehelper/pagehelper-spring-boot/</url>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The MIT License (MIT)</name>
|
|
<url>https://github.com/pagehelper/pagehelper-spring-boot/blob/master/LICENSE</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>abel533</name>
|
|
<email>abel533@gmail.com</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:pagehelper/pagehelper-spring-boot.git</connection>
|
|
<developerConnection>scm:git:git@github.com:pagehelper/pagehelper-spring-boot.git</developerConnection>
|
|
<url>git@github.com:pagehelper/pagehelper-spring-boot.git</url>
|
|
</scm>
|
|
|
|
<modules>
|
|
<module>pagehelper-spring-boot-autoconfigure</module>
|
|
<module>pagehelper-spring-boot-starter</module>
|
|
<module>pagehelper-spring-boot-samples</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<mybatis.version>3.5.10</mybatis.version>
|
|
<pagehelper.version>5.3.2</pagehelper.version>
|
|
<mybatis-spring-boot.version>2.2.2</mybatis-spring-boot.version>
|
|
<spring-boot.version>2.7.3</spring-boot.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis</artifactId>
|
|
<version>${mybatis.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper</artifactId>
|
|
<version>${pagehelper.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-autoconfigure</artifactId>
|
|
<version>${mybatis-spring-boot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper-spring-boot-autoconfigure</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>${mybatis-spring-boot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<!-- Javadoc -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<additionalOptions>
|
|
<additionalOption>-Xdoclint:none</additionalOption>
|
|
</additionalOptions>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- GPG mvn clean deploy -P release -Dgpg.passphrase=YourPassphase-->
|
|
<plugin>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<inherited>true</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<gpgArguments>
|
|
<argument>--pinentry-mode</argument>
|
|
<argument>loopback</argument>
|
|
</gpgArguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<distributionManagement>
|
|
<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>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Source -->
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
<inherited>true</inherited>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|