remove default-deploy phase from build lifecycle 33/63133/1
authorsunil unnava <su622b@att.com>
Mon, 27 Aug 2018 20:04:18 +0000 (16:04 -0400)
committersunil unnava <su622b@att.com>
Mon, 27 Aug 2018 20:05:38 +0000 (16:05 -0400)
Issue-ID: DMAAP-628
Change-Id: I1298f8a2314f0365f786371fb44b2bf4bf55d810
Signed-off-by: sunil unnava <su622b@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 989043e..c402ca2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                </dependencies>
                        </plugin>
 
-                       <!-- <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                               <version>3.0.2</version>
-                       </plugin> -->
+                       <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> 
+                               <version>3.0.2</version> </plugin> -->
 
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                </dependencies>
                        </plugin>
 
-       <plugin>
-               <!-- Disable Sonatype Nexus Extensions for Wren Security's Repo -->
-               <groupId>org.sonatype.plugins</groupId>
-               <artifactId>nexus-staging-maven-plugin</artifactId>
-               <extensions>false</extensions>
-               <executions>
-                       <execution>
-                               <id>injected-nexus-deploy</id>
-                               <phase>none</phase>
-                       </execution>
-               </executions>
-       </plugin>
-
+                       <plugin>
+                               <groupId>org.sonatype.plugins</groupId>
+                               <artifactId>nexus-staging-maven-plugin</artifactId>
+                               <extensions>false</extensions>
+                               <executions>
+                                       <execution>
+                                               <id>injected-nexus-deploy</id>
+                                               <phase>none</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <artifactId>maven-deploy-plugin</artifactId>
+                               <version>2.8</version>
+                               <executions>
+                                       <execution>
+                                               <id>default-deploy</id>
+                                               <phase>none</phase>
+                                               <configuration>
+                                                       <skip />
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                               <configuration>
+                                       <skip />
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <groupId>com.spotify</groupId>
                                <artifactId>docker-maven-plugin</artifactId>