-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
176 lines (162 loc) · 6.22 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
<?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">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.3</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.deil</groupId>
<artifactId>deil-tools</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>工具集</description>
<modules>
<module>deil-component</module>
<module>deil-utils</module>
<module>deil-util-jasypt</module>
<module>deil-util-healthCheck</module>
<module>deil-util-game</module>
<module>deil-quartz</module>
<module>deil-demo</module>
<module>deil-security</module>
<module>deil-api</module>
</modules>
<properties>
<project-jdk>1.8</project-jdk>
<project-encoding>UTF-8</project-encoding>
<jarPack>${basedir}/pack/${project.build.finalName}/target</jarPack>
<deployPack>${basedir}/pack/${project.build.finalName}</deployPack>
<bakPack>${basedir}/pack/deploy</bakPack>
<checkPack>${basedir}/pack/check</checkPack>
<logPack>${basedir}/logs</logPack>
<starter-druid-version>1.2.15</starter-druid-version>
<slf4j-version>1.7.36</slf4j-version>
<jasypt-starter>3.0.4</jasypt-starter>
<swagger-versioin>3.0.0</swagger-versioin>
<plugin-springboot-maven-version>2.3.7.RELEASE</plugin-springboot-maven-version>
<plugin-maven-compiler-version>3.8.1</plugin-maven-compiler-version>
<plugin-dependency-check>7.1.2</plugin-dependency-check>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>${jasypt-starter}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${swagger-versioin}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${plugin-maven-compiler-version}</version>
<configuration>
<source>${project-jdk}</source>
<target>${project-jdk}</target>
<encoding>${project-encoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>org.deil.component.ComponentApplication</mainClass>
</configuration>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${plugin-dependency-check}</version>
<configuration>
<skip>true</skip>
<autoUpdate>true</autoUpdate>
<outputDirectory>${project-checkpack}</outputDirectory>
<formats>HTML, JSON</formats>
<centralAnalyzerEnabled>false</centralAnalyzerEnabled>
<versionCheckEnabled>true</versionCheckEnabled>
<retireJsAnalyzerEnabled>false</retireJsAnalyzerEnabled>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-maven-plugin</artifactId>
<version>${jasypt-starter}</version>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<profileActive>local</profileActive>
</properties>
</profile>
<profile>
<id>dev</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<profileActive>dev</profileActive>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<profileActive>prod</profileActive>
</properties>
</profile>
</profiles>
</project>