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 11gen /
22edmx /
3- schema.sql
4- schema-nomocks.sql
3+ schema-h2.sql
54default-env.json
65openapi.json
76.env
Original file line number Diff line number Diff line change 6767 </dependencyManagement >
6868
6969 <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+
7081 <plugins >
7182 <!-- JAVA VERSION -->
7283 <plugin >
Original file line number Diff line number Diff line change 179179 <plugin >
180180 <groupId >com.sap.cds</groupId >
181181 <artifactId >cds-maven-plugin</artifactId >
182- <version >${cds.services.version} </version >
183182 <executions >
184183 <execution >
185184 <id >cds.clean</id >
220219 <configuration >
221220 <commands >
222221 <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 >
225223 <command >compile srv/cat-service.cds -2 openapi --openapi:url /api/browse >
226224 "${project.basedir} /src/main/resources/swagger/openapi.json"</command >
227225 </commands >
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ management:
4444---
4545spring :
4646 config.activate.on-profile : cloud
47- sql.init.schema-locations : " classpath:schema-nomocks.sql"
4847cds :
4948 sql.hana.search :
5049 fuzzy : true
128127---
129128spring :
130129 config.activate.on-profile : default
130+ sql.init.platform : h2
131131cds :
132132 data-source :
133133 auto-config.enabled : false
You can’t perform that action at this time.
0 commit comments