Activate Maven Sites
[lispflowmapping.git] / commons / parent / pom.xml
index 6b40c898a925023f203fb52edcdd0886c764921d..3a9169bb39089d03f748c1105ac6bd273c51c9c6 100644 (file)
     </plugins>
   </reporting>
 
+  <!--
+      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>
     <!-- Note: We want the nexus proxy property here because want to enable
          devs to upload this artifact using mvn deploy to other maven repositories. -->
       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
     </snapshotRepository>
     <!-- Site deployment -->
+    <site>
+      <id>opendaylight-site</id>
+      <url>${nexus.site.url}/${project.artifactId}/</url>
+    </site>
   </distributionManagement>
 
 </project>