This is an automated email from the ASF dual-hosted git repository.

andor pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 5729692  ZOOKEEPER-3122: Only deploy zk-server and zk-jute to maven 
repo
5729692 is described below

commit 57296927ec268930a6c2704104849d4d7dcb6721
Author: Enrico Olivelli <[email protected]>
AuthorDate: Wed Apr 3 10:43:46 2019 +0200

    ZOOKEEPER-3122: Only deploy zk-server and zk-jute to maven repo
    
    Skip Maven deploy plugin for modules which are not to be deployed:
    - assembly
    - clients (C binding)
    - documentation
    - recipes
    
    Author: Enrico Olivelli <[email protected]>
    
    Reviewers: [email protected]
    
    Closes #889 from eolivelli/fix/ZOOKEEPER-3122-fix-deploy
---
 zookeeper-assembly/pom.xml |  8 ++++++++
 zookeeper-client/pom.xml   | 12 +++++++++++-
 zookeeper-docs/pom.xml     | 10 ++++++++--
 zookeeper-recipes/pom.xml  | 12 ++++++++++++
 4 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/zookeeper-assembly/pom.xml b/zookeeper-assembly/pom.xml
index 6149060..154edce 100755
--- a/zookeeper-assembly/pom.xml
+++ b/zookeeper-assembly/pom.xml
@@ -99,6 +99,14 @@
             <skip>true</skip>
         </configuration>
       </plugin>
+
+      <plugin>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <configuration>
+          <!-- this module isn't to be deployed to Maven Central -->
+          <skip>true</skip>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
diff --git a/zookeeper-client/pom.xml b/zookeeper-client/pom.xml
index 8b814d0..f552978 100755
--- a/zookeeper-client/pom.xml
+++ b/zookeeper-client/pom.xml
@@ -47,5 +47,15 @@
       <modules />
     </profile>
   </profiles>
-
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <configuration>
+          <!-- this module isn't to be deployed to Maven Central -->
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
\ No newline at end of file
diff --git a/zookeeper-docs/pom.xml b/zookeeper-docs/pom.xml
index 0a10818..50a9418 100644
--- a/zookeeper-docs/pom.xml
+++ b/zookeeper-docs/pom.xml
@@ -53,7 +53,13 @@
           <copyDirectories>images,skin</copyDirectories>
         </configuration>
       </plugin>
+      <plugin>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <configuration>
+          <!-- this module isn't to be deployed to Maven Central -->
+          <skip>true</skip>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
-
-</project>
\ No newline at end of file
+</project>
diff --git a/zookeeper-recipes/pom.xml b/zookeeper-recipes/pom.xml
index 56a8759..df5f3a2 100755
--- a/zookeeper-recipes/pom.xml
+++ b/zookeeper-recipes/pom.xml
@@ -62,4 +62,16 @@
     <module>zookeeper-recipes-queue</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+       <artifactId>maven-deploy-plugin</artifactId>
+       <configuration>
+         <!-- this module isn't to be deployed to Maven Central -->
+         <skip>true</skip>
+       </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>
\ No newline at end of file

Reply via email to