From 54acabe218acc31128b92e4e854d19675f0ae1bd Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 30 Sep 2015 18:20:11 -0400 Subject: [PATCH] Enable site generation for yangtools See: https://nexus.opendaylight.org/content/sites/site/org.opendaylight.releng.builder/master/maven-site.html Change-Id: I280ca59132c90326f43615f9eb5d5ea601a423ae Signed-off-by: Thanh Ha --- benchmarks/pom.xml | 16 +++++++ common/artifacts/pom.xml | 16 +++++++ common/checkstyle-logging/pom.xml | 16 +++++++ common/concepts/pom.xml | 16 +++++++ common/features/pom.xml | 16 +++++++ common/mockito-configuration/pom.xml | 16 +++++++ common/object-cache-api/pom.xml | 16 +++++++ common/object-cache-guava/pom.xml | 16 +++++++ common/object-cache-noop/pom.xml | 16 +++++++ common/parent/pom.xml | 16 +++++++ common/pom.xml | 16 +++++++ common/util/pom.xml | 16 +++++++ deploy-site.xml | 50 +++++++++++++++++++++ pom.xml | 67 +++++++++++++++++++++++++++- src/site/site.xml | 9 ++++ websocket/pom.xml | 16 +++++++ yang-validation-tool/pom.xml | 16 +++++++ yang/pom.xml | 16 +++++++ yang/src/site/site.xml | 25 ----------- yang/yang-common/pom.xml | 16 +++++++ yang/yang-data-api/pom.xml | 16 +++++++ yang/yang-data-codec-gson/pom.xml | 16 +++++++ yang/yang-data-impl/pom.xml | 16 +++++++ yang/yang-data-jaxen/pom.xml | 16 +++++++ yang/yang-data-transform/pom.xml | 16 +++++++ yang/yang-data-util/pom.xml | 16 +++++++ yang/yang-maven-plugin-it/pom.xml | 15 +++++++ yang/yang-maven-plugin-spi/pom.xml | 16 +++++++ yang/yang-maven-plugin/pom.xml | 15 +++++++ yang/yang-model-api/pom.xml | 16 +++++++ yang/yang-model-export/pom.xml | 15 +++++++ yang/yang-model-util/pom.xml | 15 +++++++ yang/yang-parser-api/pom.xml | 16 +++++++ yang/yang-parser-impl/pom.xml | 16 +++++++ 34 files changed, 600 insertions(+), 27 deletions(-) create mode 100644 deploy-site.xml create mode 100644 src/site/site.xml delete mode 100644 yang/src/site/site.xml diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml index b4b3cbf97d..1ba80dbc4a 100644 --- a/benchmarks/pom.xml +++ b/benchmarks/pom.xml @@ -86,4 +86,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/artifacts/pom.xml b/common/artifacts/pom.xml index fd4eb72047..c4e1addb66 100644 --- a/common/artifacts/pom.xml +++ b/common/artifacts/pom.xml @@ -165,4 +165,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/checkstyle-logging/pom.xml b/common/checkstyle-logging/pom.xml index 7dee7a904a..8e85a61947 100644 --- a/common/checkstyle-logging/pom.xml +++ b/common/checkstyle-logging/pom.xml @@ -34,4 +34,20 @@ test + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/concepts/pom.xml b/common/concepts/pom.xml index b559673bec..457f8c9493 100644 --- a/common/concepts/pom.xml +++ b/common/concepts/pom.xml @@ -42,4 +42,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/features/pom.xml b/common/features/pom.xml index 443a58ce4f..cbc6b24323 100644 --- a/common/features/pom.xml +++ b/common/features/pom.xml @@ -99,4 +99,20 @@ guava + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/mockito-configuration/pom.xml b/common/mockito-configuration/pom.xml index 229b2e5864..c6d563fbf7 100644 --- a/common/mockito-configuration/pom.xml +++ b/common/mockito-configuration/pom.xml @@ -34,4 +34,20 @@ junit + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/object-cache-api/pom.xml b/common/object-cache-api/pom.xml index d8b4defd5d..4404ccdf00 100644 --- a/common/object-cache-api/pom.xml +++ b/common/object-cache-api/pom.xml @@ -82,4 +82,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/object-cache-guava/pom.xml b/common/object-cache-guava/pom.xml index 8a7819ad03..daff25ed41 100644 --- a/common/object-cache-guava/pom.xml +++ b/common/object-cache-guava/pom.xml @@ -55,4 +55,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/object-cache-noop/pom.xml b/common/object-cache-noop/pom.xml index abd544d962..f60d76ca6e 100644 --- a/common/object-cache-noop/pom.xml +++ b/common/object-cache-noop/pom.xml @@ -44,4 +44,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/parent/pom.xml b/common/parent/pom.xml index 3db2b44d1e..c5188de43a 100644 --- a/common/parent/pom.xml +++ b/common/parent/pom.xml @@ -477,4 +477,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/pom.xml b/common/pom.xml index 9fb6d93e3e..d6230521f6 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -32,4 +32,20 @@ parent util + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/common/util/pom.xml b/common/util/pom.xml index 133a87ba1b..967f61baa6 100644 --- a/common/util/pom.xml +++ b/common/util/pom.xml @@ -61,4 +61,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/deploy-site.xml b/deploy-site.xml new file mode 100644 index 0000000000..61d57f1dac --- /dev/null +++ b/deploy-site.xml @@ -0,0 +1,50 @@ + + + + + 4.0.0 + + org.opendaylight.yangtools + deploy-site + 1.0.0-SNAPSHOT + pom + + + latest + dav:https://nexus.opendaylight.org/content/sites/site/${project.groupId}/${stream}/ + + + + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.9 + + + + + + org.apache.maven.plugins + maven-site-plugin + 3.4 + + ${project.build.directory}/staged-site + + + + + + + + opendaylight-site + ${nexus.site.url} + + + diff --git a/pom.xml b/pom.xml index 15ed64a9a8..572b21b288 100644 --- a/pom.xml +++ b/pom.xml @@ -46,10 +46,57 @@ benchmarks + + + + jdk8 + + [1.8,) + + + -Xdoclint:none + + + + + + maven-site + + + ${user.dir}/deploy-site.xml + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + false + + + aggregate + + aggregate + + package + + + ${javadoc.args} + + + + + + + - + org.apache.maven.plugins @@ -78,7 +125,23 @@ - + + + + ${odl.site.url}/${project.groupId}/${stream}/ + + + + opendaylight-site + ${nexus.site.url}/ + + diff --git a/src/site/site.xml b/src/site/site.xml new file mode 100644 index 0000000000..f4b0f2d5d3 --- /dev/null +++ b/src/site/site.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/websocket/pom.xml b/websocket/pom.xml index 04aa25d4d9..0b2821ef2a 100644 --- a/websocket/pom.xml +++ b/websocket/pom.xml @@ -32,4 +32,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang-validation-tool/pom.xml b/yang-validation-tool/pom.xml index d70e78327a..6c441f7ba6 100644 --- a/yang-validation-tool/pom.xml +++ b/yang-validation-tool/pom.xml @@ -80,4 +80,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/pom.xml b/yang/pom.xml index d6965f96fb..335af8721a 100644 --- a/yang/pom.xml +++ b/yang/pom.xml @@ -45,4 +45,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/src/site/site.xml b/yang/src/site/site.xml deleted file mode 100644 index d219e60f87..0000000000 --- a/yang/src/site/site.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - org.apache.maven.skins - maven-fluido-skin - 1.3.0 - - - - - - - - - - diff --git a/yang/yang-common/pom.xml b/yang/yang-common/pom.xml index 86f4d5c401..a1f3e3675c 100644 --- a/yang/yang-common/pom.xml +++ b/yang/yang-common/pom.xml @@ -50,4 +50,20 @@ test + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-data-api/pom.xml b/yang/yang-data-api/pom.xml index 0921704b97..48d51d34b0 100644 --- a/yang/yang-data-api/pom.xml +++ b/yang/yang-data-api/pom.xml @@ -52,4 +52,20 @@ mockito-core + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-data-codec-gson/pom.xml b/yang/yang-data-codec-gson/pom.xml index 9c895242ed..6a74e61fe8 100644 --- a/yang/yang-data-codec-gson/pom.xml +++ b/yang/yang-data-codec-gson/pom.xml @@ -48,4 +48,20 @@ test + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-data-impl/pom.xml b/yang/yang-data-impl/pom.xml index f7f017f291..426a6d756c 100644 --- a/yang/yang-data-impl/pom.xml +++ b/yang/yang-data-impl/pom.xml @@ -123,4 +123,20 @@ antlr4-runtime + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-data-jaxen/pom.xml b/yang/yang-data-jaxen/pom.xml index 6982a9c3ae..a3b384c9fa 100644 --- a/yang/yang-data-jaxen/pom.xml +++ b/yang/yang-data-jaxen/pom.xml @@ -65,4 +65,20 @@ test + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-data-transform/pom.xml b/yang/yang-data-transform/pom.xml index 34194bd1ff..e5ca6f77e5 100644 --- a/yang/yang-data-transform/pom.xml +++ b/yang/yang-data-transform/pom.xml @@ -31,4 +31,20 @@ yang-data-impl + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-data-util/pom.xml b/yang/yang-data-util/pom.xml index b7cca6f3c9..9857815097 100644 --- a/yang/yang-data-util/pom.xml +++ b/yang/yang-data-util/pom.xml @@ -35,4 +35,20 @@ yang-model-util + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-maven-plugin-it/pom.xml b/yang/yang-maven-plugin-it/pom.xml index 62c9dd1261..53b6e5afb6 100644 --- a/yang/yang-maven-plugin-it/pom.xml +++ b/yang/yang-maven-plugin-it/pom.xml @@ -91,4 +91,19 @@ + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-maven-plugin-spi/pom.xml b/yang/yang-maven-plugin-spi/pom.xml index 2ff20c1bfe..b877eeb223 100644 --- a/yang/yang-maven-plugin-spi/pom.xml +++ b/yang/yang-maven-plugin-spi/pom.xml @@ -60,4 +60,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-maven-plugin/pom.xml b/yang/yang-maven-plugin/pom.xml index 706a45d7e6..43da50240d 100644 --- a/yang/yang-maven-plugin/pom.xml +++ b/yang/yang-maven-plugin/pom.xml @@ -122,4 +122,19 @@ + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-model-api/pom.xml b/yang/yang-model-api/pom.xml index 17e843e26f..96097976a0 100644 --- a/yang/yang-model-api/pom.xml +++ b/yang/yang-model-api/pom.xml @@ -43,4 +43,20 @@ jsr305 + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-model-export/pom.xml b/yang/yang-model-export/pom.xml index 5a6c950acf..1433c148c7 100644 --- a/yang/yang-model-export/pom.xml +++ b/yang/yang-model-export/pom.xml @@ -70,4 +70,19 @@ + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-model-util/pom.xml b/yang/yang-model-util/pom.xml index 9aaca35340..4f062a310b 100644 --- a/yang/yang-model-util/pom.xml +++ b/yang/yang-model-util/pom.xml @@ -56,4 +56,19 @@ + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-parser-api/pom.xml b/yang/yang-parser-api/pom.xml index f888d4cc04..689c13dd3d 100644 --- a/yang/yang-parser-api/pom.xml +++ b/yang/yang-parser-api/pom.xml @@ -27,4 +27,20 @@ yang-model-api + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + diff --git a/yang/yang-parser-impl/pom.xml b/yang/yang-parser-impl/pom.xml index 30939db7fb..a533781c94 100644 --- a/yang/yang-parser-impl/pom.xml +++ b/yang/yang-parser-impl/pom.xml @@ -140,4 +140,20 @@ + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + -- 2.36.6