Enable site generation for yangtools
[yangtools.git] / common / parent / pom.xml
index 3db2b44d1ef955a8566721178c4ea21ff44f6afe..c5188de43a4c1ba17ebe24bdf420d174dea745e8 100644 (file)
             </plugin>
         </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>