Enable site generation for yangtools
[yangtools.git] / yang / yang-model-util / pom.xml
index 9aaca35340e855b9899aa5d4a8fc4998cc81fb3c..4f062a310b6f0bec8f1446c9c452e52d15033b60 100644 (file)
         </plugins>
     </build>
 
+  <!--
+      Maven Site Configuration
+
+      The following configuration is necessary for maven-site-plugin to
+      correctly identify the correct deployment path for OpenDaylight Maven
+      sites.
+  -->
+  <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+  <distributionManagement>
+    <site>
+      <id>opendaylight-site</id>
+      <url>${nexus.site.url}/${project.artifactId}/</url>
+    </site>
+  </distributionManagement>
 </project>