mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
210 lines
8.2 KiB
XML
210 lines
8.2 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>
|
||
|
||
<groupId>top.charles7c.continew</groupId>
|
||
<artifactId>continew-starter</artifactId>
|
||
<version>${revision}</version>
|
||
<packaging>pom</packaging>
|
||
|
||
<name>${project.artifactId}</name>
|
||
<description>
|
||
ContiNew Starter 是一种特殊类型的 Spring Boot Starter,
|
||
其作用与常规的 Starter 类似,它可以帮助开发人员快速集成常用的第三方库或工具到 Spring 应用程序中。
|
||
ContiNew Starter 包含了一系列经过优化和配置的依赖包,可轻松集成到应用中,
|
||
从而避免开发人员手动引入依赖的麻烦,为 Spring Boot 项目的灵活快速构建提供支持。
|
||
</description>
|
||
<url>https://github.com/Charles7c/continew-starter</url>
|
||
<licenses>
|
||
<license>
|
||
<name>GNU LESSER GENERAL PUBLIC LICENSE</name>
|
||
<url>http://www.gnu.org/licenses/lgpl.html</url>
|
||
</license>
|
||
</licenses>
|
||
<developers>
|
||
<developer>
|
||
<id>charles7c</id>
|
||
<name>Charles7c</name>
|
||
<email>charles7c@126.com</email>
|
||
<roles>
|
||
<role>Creator</role>
|
||
<role>Java Development Engineer</role>
|
||
</roles>
|
||
<timezone>+8</timezone>
|
||
<url>https://github.com/Charles7c</url>
|
||
</developer>
|
||
<developer>
|
||
<id>bull-bcls</id>
|
||
<name>Bull-BCLS</name>
|
||
<email>Tomcat416@163.com</email>
|
||
<roles>
|
||
<role>Java Development Engineer</role>
|
||
</roles>
|
||
<timezone>+8</timezone>
|
||
<url>https://github.com/Bull-BCLS</url>
|
||
</developer>
|
||
</developers>
|
||
|
||
<scm>
|
||
<url>https://github.com/Charles7c/continew-starter</url>
|
||
<connection>scm:git:git@github.com:Charles7c/continew-starter.git</connection>
|
||
<developerConnection>scm:git:git@github.com:Charles7c/continew-starter.git</developerConnection>
|
||
</scm>
|
||
|
||
<properties>
|
||
<revision>1.0.0-SNAPSHOT</revision>
|
||
|
||
<spring-boot.version>3.1.5</spring-boot.version>
|
||
|
||
<!-- Maven Environment Versions -->
|
||
<java.version>17</java.version>
|
||
<resource.delimiter>@</resource.delimiter>
|
||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
||
<!-- Maven Plugin Versions -->
|
||
<spotless.version>2.30.0</spotless.version>
|
||
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
|
||
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
|
||
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
|
||
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
|
||
</properties>
|
||
|
||
<modules>
|
||
<module>continew-starter-dependencies</module>
|
||
<module>continew-starter-core</module>
|
||
</modules>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<!-- ContiNew Starter Dependencies -->
|
||
<dependency>
|
||
<groupId>top.charles7c.continew</groupId>
|
||
<artifactId>continew-starter-dependencies</artifactId>
|
||
<version>${revision}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- 代码等格式化插件 -->
|
||
<plugin>
|
||
<groupId>com.diffplug.spotless</groupId>
|
||
<artifactId>spotless-maven-plugin</artifactId>
|
||
<version>${spotless.version}</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>compile</phase>
|
||
<goals>
|
||
<goal>apply</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<java>
|
||
<removeUnusedImports/>
|
||
<licenseHeader>
|
||
<file>code-style/license-header</file>
|
||
</licenseHeader>
|
||
</java>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>flatten-maven-plugin</artifactId>
|
||
<version>${flatten-maven-plugin.version}</version>
|
||
<configuration>
|
||
<updatePomFile>true</updatePomFile>
|
||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>flatten</id>
|
||
<phase>process-resources</phase>
|
||
<goals>
|
||
<goal>flatten</goal>
|
||
</goals>
|
||
</execution>
|
||
<execution>
|
||
<id>flatten.clean</id>
|
||
<phase>clean</phase>
|
||
<goals>
|
||
<goal>clean</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
<profiles>
|
||
<profile>
|
||
<id>release</id>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>${maven-source-plugin.version}</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>${maven-javadoc-plugin.version}</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>${maven-gpg-plugin.version}</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>sonatype-nexus-snapshots</id>
|
||
<name>Sonatype Nexus Snapshots</name>
|
||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>sonatype-nexus-staging</id>
|
||
<name>Nexus Release Repository</name>
|
||
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
</profile>
|
||
</profiles>
|
||
</project> |