加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 11.10 KB
一键复制 编辑 原始数据 按行查看 历史
andanyoung 提交于 2023-06-28 15:21 . spring-boot-parent
<?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>com.admin4j</groupId>
<artifactId>framework</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>Admin4j Framework- 基础脚手架</description>
<url>https://github.com/admin4j/admin4j-framework</url>
<modules>
<module>admin4j-common</module>
<module>admin4j-common-spring</module>
<module>admin4j-common-spring-web</module>
<module>admin4j-parent</module>
<module>admin4j-dependencies</module>
<module>web-spring-boot-starter</module>
<module>admin4j-lock</module>
<module>prometheus-spring-boot-starter</module>
<module>security-spring-boot-starter</module>
<module>oss-spring-boot-starter</module>
<module>zookeeper-spring-boot-starter</module>
<module>xss-spring-boot-starter</module>
<module>excel-spring-boot-starter</module>
<module>admin4j-limiter</module>
<module>admin4j-redis</module>
<module>admin4j-job</module>
<module>elasticsearch-spring-boot-starter</module>
<module>mybatis-plus-boot-starter</module>
<module>desensitize-spring-boot-starter</module>
<module>test-spring-boot-starter</module>
<module>kaptcha-spring-boot-starter</module>
<module>log-spring-boot-starter</module>
<module>xxl-job-spring-boot-starter</module>
<module>spring-boot-parent</module>
</modules>
<properties>
<revision>0.5.0-SNAPSHOT</revision>
<admin4j-dependencies.version>0.2-SNAPSHOT</admin4j-dependencies.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!--根据注释自动生成 /META-INF/spring-configuration-metadata.json-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure-processor</artifactId>
<scope>provided</scope>
</dependency>
<!-- idea 配置文件自动提示功能-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.admin4j</groupId>
<artifactId>admin4j-dependencies</artifactId>
<version>${admin4j-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- <repositories>-->
<!-- &lt;!&ndash; snapshots支持&ndash;&gt;-->
<!-- <repository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>-->
<!-- <snapshots>-->
<!-- <updatePolicy>always</updatePolicy>-->
<!-- <enabled>true</enabled>-->
<!-- </snapshots>-->
<!-- </repository>-->
<!-- </repositories>-->
<issueManagement>
<system>GitHub</system>
<url>https://github.com/admin4j/admin4j-framework/issues</url>
</issueManagement>
<organization>
<name>admin4j</name>
<url>https://github.com/admin4j</url>
</organization>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.4.0</version>
<configuration>
<!-- 避免IDE将 .flattened-pom.xml 自动识别为功能模块 -->
<flattenedPomFilename>pom-xml-flattened</flattenedPomFilename>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.7.6</version>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
<exclude>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure-processor</artifactId>
</exclude>
<exclude>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</exclude>
<exclude>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<!-- 生成java source.jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<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-gpg-plugin</artifactId>-->
<!-- <version>3.0.1</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>sign-artifacts</id>-->
<!-- <phase>verify</phase>-->
<!-- <goals>-->
<!-- <goal>sign</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<show>private</show>
<nohelp>true</nohelp>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<!-- TODO 临时解决不规范的javadoc生成报错,后面要规范化后把这行去掉 -->
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- 开源签名证书 -->
<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>
<!-- 仓库信息 -->
<scm>
<connection>scm:git@github.com:admin4j/admin4j-framework</connection>
<developerConnection>scm:git@github.com:admin4j/admin4j-framework</developerConnection>
<url>https://github.com/admin4j/admin4j-framework</url>
</scm>
<!-- 开发人员信息 -->
<developers>
<developer>
<name>admin4j</name>
<email>1218853253@qq.com</email>
<organization>https://github.com/admin4j</organization>
<timezone>+8</timezone>
</developer>
</developers>
<!-- 发布项目到 sonatype -->
<!-- <distributionManagement>-->
<!-- <snapshotRepository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>-->
<!-- </snapshotRepository>-->
<!-- <repository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
<!-- </repository>-->
<!-- </distributionManagement>-->
<distributionManagement>
<repository>
<id>${repository.releases.id}</id>
<name>nexus-releases</name>
<url>${repository.releases.url}</url>
</repository>
<snapshotRepository>
<id>${repository.releases.id}</id>
<name>nexus-snapshot</name>
<url>${repository.snapshots.url}</url>
</snapshotRepository>
</distributionManagement>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化