Add site definition in distributionManagement
authorTimoney, Dan (dt5972) <dt5972@att.com>
Mon, 13 Aug 2018 18:55:59 +0000 (14:55 -0400)
committerTimoney, Dan (dt5972) <dt5972@att.com>
Mon, 13 Aug 2018 18:55:59 +0000 (14:55 -0400)
Define site in distributionManagement to allow javadoc to be published
to ONAP nexus site.

Change-Id: I3f0ed9df6016cd8e9c3486fa92dea9132da7d63d
Issue-ID: CCSDK-455
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index d2f9d39..3e2319b 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
        <organization>
                <name>ONAP</name>
        </organization>
+       
+       <properties>
+               <sitePath>content/sites/site/org/onap/ccsdk/sli/core/${project.version}/</sitePath>
+       </properties>
 
        <modules>
         <module>utils</module>
                </profile>
 
        </profiles>
+       <distributionManagement>
+               <site>
+                       <id>ecomp-site</id>
+                       <url>dav:${onap.nexus.url}/${sitePath}</url>
+               </site>
+       </distributionManagement>
 </project>