mirror of
https://gitee.com/jzsw-it/yexuejc-base.git
synced 2025-06-06 13:54:03 +08:00
314 lines
12 KiB
XML
314 lines
12 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.yexuejc</groupId>
|
||
<artifactId>yexuejc-base</artifactId>
|
||
<version>1.5.1-jdk11</version>
|
||
|
||
<name>yexuejc-base</name>
|
||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||
<description>Common toolkits based on JDK11 packaging</description>
|
||
|
||
<licenses>
|
||
<license>
|
||
<name>The Apache Software License, Version 2.0</name>
|
||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||
</license>
|
||
</licenses>
|
||
|
||
<developers>
|
||
<developer>
|
||
<name>yexuejc</name>
|
||
<email>yexuejc@gmail.com</email>
|
||
<organization>Chengdu Ultimate Thinking Network Technology Co., Ltd.</organization>
|
||
<timezone>+8</timezone>
|
||
</developer>
|
||
</developers>
|
||
|
||
<scm>
|
||
<connection>
|
||
scm:git:https://github.com/yexuejc/yexuejc-base.git
|
||
</connection>
|
||
<developerConnection>
|
||
scm:git:https://github.com/yexuejc/yexuejc-base.git
|
||
</developerConnection>
|
||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||
</scm>
|
||
|
||
<properties>
|
||
<repos.yexuejc.url>https://nexus.yexuejc.top/repository/</repos.yexuejc.url>
|
||
<repos.aliyun.url>https://maven.aliyun.com/repository/public</repos.aliyun.url>
|
||
<repos.jitpack.url>https://jitpack.io</repos.jitpack.url>
|
||
<jjwt.version>0.11.5</jjwt.version>
|
||
<maven.compiler.verbose>true</maven.compiler.verbose>
|
||
<java.version>11</java.version>
|
||
<validation-api.version>3.0.2</validation-api.version>
|
||
|
||
<commons-io.version>2.11.0</commons-io.version>
|
||
<bcprov-jdk15on.version>1.70</bcprov-jdk15on.version>
|
||
<guava.version>31.1-jre</guava.version>
|
||
<apache-poi.version>5.2.2</apache-poi.version>
|
||
<jackson.version>2.14.0</jackson.version>
|
||
<zip4j.version>2.11.2</zip4j.version>
|
||
<!-- 文件拷贝时的编码 -->
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<!-- 编译时的编码 -->
|
||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<!-- JJWT -->
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt-api</artifactId>
|
||
<version>${jjwt.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt-impl</artifactId>
|
||
<version>${jjwt.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt-jackson</artifactId>
|
||
<version>${jjwt.version}</version>
|
||
</dependency>
|
||
<!-- 数据校验框架 -->
|
||
<dependency>
|
||
<groupId>jakarta.validation</groupId>
|
||
<artifactId>jakarta.validation-api</artifactId>
|
||
<version>${validation-api.version}</version>
|
||
</dependency>
|
||
|
||
<!--IOUtils使用到的依赖-->
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>${commons-io.version}</version>
|
||
</dependency>
|
||
<!--支持大量的密码术算法,并提供JCE 1.2.1的实现-->
|
||
<dependency>
|
||
<groupId>org.bouncycastle</groupId>
|
||
<artifactId>bcprov-jdk15on</artifactId>
|
||
<version>${bcprov-jdk15on.version}</version>
|
||
</dependency>
|
||
<!--com.yexuejc.base.util.SysUtil.threadRun 异步处理代码-->
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>${guava.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
<version>${apache-poi.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
<version>${apache-poi.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||
<artifactId>jackson-dataformat-csv</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>net.lingala.zip4j</groupId>
|
||
<artifactId>zip4j</artifactId>
|
||
<version>${zip4j.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.junit.jupiter</groupId>
|
||
<artifactId>junit-jupiter-api</artifactId>
|
||
<version>5.9.0</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.1</version>
|
||
<configuration>
|
||
<encoding>UTF-8</encoding>
|
||
<source>11</source>
|
||
<target>11</target>
|
||
</configuration>
|
||
</plugin>
|
||
<!-- 打包源码 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>3.2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-sources</id>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- 使用spring boot的maven插件进行打包 -->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
||
<!-- <version>2.4.2</version>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>build-info</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- <configuration>-->
|
||
<!-- <!– 是否打出可执行的jar包(仅支持Linux格式) –>-->
|
||
<!-- <executable>true</executable>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
<!-- Javadoc -->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
||
<!-- <artifactId>maven-javadoc-plugin</artifactId>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <phase>package</phase>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>jar</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- </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>
|
||
<repositories>
|
||
<repository>
|
||
<id>yexuejc-maven</id>
|
||
<name>yexuejc-nexus-public</name>
|
||
<url>${repos.yexuejc.url}maven-public/</url>
|
||
</repository>
|
||
<repository>
|
||
<id>aliyun-maven</id>
|
||
<name>aliyun-nexus-public</name>
|
||
<url>${repos.aliyun.url}</url>
|
||
</repository>
|
||
<repository>
|
||
<id>jitpack.io</id>
|
||
<url>${repos.jitpack.url}</url>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<!-- 中间件jar包发布目标 -->
|
||
<distributionManagement>
|
||
<!--中央仓库发布-->
|
||
<!--<snapshotRepository>-->
|
||
<!--<id>sonatype-nexus-snapshots</id>-->
|
||
<!--<name>Sonatype Nexus Snapshots</name>-->
|
||
<!--<url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
|
||
<!--</snapshotRepository>-->
|
||
<!--<repository>-->
|
||
<!--<id>sonatype-nexus-staging</id>-->
|
||
<!--<name>Nexus Release Repository</name>-->
|
||
<!--<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
|
||
<!--</repository>-->
|
||
|
||
<!-- 私服仓库发布-->
|
||
<repository>
|
||
<id>releases</id>
|
||
<name>nexus-release</name>
|
||
<url>${repos.yexuejc.url}maven-releases/</url>
|
||
</repository>
|
||
<snapshotRepository>
|
||
<id>snapshots</id>
|
||
<name>nexus-snapshots</name>
|
||
<url>${repos.yexuejc.url}maven-snapshots/</url>
|
||
</snapshotRepository>
|
||
|
||
<!--
|
||
<repository>
|
||
<id>releases</id>
|
||
<name>nexus-release</name>
|
||
<url>${repos.hm.url}maven-releases/</url>
|
||
</repository>
|
||
<snapshotRepository>
|
||
<id>snapshots</id>
|
||
<name>nexus-snapshots</name>
|
||
<url>${repos.hm.url}maven-snapshots/</url>
|
||
</snapshotRepository>-->
|
||
</distributionManagement>
|
||
|
||
<profiles>
|
||
<profile>
|
||
<id>sonatype-oss-release</id>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-sources</id>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!--Javadoc-->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<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>
|
||
<executions>
|
||
<execution>
|
||
<id>sign-artifacts</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
</profiles>
|
||
</project> |