From 9d345f3c85b0fc1bdbaf114c45812d5ff84c40be Mon Sep 17 00:00:00 2001 From: lapentafd Date: Wed, 26 Oct 2022 16:43:00 +0100 Subject: Add Maven Build for Code Generation Issue-ID: POLICY-4159 Change-Id: I51b1dd182c878a44e1b3f8c205221ae434459f5a Signed-off-by: lapentafd --- runtime-acm/pom.xml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'runtime-acm/pom.xml') 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 -- cgit 1.2.3-korg