File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
gen /
2
2
edmx /
3
- schema.sql
4
- schema-nomocks.sql
3
+ schema-h2.sql
5
4
default-env.json
6
5
openapi.json
7
6
.env
Original file line number Diff line number Diff line change 67
67
</dependencyManagement >
68
68
69
69
<build >
70
+ <pluginManagement >
71
+ <plugins >
72
+ <!-- MAKE CDS PLUGIN RUNNABLE FROM ROOT -->
73
+ <plugin >
74
+ <groupId >com.sap.cds</groupId >
75
+ <artifactId >cds-maven-plugin</artifactId >
76
+ <version >${cds.services.version} </version >
77
+ </plugin >
78
+ </plugins >
79
+ </pluginManagement >
80
+
70
81
<plugins >
71
82
<!-- JAVA VERSION -->
72
83
<plugin >
Original file line number Diff line number Diff line change 179
179
<plugin >
180
180
<groupId >com.sap.cds</groupId >
181
181
<artifactId >cds-maven-plugin</artifactId >
182
- <version >${cds.services.version} </version >
183
182
<executions >
184
183
<execution >
185
184
<id >cds.clean</id >
220
219
<configuration >
221
220
<commands >
222
221
<command >build --for java</command >
223
- <command >deploy --to h2 --with-mocks --dry --out "${project.basedir} /src/main/resources/schema.sql"</command >
224
- <command >deploy --to h2 --dry --out "${project.basedir} /src/main/resources/schema-nomocks.sql"</command >
222
+ <command >deploy --to h2 --with-mocks --dry --out "${project.basedir} /src/main/resources/schema-h2.sql"</command >
225
223
<command >compile srv/cat-service.cds -2 openapi --openapi:url /api/browse >
226
224
"${project.basedir} /src/main/resources/swagger/openapi.json"</command >
227
225
</commands >
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ management:
44
44
---
45
45
spring :
46
46
config.activate.on-profile : cloud
47
- sql.init.schema-locations : " classpath:schema-nomocks.sql"
48
47
cds :
49
48
sql.hana.search :
50
49
fuzzy : true
128
127
---
129
128
spring :
130
129
config.activate.on-profile : default
130
+ sql.init.platform : h2
131
131
cds :
132
132
data-source :
133
133
auto-config.enabled : false
You can’t perform that action at this time.
0 commit comments