Fixed issues with deployment
[dcaegen2/platform/cli.git] / blueprint-generator / pom.xml
index 6e00c71..e24255b 100644 (file)
@@ -45,7 +45,6 @@
 
        <build>
                <plugins>
-
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                        <target>1.7</target>
                                </configuration>
                                <version>2.0.2</version>
-                       </plugin>
+                       </plugin>             
+        <!-- the following plugins are invoked from oparent, we do not need them -->
+            <plugin>
+                <groupId>org.sonatype.plugins</groupId>
+                <artifactId>nexus-staging-maven-plugin</artifactId>
+                <version>1.6.7</version>
+                <configuration>
+                    <skipNexusStagingDeployMojo>false</skipNexusStagingDeployMojo>
+                    <skip>false</skip>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <!-- This version supports the "deployAtEnd" parameter -->
+                <version>2.8</version>
+                <configuration>
+                     <skip>false</skip>
+                </configuration>
+            </plugin>
                        <plugin>
                                <artifactId>maven-assembly-plugin</artifactId>
                                <version>2.4.1</version>
                </plugins>
        </reporting>
 
+    <distributionManagement>
+        <snapshotRepository>
+            <id>onap-snapshots</id>
+            <url>https://nexus.onap.org/content/repositories/snapshots/</url>
+        </snapshotRepository>
+    </distributionManagement>
+
 
        <dependencies>
                <dependency>
                        <artifactId>jackson-annotations</artifactId>
                        <version>2.9.8</version>
                </dependency>
-
-
-
        </dependencies>
 
 </project>
\ No newline at end of file