|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | - <modelVersion>4.0.0</modelVersion> |
5 | | - |
6 | | - <groupId>com.example</groupId> |
7 | | - <artifactId>postgres-demo</artifactId> |
8 | | - <version>0.0.1-SNAPSHOT</version> |
9 | | - <packaging>jar</packaging> |
10 | | - |
11 | | - <name>postgres-demo</name> |
12 | | - <description>Demo project for Spring Boot</description> |
13 | | - |
14 | | - <parent> |
15 | | - <groupId>org.springframework.boot</groupId> |
16 | | - <artifactId>spring-boot-starter-parent</artifactId> |
17 | | - <version>2.2.1.RELEASE</version> |
18 | | - <relativePath/> <!-- lookup parent from repository --> |
19 | | - </parent> |
20 | | - |
21 | | - <properties> |
22 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
24 | | - <java.version>1.8</java.version> |
25 | | - </properties> |
26 | | - |
27 | | - <dependencies> |
28 | | - <dependency> |
29 | | - <groupId>org.springframework.boot</groupId> |
30 | | - <artifactId>spring-boot-starter-data-jpa</artifactId> |
31 | | - </dependency> |
32 | | - <dependency> |
33 | | - <groupId>org.springframework.boot</groupId> |
34 | | - <artifactId>spring-boot-starter-web</artifactId> |
35 | | - </dependency> |
| 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> |
| 5 | + |
| 6 | + <groupId>com.example</groupId> |
| 7 | + <artifactId>postgres-demo</artifactId> |
| 8 | + <version>0.0.1-SNAPSHOT</version> |
| 9 | + <packaging>jar</packaging> |
| 10 | + |
| 11 | + <name>postgres-demo</name> |
| 12 | + <description>Demo project for Spring Boot</description> |
| 13 | + |
| 14 | + <parent> |
| 15 | + <groupId>org.springframework.boot</groupId> |
| 16 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 17 | + <version>2.2.1.RELEASE</version> |
| 18 | + <relativePath/> <!-- lookup parent from repository --> |
| 19 | + </parent> |
| 20 | + |
| 21 | + <properties> |
| 22 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 24 | + <java.version>1.8</java.version> |
| 25 | + </properties> |
| 26 | + |
| 27 | + <dependencies> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework.boot</groupId> |
| 30 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 31 | + </dependency> |
| 32 | + <dependency> |
| 33 | + <groupId>org.springframework.boot</groupId> |
| 34 | + <artifactId>spring-boot-starter-web</artifactId> |
| 35 | + </dependency> |
36 | 36 |
|
37 | 37 | <dependency> |
38 | | - <groupId>org.postgresql</groupId> |
39 | | - <artifactId>postgresql</artifactId> |
40 | | - <scope>runtime</scope> |
| 38 | + <groupId>mysql</groupId> |
| 39 | + <artifactId>mysql-connector-java</artifactId> |
41 | 40 | </dependency> |
42 | 41 | <dependency> |
43 | 42 | <groupId>org.springframework.boot</groupId> |
|
46 | 45 | </dependency> |
47 | 46 | </dependencies> |
48 | 47 |
|
49 | | - <build> |
50 | | - <plugins> |
51 | | - <plugin> |
52 | | - <groupId>org.springframework.boot</groupId> |
53 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
54 | | - </plugin> |
55 | | - </plugins> |
56 | | - </build> |
| 48 | + <build> |
| 49 | + <plugins> |
| 50 | + <plugin> |
| 51 | + <groupId>org.springframework.boot</groupId> |
| 52 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 53 | + </plugin> |
| 54 | + </plugins> |
| 55 | + </build> |
57 | 56 |
|
58 | 57 |
|
59 | 58 | </project> |
0 commit comments