Fix distribution issues with POM file
[demo.git] / vnfs / vLBMS / apis / vlb-vnf-onap-distribution / pom.xml
index b70c259..8f5d1b8 100644 (file)
           <skip>true</skip>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.sonatype.plugins</groupId>
+        <artifactId>nexus-staging-maven-plugin</artifactId>
+        <version>1.6.7</version>
+        <extensions>true</extensions>
+        <configuration>
+          <nexusUrl>https://nexus.onap.org/</nexusUrl>
+          <stagingProfileId>176c31dfe190a</stagingProfileId>
+          <serverId>ecomp-staging</serverId>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
+  <distributionManagement>
+    <repository>
+      <id>ecomp-releases</id>
+      <name>Demo Release Repository</name>
+      <url>https://nexus.onap.org/content/repositories/releases/</url>
+    </repository>
+    <snapshotRepository>
+      <id>ecomp-snapshots</id>
+      <name>Demo Snapshot Repository</name>
+      <url>https://nexus.onap.org/content/repositories/snapshots/</url>
+    </snapshotRepository>
+  </distributionManagement>
+
   <dependencies>
     <!-- Dependency on sample plugin -->
     <dependency>