From: lapentafd Date: Wed, 26 Oct 2022 15:43:00 +0000 (+0100) Subject: Add Maven Build for Code Generation X-Git-Tag: 6.4.0~31 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9d345f3c85b0fc1bdbaf114c45812d5ff84c40be;p=policy%2Fclamp.git Add Maven Build for Code Generation Issue-ID: POLICY-4159 Change-Id: I51b1dd182c878a44e1b3f8c205221ae434459f5a Signed-off-by: lapentafd --- diff --git a/runtime-acm/pom.xml b/runtime-acm/pom.xml index 9a0487544..ea134683f 100644 --- a/runtime-acm/pom.xml +++ b/runtime-acm/pom.xml @@ -53,6 +53,42 @@ + + + io.swagger.codegen.v3 + swagger-codegen-maven-plugin + 3.0.27 + + + code-gen + + generate + + + ${project.basedir}/src/main/resources/openapi/openapi.yaml + org.onap.acm.rest.controller + org.onap.acm.rest.model + org.onap.acm.rest.api + spring + false + false + InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse, + CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse, + ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate, + ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate, + AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions, + InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand, + InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse + + src/gen/java + java11 + true + true + + + + + org.apache.maven.plugins maven-remote-resources-plugin