Enable site generation for yangtools
[yangtools.git] / yang / yang-common / pom.xml
index 19a2656d88d96fbc63b164f220743247b1c30571..e7a65c5d18933092375ab3a6b4cb7e84e7958e68 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>