Enable site generation for yangtools
[yangtools.git] / yang / yang-maven-plugin / pom.xml
index 706a45d7e666554f680ef8d566d02feb1ba1ca8c..43da50240df6c629bff559bb10410e25e298a3c3 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>