Enable site generation for yangtools
[yangtools.git] / yang / yang-common / pom.xml
index 86f4d5c4018185ced6a35a09c84a2cc47c06a800..a1f3e3675c93d72b687b2066cc51c846427cf939 100644 (file)
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+  <!--
+      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>