File tree Expand file tree Collapse file tree 2 files changed +38
-21
lines changed Expand file tree Collapse file tree 2 files changed +38
-21
lines changed Original file line number Diff line number Diff line change 24
24
<java .version>1.8</java .version>
25
25
</properties >
26
26
27
+ <profiles >
28
+
29
+ <profile >
30
+ <id >prod</id >
31
+ <activation >
32
+ <activeByDefault >true</activeByDefault >
33
+ </activation >
34
+ <dependencies >
35
+ <dependency >
36
+ <groupId >org.springframework.boot</groupId >
37
+ <artifactId >spring-boot-starter-tomcat</artifactId >
38
+ <scope >provided</scope >
39
+ </dependency >
40
+
41
+ <dependency >
42
+ <groupId >org.postgresql</groupId >
43
+ <artifactId >postgresql</artifactId >
44
+ <version >9.4.1212.jre7</version >
45
+ </dependency >
46
+
47
+ </dependencies >
48
+ </profile >
49
+
50
+ <profile >
51
+ <id >dev</id >
52
+ <dependencies >
53
+ <dependency >
54
+ <groupId >com.h2database</groupId >
55
+ <artifactId >h2</artifactId >
56
+ </dependency >
57
+
58
+ </dependencies >
59
+ </profile >
60
+
61
+ </profiles >
62
+
27
63
<dependencies >
28
64
<dependency >
29
65
<groupId >org.springframework.boot</groupId >
40
76
<artifactId >spring-boot-starter-data-jpa</artifactId >
41
77
</dependency >
42
78
43
- <dependency >
44
- <groupId >com.h2database</groupId >
45
- <artifactId >h2</artifactId >
46
- </dependency >
47
-
48
79
<dependency >
49
80
<groupId >org.projectlombok</groupId >
50
81
<artifactId >lombok</artifactId >
65
96
66
97
</dependencies >
67
98
68
- <profiles >
69
-
70
- <profile >
71
- <id >prod</id >
72
- <dependencies >
73
- <dependency >
74
- <groupId >org.springframework.boot</groupId >
75
- <artifactId >spring-boot-starter-tomcat</artifactId >
76
- <scope >provided</scope >
77
- </dependency >
78
- </dependencies >
79
- </profile >
80
-
81
- </profiles >
82
-
83
99
<build >
84
100
<plugins >
85
101
<plugin >
Original file line number Diff line number Diff line change 1
1
spring.datasource.url = jdbc:postgresql://${RDS_HOSTNAME}:${RDS_PORT}/${RDS_DB_NAME}
2
2
spring.datasource.username = ${RDS_USERNAME}
3
3
spring.datasource.password = ${RDS_PASSWORD}
4
- spring.jpa.hibernate.ddl-auto = update
4
+ spring.datasource.driverClassName = org.postgresql.Driver
5
+ spring.jpa.hibernate.ddl-auto = update
You can’t perform that action at this time.
0 commit comments