From: Thanh Ha Date: Wed, 30 Sep 2015 22:20:11 +0000 (-0400) Subject: Enable site generation for yangtools X-Git-Tag: release/beryllium~1 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=yangtools.git;a=commitdiff_plain;h=05409af9a3783bb3ec28bd06ab6c34fb36023699 Enable site generation for yangtools See: https://nexus.opendaylight.org/content/sites/site/org.opendaylight.releng.builder/master/maven-site.html Change-Id: Id48968286fdbfb1e5f17331a9dced3a92d8af078 Signed-off-by: Thanh Ha --- diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml index 242a71d2fc..2b980d672b 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 c1db35b0d9..cb831003d8 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 7ddcee038b..d4ba47f4c1 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 c702ae1e51..88b14bb51b 100644 --- a/common/concepts/pom.xml +++ b/common/concepts/pom.xml @@ -38,4 +38,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 54f480034d..fcf3824b7e 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 7788fe49f1..b25939b6af 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 0fc11fc558..654458aa28 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 e198df3ecf..7d775d3a33 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 7e4268c37b..8e2c17d1cd 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 57770dc04d..c3f62586df 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 3fa5674f24..3c4b6248bf 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 c32b829dce..4cb4b5b1bf 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 4082b410ca..38de49e42c 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 ab7fdff9d4..05ed64459a 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 7313f0c4d0..ea12f3432c 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 0e3f9e9e25..296b23a0a5 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 19a2656d88..e7a65c5d18 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 a5749544ea..6184d1aa10 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 f366cc1ebf..64c8ed2166 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 77d7155e37..af05f6e4b6 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 9cc89468d2..32f6742a23 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 fe6247646e..7b3db5c782 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 fc0d94592c..8fd13f9d54 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 782ad236ee..e0ab158800 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 6cbbd6051b..1b41cc0d92 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 a470bbd6c6..eae29e913e 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 ca4d5540dd..8e5eb4c824 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 2d1b405438..52281dd3c5 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 06c1b73089..290ec2afd5 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 448ef2f664..21ac8ae869 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 3f839a320c..0e46ad375d 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}/ + +