4.0.0 org.onap.ccsdk.parent oparent 2.8.0 org.onap.sdnc.northbound generic-resource-api-model-swagger 2.8.0 jar sdnc-northbound :: generic-resource-api:: ${project.artifactId} Generates swagger model from yang model http://wiki.onap.org generic-resource 2.9.5 ${project.groupId} generic-resource-api-model-yang ${project.version} >bintray-yang2swagger-yang2swagge bintray https://dl.bintray.com/yang2swagger/yang2swagger false org.apache.maven.plugins maven-dependency-plugin 2.10 ${project.build.directory}/dependency **\/*.yang org.opendaylight.mdsal.model,org.opendaylight.mdsal.binding.model.ietf,org.onap.sdnc.northbound unpack-shared-resources unpack-dependencies initialize maven-antrun-plugin 1.8 initialize run org.opendaylight.yangtools yang-maven-plugin 1.2.3 com.fasterxml.jackson.core jackson-core ${jackson.version} com.fasterxml.jackson.core jackson-databind ${jackson.version} com.fasterxml.jackson.core jackson-annotations ${jackson.version} com.fasterxml.jackson.module jackson-module-jaxb-annotations ${jackson.version} com.fasterxml.jackson.jaxrs jackson-jaxrs-base ${jackson.version} com.fasterxml.jackson.jaxrs jackson-jaxrs-json-provider ${jackson.version} com.mrv.yangtools swagger-maven-plugin 1.1.12 com.github.romix java-concurrent-hash-trie-map 0.2.23 yang2swagger-json generate-sources com.mrv.yangtools.maven.gen.swagger.MavenSwaggerGenerator ${project.basedir}/src/main/json ${project.build.directory}/yang ${project.version} ${api.name} json rfc8040 true false ${project.build.directory}/yang yang2swagger-yaml generate-sources com.mrv.yangtools.maven.gen.swagger.MavenSwaggerGenerator ${project.basedir}/src/main/yaml ${project.build.directory}/yang ${project.version} ${api.name} yaml rfc8040 true false ${project.build.directory}/yang org.codehaus.mojo exec-maven-plugin 1.2.1 sh ${basedir}/fixModuleUri.sh GENERIC-RESOURCE-API src/main/yaml/generic-resource.yaml fix-swagger-yaml generate-resources exec org.apache.maven.plugins maven-source-plugin org.codehaus.mojo build-helper-maven-plugin 1.10 attach-artifacts package attach-artifact src/main/json/${api.name}.json json src/main/yaml/${api.name}.yaml yaml