|
1 | | -<?xml version="1.0"?> |
2 | | -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
4 | | - xmlns="http://maven.apache.org/POM/4.0.0"> |
5 | | - <modelVersion>4.0.0</modelVersion> |
6 | | - <groupId>io.github.dunwu</groupId> |
7 | | - <artifactId>javadb-h2</artifactId> |
8 | | - <version>1.0.0</version> |
9 | | - <packaging>jar</packaging> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
10 | 5 |
|
11 | | - <properties> |
12 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | | - <java.version>1.8</java.version> |
14 | | - <maven.compiler.source>${java.version}</maven.compiler.source> |
15 | | - <maven.compiler.target>${java.version}</maven.compiler.target> |
| 6 | + <parent> |
| 7 | + <groupId>org.springframework.boot</groupId> |
| 8 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 9 | + <version>2.6.3</version> |
| 10 | + </parent> |
16 | 11 |
|
17 | | - <junit.version>4.13.1</junit.version> |
18 | | - </properties> |
| 12 | + <groupId>io.github.dunwu</groupId> |
| 13 | + <artifactId>javadb-h2</artifactId> |
| 14 | + <version>1.0.0</version> |
| 15 | + <packaging>jar</packaging> |
19 | 16 |
|
20 | | - <dependencies> |
21 | | - <!-- db begin --> |
22 | | - <dependency> |
23 | | - <groupId>com.h2database</groupId> |
24 | | - <artifactId>h2</artifactId> |
25 | | - </dependency> |
26 | | - <!-- db end --> |
| 17 | + <dependencies> |
| 18 | + <dependency> |
| 19 | + <groupId>org.springframework.boot</groupId> |
| 20 | + <artifactId>spring-boot-starter-data-rest</artifactId> |
| 21 | + </dependency> |
| 22 | + <dependency> |
| 23 | + <groupId>org.springframework.boot</groupId> |
| 24 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>org.springframework.boot</groupId> |
| 28 | + <artifactId>spring-boot-starter-test</artifactId> |
| 29 | + <scope>test</scope> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.projectlombok</groupId> |
| 33 | + <artifactId>lombok</artifactId> |
| 34 | + </dependency> |
27 | 35 |
|
28 | | - <!-- test begin --> |
29 | | - <dependency> |
30 | | - <groupId>junit</groupId> |
31 | | - <artifactId>junit</artifactId> |
32 | | - </dependency> |
33 | | - <!-- test end --> |
34 | | - </dependencies> |
| 36 | + <!-- db begin --> |
| 37 | + <dependency> |
| 38 | + <groupId>com.h2database</groupId> |
| 39 | + <artifactId>h2</artifactId> |
| 40 | + <version>2.1.210</version> |
| 41 | + </dependency> |
| 42 | + <!-- db end --> |
| 43 | + </dependencies> |
35 | 44 |
|
36 | | - <dependencyManagement> |
37 | | - <dependencies> |
38 | | - <!-- database begin --> |
39 | | - <dependency> |
40 | | - <groupId>com.h2database</groupId> |
41 | | - <artifactId>h2</artifactId> |
42 | | - <version>2.0.206</version> |
43 | | - <scope>test</scope> |
44 | | - </dependency> |
45 | | - <!-- database end --> |
46 | | - |
47 | | - <!-- test begin --> |
48 | | - <dependency> |
49 | | - <groupId>junit</groupId> |
50 | | - <artifactId>junit</artifactId> |
51 | | - <version>${junit.version}</version> |
52 | | - <scope>test</scope> |
53 | | - </dependency> |
54 | | - <!-- test end --> |
55 | | - </dependencies> |
56 | | - </dependencyManagement> |
| 45 | + <build> |
| 46 | + <plugins> |
| 47 | + <plugin> |
| 48 | + <groupId>org.springframework.boot</groupId> |
| 49 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 50 | + </plugin> |
| 51 | + </plugins> |
| 52 | + </build> |
57 | 53 | </project> |
0 commit comments