-
Notifications
You must be signed in to change notification settings - Fork 121
/
pom.xml
226 lines (216 loc) · 9.27 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<?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>io.github.sika-code-cloud</groupId>
<artifactId>sika-code</artifactId>
<version>${revision}</version>
<name>sika-code</name>
<packaging>pom</packaging>
<description>企业级基础框架</description>
<url>https://github.com/sika-code-cloud/sika-code</url>
<modules>
<module>sika-code-core</module>
<module>sika-code-db</module>
<module>sika-code-generator</module>
<module>sika-code-batch</module>
<module>sika-code-db-sharding</module>
<module>sika-code-cache</module>
<module>sika-code-migrate</module>
<module>sika-code-job</module>
</modules>
<properties>
<!--设置字符编码及java版本 -->
<project.build.targetJdk>1.8</project.build.targetJdk>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<dep.javax.servlet-api.version>3.1.0</dep.javax.servlet-api.version>
<jm.build.jvmSize>1024m</jm.build.jvmSize>
<jm.maven.version>3.0.7</jm.maven.version>
<!-- sika版本-->
<revision>3.1.2</revision>
<!--<dep.logback.version>1.0.13</dep.logback.version>-->
<slf4j.version>1.7.32</slf4j.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<commons-collections4.version>4.4</commons-collections4.version>
<spring-extension.version>4.1.5.RELEASE</spring-extension.version>
<fastjson.version>1.2.78</fastjson.version>
<!-- jom依赖 -->
<snakeyaml.version>1.29</snakeyaml.version>
<junit.version>4.13.2</junit.version>
<lombok.version>1.18.22</lombok.version>
<mybatis-plus-boot-starter.version>3.4.3.4</mybatis-plus-boot-starter.version>
<guava.version>31.0.1-jre</guava.version>
<guava-retrying.version>2.0.0</guava-retrying.version>
<hutool-version>5.8.9</hutool-version>
<cglib.version>3.3.0</cglib.version>
<disruptor.version>3.4.4</disruptor.version>
<caffeine.version>2.8.0</caffeine.version>
<forest.version>1.5.25</forest.version>
<!-- spring-boot依赖版本号 -->
<spring-boot-dependencies.version>2.7.5</spring-boot-dependencies.version>
<tlog.version>1.3.6</tlog.version>
<orika.version>1.5.4</orika.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- 集成spring-boot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!--注意: 这里必须要添加,否则各种依赖有问题 -->
<repositories>
<repository>
<id>spring-release</id>
<name>Spring release</name>
<url>https://repo.spring.io/release/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>repo1</id>
<name>repo1</name>
<url>https://repo1.maven.org/maven2/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<!-- 开源部署信息-->
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<developers>
<developer>
<name>SikaDai</name>
<!-- 邮件 -->
<email>466608943@qq.com</email>
<!-- 开源地址 -->
<url>https://github.com/sika-code-cloud</url>
</developer>
</developers>
<scm>
<url>https://github.com/sika-code-cloud/sika-code</url>
<connection>https://github.com/sika-code-cloud/sika-code.git</connection>
<developerConnection>https://github.com/sika-code-cloud</developerConnection>
</scm>
<profiles>
<profile>
<id>release</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<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>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<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-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<!-- jdk1.8要加上,1.7要去掉,否则会报错 -->
<additionalJOptions>
<additionalJOption>-Xdoclint:none</additionalJOption>
</additionalJOptions>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>ossrh</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 自动替换${reversion}插件 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.7</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>
</profile>
</profiles>
</project>