From 72d882f65031518e9d1b1a6d6e53c7d42ab8495f Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 30 Jun 2021 19:46:09 +0100 Subject: Restore swagger generation in CLAMP THis patch restores the Swagger generation in CLAMP. It changes the target directory for the swagger generation to be the target directory rather than storing the generated Swagger files in the source repository. The reason for this is that it avolds the swagger.json, the swagger.html, and the swagger.pdf files being generated each time a build is done and being checked in multiple times. The swagger files will be produced as an artifact from the build in a later review when all the swagger documentation for CLAMP is consolidated. Issue-ID: POLICY-3209 Change-Id: I6ccb446d01509232bbd4230b76bd7950858e1437 Signed-off-by: liamfallon --- runtime/pom.xml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'runtime/pom.xml') diff --git a/runtime/pom.xml b/runtime/pom.xml index 0e458eabb..6efdec744 100644 --- a/runtime/pom.xml +++ b/runtime/pom.xml @@ -20,9 +20,8 @@ ============LICENSE_END============================================ =================================================================== --> - + 4.0.0 @@ -94,7 +93,7 @@ true true false - + ui-react ui-react-lib https://nexus3.onap.org/repository/npm.snapshot/ @@ -435,6 +434,13 @@ docker-java test + + + io.swagger + swagger-models + ${version.swagger} + test + @@ -573,7 +579,7 @@ - + - + org.codehaus.groovy.maven gmaven-plugin @@ -998,8 +1003,7 @@ post-integration-test - + ${project.build.directory}/coverage-reports *.exec -- cgit 1.2.3-korg