mirror of
https://gitee.com/jzsw-it/yexuejc-base.git
synced 2025-06-06 22:04:04 +08:00
276 lines
10 KiB
XML
276 lines
10 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.3.7</version>
|
||
|
||
<name>${project.artifactId}</name>
|
||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||
<description>Common toolkits based on JDK8 packaging</description>
|
||
|
||
<licenses>
|
||
<license>
|
||
<name>The Apache Software License, Version 2.0</name>
|
||
<url>http://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.club/repository/</repos.yexuejc.url>
|
||
<repos.mcworle.url>https://nexus.mcworle.com/repository/</repos.mcworle.url>
|
||
<repos.aliyun.url>http://maven.aliyun.com/nexus/content/groups/public</repos.aliyun.url>
|
||
<repos.jitpack.url>https://jitpack.io</repos.jitpack.url>
|
||
<jjwt.version>0.7.0</jjwt.version>
|
||
<maven.compiler.verbose>true</maven.compiler.verbose>
|
||
<java.version>1.8</java.version>
|
||
<validation-api.version>1.1.0.Final</validation-api.version>
|
||
<commons-codec.version>1.10</commons-codec.version>
|
||
<commons-io.version>2.6</commons-io.version>
|
||
<bcprov-jdk15on.version>1.60</bcprov-jdk15on.version>
|
||
<guava.version>20.0</guava.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</artifactId>
|
||
<version>${jjwt.version}</version>
|
||
</dependency>
|
||
<!-- 数据校验框架 -->
|
||
<dependency>
|
||
<groupId>javax.validation</groupId>
|
||
<artifactId>validation-api</artifactId>
|
||
<version>${validation-api.version}</version>
|
||
</dependency>
|
||
<!--base64使用到的依赖-->
|
||
<dependency>
|
||
<groupId>commons-codec</groupId>
|
||
<artifactId>commons-codec</artifactId>
|
||
<version>${commons-codec.version}</version>
|
||
<scope>compile</scope>
|
||
</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>
|
||
</dependencies>
|
||
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<configuration>
|
||
<encoding>UTF-8</encoding>
|
||
<source>8</source>
|
||
<target>8</target>
|
||
</configuration>
|
||
</plugin>
|
||
<!-- 打包源码 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>3.0.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>
|
||
<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-nexus-public</id>
|
||
<name>yexuejc-nexus-public</name>
|
||
<url>${repos.yexuejc.url}maven-public/</url>
|
||
</repository>
|
||
<repository>
|
||
<id>aliyun-nexus-public</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.mcworle.url}maven-releases/</url>
|
||
</repository>
|
||
<snapshotRepository>
|
||
<id>snapshots</id>
|
||
<name>nexus-snapshots</name>
|
||
<url>${repos.mcworle.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> |