/
pom.xml
121 lines (103 loc) · 4.82 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" encoding="UTF-8"?>
<!--mvn clean deploy -P release-->
<!--https://oss.sonatype.org-->
<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">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>com.github.yunwjr</groupId>
<artifactId>yun-util-parent</artifactId>
<version>${revision}</version>
<name>yun-util-parent</name>
<description>yun-util-parent</description>
<url>https://github.com/yunWJR/yun-util</url>
<modules>
<module>yun-util</module>
<module>yun-util-examples</module>
</modules>
<properties>
<revision>0.0.33</revision>
<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/flatten-maven-plugin-->
<flatten-maven-plugin.version>1.2.5</flatten-maven-plugin.version>
<java.version>1.8</java.version>
<compile.version>8</compile.version>
<!-- 最新的-->
<spring-boot.version>2.4.3</spring-boot.version>
<!-- <springframework.version>5.2.0.RELEASE</springframework.version>-->
<!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all-->
<hutool-all.version>5.5.9</hutool-all.version>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok-->
<lombok.version>1.18.18</lombok.version>
<!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-->
<jjwt.version>0.9.1</jjwt.version>
<!-- <javax.servlet-api.version>4.0.1</javax.servlet-api.version>-->
<logstash-logback-encoder.version>6.3</logstash-logback-encoder.version>
<!-- <slf4j-api.version>2.0.0-alpha1</slf4j-api.version>-->
<!-- <jackson-core.version>2.10.3</jackson-core.version>-->
<springfox-swagger-ui.version>3.0.0</springfox-swagger-ui.version>
<!-- <swagger-models.version>1.5.24</swagger-models.version>-->
<!-- https://mvnrepository.com/artifact/com.github.xiaoymin/knife4j-spring-ui-->
<knife4j-spring-ui.version>3.0.2</knife4j-spring-ui.version>
<!-- https://mvnrepository.com/artifact/com.google.guava/guava-->
<guava.version>30.1-jre</guava.version>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3-->
<commons-lang3.version>3.12.0</commons-lang3.version>
<!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-jpa-->
<querydsl.version>4.4.0</querydsl.version>
</properties>
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${compile.version}</source>
<target>${compile.version}</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${compile.version}</source>
<target>${compile.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 精简pom,实现版本占位符-->
<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>
</project>