Skip to content

Commit 4d570bb

Browse files
authored
Demonstrate --out parameter of cds deploy (#405)
1 parent 3f97ef2 commit 4d570bb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

srv/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,8 @@
213213
<configuration>
214214
<commands>
215215
<command>build --for java</command>
216-
<command>deploy --to h2 --with-mocks --dry &gt;
217-
"${project.basedir}/src/main/resources/schema.sql"</command>
218-
<command>deploy --to h2 --dry &gt;
219-
"${project.basedir}/src/main/resources/schema-nomocks.sql"</command>
216+
<command>deploy --to h2 --with-mocks --dry --out "${project.basedir}/src/main/resources/schema.sql"</command>
217+
<command>deploy --to h2 --dry --out "${project.basedir}/src/main/resources/schema-nomocks.sql"</command>
220218
<command>compile srv/cat-service.cds -2 openapi --openapi:url /api/browse &gt;
221219
"${project.basedir}/src/main/resources/swagger/openapi.json"</command>
222220
</commands>

0 commit comments

Comments
 (0)