|
@@ -15,20 +15,10 @@
|
15
|
15
|
<description>nstths</description>
|
16
|
16
|
<properties>
|
17
|
17
|
<java.version>17</java.version>
|
18
|
|
- <repackage.classifier/>
|
19
|
|
- <spring-native.version>0.11.2</spring-native.version>
|
20
|
18
|
</properties>
|
21
|
19
|
<dependencies>
|
22
|
20
|
<dependency>
|
23
|
21
|
<groupId>org.springframework.boot</groupId>
|
24
|
|
- <artifactId>spring-boot-starter-data-jdbc</artifactId>
|
25
|
|
- </dependency>
|
26
|
|
- <dependency>
|
27
|
|
- <groupId>org.springframework.boot</groupId>
|
28
|
|
- <artifactId>spring-boot-starter-data-jpa</artifactId>
|
29
|
|
- </dependency>
|
30
|
|
- <dependency>
|
31
|
|
- <groupId>org.springframework.boot</groupId>
|
32
|
22
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
33
|
23
|
</dependency>
|
34
|
24
|
<dependency>
|
|
@@ -41,9 +31,14 @@
|
41
|
31
|
<version>2.2.2</version>
|
42
|
32
|
</dependency>
|
43
|
33
|
<dependency>
|
44
|
|
- <groupId>org.springframework.experimental</groupId>
|
45
|
|
- <artifactId>spring-native</artifactId>
|
46
|
|
- <version>${spring-native.version}</version>
|
|
34
|
+ <groupId>com.baomidou</groupId>
|
|
35
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
36
|
+ <version>3.5.1</version>
|
|
37
|
+ </dependency>
|
|
38
|
+ <dependency>
|
|
39
|
+ <groupId>com.baomidou</groupId>
|
|
40
|
+ <artifactId>mybatis-plus-generator</artifactId>
|
|
41
|
+ <version>3.5.1</version>
|
47
|
42
|
</dependency>
|
48
|
43
|
|
49
|
44
|
<dependency>
|
|
@@ -53,11 +48,6 @@
|
53
|
48
|
<optional>true</optional>
|
54
|
49
|
</dependency>
|
55
|
50
|
<dependency>
|
56
|
|
- <groupId>com.h2database</groupId>
|
57
|
|
- <artifactId>h2</artifactId>
|
58
|
|
- <scope>runtime</scope>
|
59
|
|
- </dependency>
|
60
|
|
- <dependency>
|
61
|
51
|
<groupId>mysql</groupId>
|
62
|
52
|
<artifactId>mysql-connector-java</artifactId>
|
63
|
53
|
<scope>runtime</scope>
|
|
@@ -86,118 +76,9 @@
|
86
|
76
|
<artifactId>lombok</artifactId>
|
87
|
77
|
</exclude>
|
88
|
78
|
</excludes>
|
89
|
|
- <classifier>${repackage.classifier}</classifier>
|
90
|
|
- <image>
|
91
|
|
- <builder>paketobuildpacks/builder:tiny</builder>
|
92
|
|
- <env>
|
93
|
|
- <BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
|
94
|
|
- </env>
|
95
|
|
- </image>
|
96
|
79
|
</configuration>
|
97
|
80
|
</plugin>
|
98
|
|
- <plugin>
|
99
|
|
- <groupId>org.springframework.experimental</groupId>
|
100
|
|
- <artifactId>spring-aot-maven-plugin</artifactId>
|
101
|
|
- <version>${spring-native.version}</version>
|
102
|
|
- <executions>
|
103
|
|
- <execution>
|
104
|
|
- <id>test-generate</id>
|
105
|
|
- <goals>
|
106
|
|
- <goal>test-generate</goal>
|
107
|
|
- </goals>
|
108
|
|
- </execution>
|
109
|
|
- <execution>
|
110
|
|
- <id>generate</id>
|
111
|
|
- <goals>
|
112
|
|
- <goal>generate</goal>
|
113
|
|
- </goals>
|
114
|
|
- </execution>
|
115
|
|
- </executions>
|
116
|
|
- </plugin>
|
117
|
|
- <plugin>
|
118
|
|
- <groupId>org.hibernate.orm.tooling</groupId>
|
119
|
|
- <artifactId>hibernate-enhance-maven-plugin</artifactId>
|
120
|
|
- <version>${hibernate.version}</version>
|
121
|
|
- <executions>
|
122
|
|
- <execution>
|
123
|
|
- <id>enhance</id>
|
124
|
|
- <goals>
|
125
|
|
- <goal>enhance</goal>
|
126
|
|
- </goals>
|
127
|
|
- <configuration>
|
128
|
|
- <failOnError>true</failOnError>
|
129
|
|
- <enableLazyInitialization>true</enableLazyInitialization>
|
130
|
|
- <enableDirtyTracking>true</enableDirtyTracking>
|
131
|
|
- <enableAssociationManagement>true</enableAssociationManagement>
|
132
|
|
- <enableExtendedEnhancement>false</enableExtendedEnhancement>
|
133
|
|
- </configuration>
|
134
|
|
- </execution>
|
135
|
|
- </executions>
|
136
|
|
- </plugin>
|
137
|
81
|
</plugins>
|
138
|
82
|
</build>
|
139
|
|
- <repositories>
|
140
|
|
- <repository>
|
141
|
|
- <id>spring-releases</id>
|
142
|
|
- <name>Spring Releases</name>
|
143
|
|
- <url>https://repo.spring.io/release</url>
|
144
|
|
- <snapshots>
|
145
|
|
- <enabled>false</enabled>
|
146
|
|
- </snapshots>
|
147
|
|
- </repository>
|
148
|
|
- </repositories>
|
149
|
|
- <pluginRepositories>
|
150
|
|
- <pluginRepository>
|
151
|
|
- <id>spring-releases</id>
|
152
|
|
- <name>Spring Releases</name>
|
153
|
|
- <url>https://repo.spring.io/release</url>
|
154
|
|
- <snapshots>
|
155
|
|
- <enabled>false</enabled>
|
156
|
|
- </snapshots>
|
157
|
|
- </pluginRepository>
|
158
|
|
- </pluginRepositories>
|
159
|
|
-
|
160
|
|
- <profiles>
|
161
|
|
- <profile>
|
162
|
|
- <id>native</id>
|
163
|
|
- <properties>
|
164
|
|
- <repackage.classifier>exec</repackage.classifier>
|
165
|
|
- <native-buildtools.version>0.9.9</native-buildtools.version>
|
166
|
|
- </properties>
|
167
|
|
- <dependencies>
|
168
|
|
- <dependency>
|
169
|
|
- <groupId>org.junit.platform</groupId>
|
170
|
|
- <artifactId>junit-platform-launcher</artifactId>
|
171
|
|
- <scope>test</scope>
|
172
|
|
- </dependency>
|
173
|
|
- </dependencies>
|
174
|
|
- <build>
|
175
|
|
- <plugins>
|
176
|
|
- <plugin>
|
177
|
|
- <groupId>org.graalvm.buildtools</groupId>
|
178
|
|
- <artifactId>native-maven-plugin</artifactId>
|
179
|
|
- <version>${native-buildtools.version}</version>
|
180
|
|
- <extensions>true</extensions>
|
181
|
|
- <executions>
|
182
|
|
- <execution>
|
183
|
|
- <id>test-native</id>
|
184
|
|
- <phase>test</phase>
|
185
|
|
- <goals>
|
186
|
|
- <goal>test</goal>
|
187
|
|
- </goals>
|
188
|
|
- </execution>
|
189
|
|
- <execution>
|
190
|
|
- <id>build-native</id>
|
191
|
|
- <phase>package</phase>
|
192
|
|
- <goals>
|
193
|
|
- <goal>build</goal>
|
194
|
|
- </goals>
|
195
|
|
- </execution>
|
196
|
|
- </executions>
|
197
|
|
- </plugin>
|
198
|
|
- </plugins>
|
199
|
|
- </build>
|
200
|
|
- </profile>
|
201
|
|
- </profiles>
|
202
|
83
|
|
203
|
84
|
</project>
|