From 849ca9b796097c9cd1a45621e314bb4e68136088 Mon Sep 17 00:00:00 2001 From: DR695H Date: Tue, 10 Jul 2018 18:04:11 -0400 Subject: [PATCH] adding in a client parent pom this will be used by people to generate clients for yang based controllers Change-Id: I08ac6c913affbf0a1049f334a63715edd90cc3e2 Issue-ID: CCSDK-355 Signed-off-by: DR695H --- odlparent/client-parent/pom.xml | 501 ++++++++++++++++++++++++++++++++++++++++ odlparent/pom.xml | 1 + 2 files changed, 502 insertions(+) create mode 100644 odlparent/client-parent/pom.xml diff --git a/odlparent/client-parent/pom.xml b/odlparent/client-parent/pom.xml new file mode 100644 index 00000000..87b23880 --- /dev/null +++ b/odlparent/client-parent/pom.xml @@ -0,0 +1,501 @@ + + + + + 4.0.0 + pom + org.onap.ccsdk.parent + client-parent + 1.1.0-SNAPSHOT + + ONAP :: ${project.groupId} :: ${project.artifactId} + http://wiki.onap.org + Root POM to be used for yang2swagger generation in CCSDK based projects + + + + JIRA + https://jira.onap.org/ + + + + + + 1.8 + 1.8 + UTF-8 + UTF-8 + https://nexus.onap.org + + /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} + + + nexus.onap.org + 443 + https + https://nexus.onap.org/content/groups/public + https://nexus.onap.org/content/groups/staging + https://nexus.onap.org/content/repositories/releases + https://nexus.onap.org/content/repositories/snapshots + ecomp-staging + 176c31dfe190a + + + + https://nexus.opendaylight.org/content/repositories/public/ + https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ + + + 1.8 + 1.8 + 3.6.1 + + true + + 20170516 + 2.8.5 + + + 4.11 + 2.8.9 + 1.18.0 + 0.8.10 + 4.3.7.RELEASE + 2.0.0.Final + 1.5.16 + + + + + + org.mockito + mockito-core + ${mockito.version} + test + + + org.projectlombok + lombok + ${lombok.version} + provided + + + com.openpojo + openpojo + ${openpojo.version} + test + + + junit + junit + ${junit.version} + test + + + org.json + json + ${org.json.version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-base + ${jackson.version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-json-provider + ${jackson.version} + + + com.fasterxml.jackson.datatype + jackson-datatype-jsr310 + ${jackson.version} + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + ${jackson.version} + + + 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} + + + org.springframework + spring-web + ${spring.version} + + + io.swagger + swagger-annotations + ${swagger.version} + + + javax.validation + validation-api + ${javax.validation.version} + + + io.swagger + swagger-jaxrs + ${swagger.version} + + + io.swagger + swagger-models + ${swagger.version} + + + + + + onap-public + ${onap.nexus.public-url} + + true + + + true + + + + onap-staging + ${onap.nexus.staging-url} + + true + + + true + + + + onap-snapshot + ${onap.nexus.snapshot-url} + + false + + + true + + + + opendaylight-mirror + opendaylight-mirror + ${opendaylight.nexus.public-url} + + true + never + + + false + + + + opendaylight-snapshot + opendaylight-snapshot + ${opendaylight.nexus.snapshot-url} + + false + + + true + + + + + JCenter + JCenter Repository + http://jcenter.bintray.com + + + + Restlet + Restlet Repository + http://maven.restlet.com + + + + + + + onap-public + https://nexus.onap.org/content/groups/public + + true + never + + + true + always + + + + onap-staging + https://nexus.onap.org/content/groups/staging + + true + never + + + true + always + + + + ecomp-release + onap-repository-releases + https://nexus.onap.org/content/repositories/releases + + true + never + + + false + + + + ecomp-snapshot + onap-repository-snapshots + https://nexus.onap.org/content/repositories/snapshots + + false + + + true + + + + opendaylight-mirror + opendaylight-mirror + https://nexus.opendaylight.org/content/repositories/public/ + + true + never + + + false + + + + opendaylight-snapshot + opendaylight-snapshot + https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ + + false + + + true + + + + + + + + ecomp-releases + http://nexus.onap.org/content/repositories/releases + + + ecomp-snapshots + http://nexus.onap.org/content/repositories/snapshots + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven.compiler.version} + + ${java.version.source} + ${java.version.target} + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + install-sources + + jar + + + + deploy-sources + deploy + + jar + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + ${project.build.directory}/dependency + **\/*.yang + + + + unpack-shared-resources + + unpack-dependencies + + initialize + + + + + maven-antrun-plugin + 1.8 + + + initialize + + run + + + + + + + + + + + + + + + + + + + + + + + + + org.opendaylight.yangtools + yang-maven-plugin + 1.0.3-Boron-SR3 + + + com.mrv.yangtools + swagger-maven-plugin + 1.1.9 + + + com.github.romix + java-concurrent-hash-trie-map + 0.2.23 + + + + + + generate-sources + + + + + com.mrv.yangtools.maven.gen.swagger.MavenSwaggerGenerator + ${project.build.directory}/generated-sources/swagger-maven-api-gen + ${project.build.directory}/yang + + ${project.version} + client + yaml + + + + false + ${project.build.directory}/yang + + + + + + io.swagger + swagger-codegen-maven-plugin + 2.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} + + + + + + generate + + + ${project.build.directory}/generated-sources/swagger-maven-api-gen/client.yaml + spring + + + + + + + + + + + + ONAP + + diff --git a/odlparent/pom.xml b/odlparent/pom.xml index b4c08917..da1f38fe 100755 --- a/odlparent/pom.xml +++ b/odlparent/pom.xml @@ -39,6 +39,7 @@ odlparent odlparent-lite single-feature-parent + client-parent -- 2.16.6