In the sample here and in cds add sample the srv/pom.xml build task is hardcoded to java.
It would imo be better to simply use cds build --production, as the build itself can determine which plugin to run based on the context.
This hardcoded approach doesn't work with build plugins, for example for the AMS integration. The plugin is automatically pulled for cds build --production but left out when the java build task is explicitly specified.
In the sample here and in
cds add sample
thesrv/pom.xml
build task is hardcoded tojava
.It would imo be better to simply use
cds build --production
, as the build itself can determine which plugin to run based on the context.This hardcoded approach doesn't work with build plugins, for example for the AMS integration. The plugin is automatically pulled for
cds build --production
but left out when thejava
build task is explicitly specified.@mofterdinger @beckermarc