From cfec8b07b55ad14887c5d5e0e9658290f5eaeccc Mon Sep 17 00:00:00 2001 From: Prasanth Pallamreddy Date: Tue, 5 Nov 2013 20:06:27 -0800 Subject: [PATCH] Add java-client pom project for merged java clients and docs - build merged java & java-json clients when docs profile selected - generates merged enunciate docs Change-Id: Ie1ce3bc86cbedff62f33af2ce50484789b7be9af Signed-off-by: Prasanth Pallamreddy --- .../northbound/java-client/enunciate.xml | 32 ++ opendaylight/northbound/java-client/pom.xml | 301 ++++++++++++++++++ pom.xml | 9 + 3 files changed, 342 insertions(+) create mode 100644 opendaylight/northbound/java-client/enunciate.xml create mode 100644 opendaylight/northbound/java-client/pom.xml diff --git a/opendaylight/northbound/java-client/enunciate.xml b/opendaylight/northbound/java-client/enunciate.xml new file mode 100644 index 0000000000..ce9186eb33 --- /dev/null +++ b/opendaylight/northbound/java-client/enunciate.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/opendaylight/northbound/java-client/pom.xml b/opendaylight/northbound/java-client/pom.xml new file mode 100644 index 0000000000..b6fd29696f --- /dev/null +++ b/opendaylight/northbound/java-client/pom.xml @@ -0,0 +1,301 @@ + + + 4.0.0 + + org.opendaylight.controller + commons.opendaylight + 1.4.1-SNAPSHOT + ../../commons/opendaylight + + + scm:git:ssh://git.opendaylight.org:29418/controller.git + scm:git:ssh://git.opendaylight.org:29418/controller.git + https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main + HEAD + + + northbound.client + 0.0.1-SNAPSHOT + pom + + + ${project.build.directory}/rest-api-docs + ${project.build.directory}/enunciate/build/java-client/full-client.jar + ${project.build.directory}/enunciate/build/java-client/full-client-sources.jar + ${project.build.directory}/enunciate/build/java-client/full-json-client.jar + ${project.build.directory}/enunciate/build/java-client/full-json-client-sources.jar + + + + + + org.codehaus.enunciate + maven-enunciate-plugin + ${enunciate.version} + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.5 + + + install + + run + + + + + + + + + + + + + + + + + + + + + + + + + + +<![CDATA[ +<html> + <head> + <title> OpenDaylight REST API Documentation </title> + </head> + <body> + <h2>OpenDaylight REST API Documentation</h2> + <p> OpenDaylight supports the following <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer">Representational State Transfer (REST)</a> APIs: </p> + <h4> +]]> + + + + + + + + + + +<![CDATA[ + </h4> + <i>---</i> + </body> +</html> +]]> + + + + + + + + + + + + + + ant-contrib + ant-contrib + 20020829 + + + + + + org.apache.maven.plugins + maven-install-plugin + 2.5 + + jar + ${project.groupId} + ${project.version} + + + + + default-install + install + + install + + + true + + + + + install-full-client + install + + install-file + + + ${project.artifactId}.full-client + ${java-client} + ${java-client-sources} + + + + + install-full-json-client + install + + install-file + + + ${project.artifactId}.full-json-client + ${json-client} + ${json-client-sources} + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.5 + + jar + true + ${project.groupId} + ${project.version} + ${project.distributionManagement.repository.url} + + + + + default-deploy + deploy + + deploy + + + true + + + + + deploy-full-client + deploy + + deploy-file + + + ${project.artifactId}.full-client + ${java-client} + ${java-client-sources} + + + + + deploy-full-json-client + deploy + + deploy-file + + + ${project.artifactId}.full-json-client + ${json-client} + ${json-client-sources} + + + + + + + + + + org.codehaus.enunciate + enunciate-core-annotations + ${enunciate.version} + + + + + org.opendaylight.controller + connectionmanager.northbound + 0.1.1-SNAPSHOT + + + org.opendaylight.controller + controllermanager.northbound + 0.0.1-SNAPSHOT + + + org.opendaylight.controller + flowprogrammer.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + hosttracker.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + networkconfig.bridgedomain.northbound + 0.0.2-SNAPSHOT + + + org.opendaylight.controller + networkconfig.neutron.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + forwarding.staticrouting.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + statistics.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + subnets.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + switchmanager.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + topology.northbound + 0.4.1-SNAPSHOT + + + org.opendaylight.controller + usermanager.northbound + 0.0.1-SNAPSHOT + + + diff --git a/pom.xml b/pom.xml index c603a9446e..f7f9bc2256 100644 --- a/pom.xml +++ b/pom.xml @@ -152,5 +152,14 @@ opendaylight/distribution/sanitytest/ + + docs + + false + + + opendaylight/northbound/java-client + + -- 2.36.6