Problem regenerating schema for AAI v14 #aai
I have updated the AAI v14 OXM file with new schema changes, as per https://wiki.onap.org/display/DW/AAI-CCVPN+Schema+Proposal+for+Casablanca+Release.
I have followed the instructions in the tutorial: https://wiki.onap.org/pages/viewpage.action?pageId=10783023
e.g. steps 7 and 20:
Rebuild aai-common first:
$ cd ~/LF/AAI/aai-common
$ mvn clean install
Should result in BUILD SUCCESS
I can find the generated files "aai_swagger_v14.html", "aai_swagger_v14.yaml", which are new and expanded compared to their v13 versions.
However, the "aai_schema_v14.xsd" is not changed at all. There is a placeholder file already committed to src/main/resources/aai_schema directory, with the contents as a copy of the v13 version. It appears this file was simply copied to the target/classes/aai_schema directory, rather than being regenerated from the new v14 OXM file.
Why is the v14 XSD file not automatically regenerated by this mvn command?
What command is required to regenerate the XSD file?
The pom.xml file in aai-core appear to have <execution> tags for <id>autoGenerateYaml</id> and <id>autoGenerateHtml</id>, but nothing for "auto generate XSD". Is this correct or broken?
Customer Experience and Platform Integration R&D Dept
Keong Lim, Huawei Technologies Co. Ltd (keong.lim@...)
Ground Floor, Suite 1, 5 Lakeside Drive, BURWOOD EAST VIC 3151 AUSTRALIA
"If ye love wealth better than liberty, the tranquillity of servitude than the
animating contest of freedom-go from us in peace. We ask not your counsels
or arms. Crouch down and lick the hands which feed you. May your chains sit
lightly upon you, and may posterity forget that ye were our countrymen!"
- Samuel Adams