|
@@ -0,0 +1,203 @@
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
4
|
+ <modelVersion>4.0.0</modelVersion>
|
|
5
|
+ <parent>
|
|
6
|
+ <groupId>org.springframework.boot</groupId>
|
|
7
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
8
|
+ <version>2.6.3</version>
|
|
9
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
10
|
+ </parent>
|
|
11
|
+ <groupId>com.szls</groupId>
|
|
12
|
+ <artifactId>nstths</artifactId>
|
|
13
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
14
|
+ <name>nstths</name>
|
|
15
|
+ <description>nstths</description>
|
|
16
|
+ <properties>
|
|
17
|
+ <java.version>11</java.version>
|
|
18
|
+ <repackage.classifier/>
|
|
19
|
+ <spring-native.version>0.11.2</spring-native.version>
|
|
20
|
+ </properties>
|
|
21
|
+ <dependencies>
|
|
22
|
+ <dependency>
|
|
23
|
+ <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
|
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
33
|
+ </dependency>
|
|
34
|
+ <dependency>
|
|
35
|
+ <groupId>org.springframework.boot</groupId>
|
|
36
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
37
|
+ </dependency>
|
|
38
|
+ <dependency>
|
|
39
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
40
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
41
|
+ <version>2.2.2</version>
|
|
42
|
+ </dependency>
|
|
43
|
+ <dependency>
|
|
44
|
+ <groupId>org.springframework.experimental</groupId>
|
|
45
|
+ <artifactId>spring-native</artifactId>
|
|
46
|
+ <version>${spring-native.version}</version>
|
|
47
|
+ </dependency>
|
|
48
|
+
|
|
49
|
+ <dependency>
|
|
50
|
+ <groupId>org.springframework.boot</groupId>
|
|
51
|
+ <artifactId>spring-boot-devtools</artifactId>
|
|
52
|
+ <scope>runtime</scope>
|
|
53
|
+ <optional>true</optional>
|
|
54
|
+ </dependency>
|
|
55
|
+ <dependency>
|
|
56
|
+ <groupId>com.h2database</groupId>
|
|
57
|
+ <artifactId>h2</artifactId>
|
|
58
|
+ <scope>runtime</scope>
|
|
59
|
+ </dependency>
|
|
60
|
+ <dependency>
|
|
61
|
+ <groupId>mysql</groupId>
|
|
62
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
63
|
+ <scope>runtime</scope>
|
|
64
|
+ </dependency>
|
|
65
|
+ <dependency>
|
|
66
|
+ <groupId>org.projectlombok</groupId>
|
|
67
|
+ <artifactId>lombok</artifactId>
|
|
68
|
+ <optional>true</optional>
|
|
69
|
+ </dependency>
|
|
70
|
+ <dependency>
|
|
71
|
+ <groupId>org.springframework.boot</groupId>
|
|
72
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
73
|
+ <scope>test</scope>
|
|
74
|
+ </dependency>
|
|
75
|
+ </dependencies>
|
|
76
|
+
|
|
77
|
+ <build>
|
|
78
|
+ <plugins>
|
|
79
|
+ <plugin>
|
|
80
|
+ <groupId>org.springframework.boot</groupId>
|
|
81
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
82
|
+ <configuration>
|
|
83
|
+ <excludes>
|
|
84
|
+ <exclude>
|
|
85
|
+ <groupId>org.projectlombok</groupId>
|
|
86
|
+ <artifactId>lombok</artifactId>
|
|
87
|
+ </exclude>
|
|
88
|
+ </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
|
+ </configuration>
|
|
97
|
+ </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
|
+ </plugins>
|
|
138
|
+ </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
|
+
|
|
203
|
+</project>
|