mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
325 lines
13 KiB
XML
325 lines
13 KiB
XML
<?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>
|
||
|
||
<parent>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>parent</artifactId>
|
||
<version>${revision}</version>
|
||
<relativePath>../pom.xml</relativePath>
|
||
</parent>
|
||
|
||
<artifactId>mybatis-flex-dependencies</artifactId>
|
||
<version>${revision}</version>
|
||
|
||
<packaging>pom</packaging>
|
||
|
||
<name>mybatis-flex-dependencies</name>
|
||
<url>https://mybatis-flex.com</url>
|
||
<description>MyBatis-Flex BOM (Bill of Materials).</description>
|
||
|
||
<issueManagement>
|
||
<system>Github Issue</system>
|
||
<url>https://github.com/mybatis-flex/mybatis-flex/issues</url>
|
||
</issueManagement>
|
||
<licenses>
|
||
<license>
|
||
<name>The Apache Software License, Version 2.0</name>
|
||
<url>https://apache.org/licenses/LICENSE-2.0.txt</url>
|
||
</license>
|
||
</licenses>
|
||
<scm>
|
||
<url>https://github.com/mybatis-flex/mybatis-flex</url>
|
||
<connection>scm:git:https://github.com/mybatis-flex/mybatis-flex.git</connection>
|
||
<developerConnection>scm:git:https://github.com/mybatis-flex/mybatis-flex.git</developerConnection>
|
||
</scm>
|
||
<developers>
|
||
<developer>
|
||
<name>Michael Yang</name>
|
||
<email>fuhai999@gmail.com</email>
|
||
<roles>
|
||
<role>developer</role>
|
||
</roles>
|
||
<timezone>+8</timezone>
|
||
</developer>
|
||
<developer>
|
||
<name>王帅</name>
|
||
<email>suomm.macher@foxmail.com</email>
|
||
<roles>
|
||
<role>author</role>
|
||
</roles>
|
||
<timezone>+8</timezone>
|
||
</developer>
|
||
</developers>
|
||
<properties>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-annotation</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-codegen</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-processor</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-solon-plugin</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-spring</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.mybatis-flex</groupId>
|
||
<artifactId>mybatis-flex-spring-boot3-starter</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
|
||
<build>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<includes>
|
||
<include>**/*</include>
|
||
</includes>
|
||
</resource>
|
||
</resources>
|
||
|
||
<plugins>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.1</version>
|
||
<configuration>
|
||
<source>1.8</source>
|
||
<target>1.8</target>
|
||
<encoding>UTF-8</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<!-- Source -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>2.2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- Javadoc -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>2.10.4</version>
|
||
<configuration>
|
||
<windowtitle>MybatisFlex</windowtitle>
|
||
<doctitle>MybatisFlex</doctitle>
|
||
<show>private</show>
|
||
<detectLinks>false</detectLinks>
|
||
<detectOfflineLinks>true</detectOfflineLinks>
|
||
<linksource>true</linksource>
|
||
<additionalparam>-Xdoclint:none</additionalparam>
|
||
<detectJavaApiLink>true</detectJavaApiLink>
|
||
<source>8</source>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-javadocs</id>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- Javadoc -->
|
||
<!-- Gpg Signature -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>1.6</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.sonatype.central</groupId>
|
||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||
<version>0.7.0</version>
|
||
<extensions>true</extensions>
|
||
<configuration>
|
||
<publishingServerId>central</publishingServerId>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>flatten-maven-plugin</artifactId>
|
||
<version>${flatten-maven-plugin.version}</version>
|
||
<inherited>false</inherited>
|
||
<executions>
|
||
<execution>
|
||
<!-- Create an effective POM (with versions expanded) for the CLI and
|
||
documentation -->
|
||
<id>flatten-effective-pom</id>
|
||
<phase>process-resources</phase>
|
||
<goals>
|
||
<goal>flatten</goal>
|
||
</goals>
|
||
<configuration>
|
||
<updatePomFile>false</updatePomFile>
|
||
<outputDirectory>${project.build.directory}/effective-pom</outputDirectory>
|
||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||
<pomElements>
|
||
<dependencyManagement>expand</dependencyManagement>
|
||
<pluginManagement>expand</pluginManagement>
|
||
<properties>remove</properties>
|
||
<repositories>remove</repositories>
|
||
</pomElements>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<!-- Flatten and simplify our own POM for install/deploy -->
|
||
<id>flatten</id>
|
||
<phase>process-resources</phase>
|
||
<goals>
|
||
<goal>flatten</goal>
|
||
</goals>
|
||
<configuration>
|
||
<updatePomFile>true</updatePomFile>
|
||
<flattenMode>bom</flattenMode>
|
||
<pomElements>
|
||
<pluginManagement>keep</pluginManagement>
|
||
<properties>keep</properties>
|
||
<repositories>remove</repositories>
|
||
</pomElements>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<id>flatten-clean</id>
|
||
<phase>clean</phase>
|
||
<goals>
|
||
<goal>clean</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>xml-maven-plugin</artifactId>
|
||
<version>${xml-maven-plugin.version}</version>
|
||
<inherited>false</inherited>
|
||
<executions>
|
||
<execution>
|
||
<!-- Cleanup the effective POM -->
|
||
<id>post-process-effective-pom</id>
|
||
<phase>process-resources</phase>
|
||
<goals>
|
||
<goal>transform</goal>
|
||
</goals>
|
||
<configuration>
|
||
<transformationSets>
|
||
<transformationSet>
|
||
<dir>${project.build.directory}/effective-pom</dir>
|
||
<outputDir>${project.build.directory}/effective-pom</outputDir>
|
||
<stylesheet>src/main/xslt/post-process-flattened-pom.xsl</stylesheet>
|
||
<outputProperties>
|
||
<outputProperty>
|
||
<name>indent</name>
|
||
<value>yes</value>
|
||
</outputProperty>
|
||
</outputProperties>
|
||
</transformationSet>
|
||
</transformationSets>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<!-- Cleanup the flattened project POM -->
|
||
<id>post-process-flattened-pom</id>
|
||
<phase>process-resources</phase>
|
||
<goals>
|
||
<goal>transform</goal>
|
||
</goals>
|
||
<configuration>
|
||
<transformationSets>
|
||
<transformationSet>
|
||
<dir>${project.basedir}</dir>
|
||
<outputDir>${project.basedir}</outputDir>
|
||
<includes>.flattened-pom.xml</includes>
|
||
<stylesheet>src/main/xslt/post-process-flattened-pom.xsl</stylesheet>
|
||
<outputProperties>
|
||
<outputProperty>
|
||
<name>indent</name>
|
||
<value>yes</value>
|
||
</outputProperty>
|
||
</outputProperties>
|
||
</transformationSet>
|
||
</transformationSets>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
</plugins>
|
||
</build>
|
||
|
||
|
||
<!-- 跳过测试:mvn package -Dmaven.test.skip=true -->
|
||
<!-- 检测依赖最新版本:mvn versions:display-dependency-updates -->
|
||
<!-- 统一修改版本号:mvn versions:set -DnewVersion=3.0 -->
|
||
<!-- mvn -N versions:update-child-modules -->
|
||
<!-- mvn versions:set -DnewVersion=2.0 -DprocessAllModules=true -DallowSnapshots=true -->
|
||
|
||
<!-- mvn clean source:jar install -->
|
||
<!-- mvn deploy -Dmaven.test.skip=true -e -P release -->
|
||
<!-- mvn deploy -e -->
|
||
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>central</id>
|
||
<url>https://central.sonatype.com/</url>
|
||
</snapshotRepository>
|
||
</distributionManagement>
|
||
|
||
|
||
</project>
|