加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 9.72 KB
一键复制 编辑 原始数据 按行查看 历史
最后 提交于 2023-09-25 21:30 . build: 3.11.0
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-parent</artifactId>
<version>3.11.0-java17</version>
<relativePath>lamp-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-util</artifactId>
<version>3.11.0-java17</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>lamp项目公共模块</description>
<url>https://github.com/zuihou/lamp-util</url>
<modules>
<module>lamp-parent</module>
<module>lamp-annotation</module>
<module>lamp-core</module>
<module>lamp-boot-util</module>
<module>lamp-mvc</module>
<module>lamp-databases</module>
<module>lamp-log-starter</module>
<module>lamp-swagger2-starter</module>
<module>lamp-validator-starter</module>
<module>lamp-jwt-starter</module>
<module>lamp-xss-starter</module>
<module>lamp-cloud-starter</module>
<module>lamp-cache-starter</module>
<module>lamp-mq-starter</module>
<module>lamp-echo-starter</module>
<module>lamp-captcha-starter</module>
<module>lamp-uid</module>
<module>lamp-all</module>
</modules>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<id>zuihou</id>
<name>zuihou</name>
<email>306479353@qq.com</email>
<roles>
<role>Java Development Engineer</role>
</roles>
<timezone>2020-03-12 17:50:10</timezone>
</developer>
</developers>
<scm>
<connection>scm:git@github.com:zuihou/lamp-util.git</connection>
<developerConnection>scm:git@github.com:zuihou/lamp-util.git</developerConnection>
<url>git@github.com:zuihou/lamp-util.git</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-annotation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-uid</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-boot-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-mvc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-echo-starter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-databases</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-cache-starter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>top.tangyh.basic</groupId>
<artifactId>lamp-mq-starter</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!--Lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<!-- 资源插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!-- 一键更新子模块版本号 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- 打包的 -P参数 -->
<id>release</id>
<build>
<plugins>
<!-- Source -->
<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>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
</plugin>
<!-- GPG 打包插件-->
<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>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<!-- 这里的id和settings.xml中刚才配置的server中的id一致即可 -->
<id>oss</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<!-- 这里的id和settings.xml中刚才配置的server中的id一致即可 -->
<id>oss</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化