npm ci && \
echo '{ "name": "", "version": "", "description": "", "copyright": "", "licenses": "", "licenseFile": "none", "licenseModified": "no", "licenseText": "none"  }' > format.json \
&& npx -p license-checker -p csvtojson -p fmtconv -c \
'license-checker --relativeLicensePath --production --csv --customPath ./format.json | csvtojson > license-summary.json && fmtconv -o license-summary.yml license-summary.json' \
&& rm license-summary.json \
&& rm format.json \
&& mkdir -p src/main/resources/META-INF/ \
&& mv license-summary.yml src/main/resources/META-INF/ADDITIONAL-LICENSES.yml
