Skip to content

Commit 6566687

Browse files
authored
Export data and texts (#27)
@sap/cds-dk 9.7 disabled export of data and texts by default.
1 parent 3e4741b commit 6566687

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

apis/data-service/pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@
3838
<flattenMode>oss</flattenMode>
3939
</configuration>
4040
</plugin>
41+
<plugin>
42+
<artifactId>maven-clean-plugin</artifactId>
43+
<version>3.5.0</version>
44+
<configuration>
45+
<filesets>
46+
<fileset>
47+
<directory>src/main/resources/cds/capire/xflights-data</directory>
48+
<excludes>
49+
<exclude>index.cds</exclude>
50+
</excludes>
51+
</fileset>
52+
</filesets>
53+
</configuration>
54+
</plugin>
4155
<plugin>
4256
<groupId>com.sap.cds</groupId>
4357
<artifactId>cds-maven-plugin</artifactId>
@@ -66,7 +80,7 @@
6680
</goals>
6781
<configuration>
6882
<commands>
69-
<command>export srv/data-service.cds -4 mvn -a cdl -2 ./apis/data-service/src/main/resources/cds/capire/xflights-data</command>
83+
<command>export srv/data-service.cds --data --texts --as cdl -4 mvn -2 ./apis/data-service/src/main/resources/cds/capire/xflights-data</command>
7084
</commands>
7185
</configuration>
7286
</execution>

0 commit comments

Comments
 (0)