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

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

commit 2e4d2445e60b4970b916a49cb4d5dee089f6d247
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
    
    Conflicts:
        zookeeper-docs/pom.xml
---
 zookeeper-assembly/pom.xml |  8 ++++++++
 zookeeper-client/pom.xml   | 12 +++++++++++-
 zookeeper-docs/pom.xml     |  9 ++++++++-
 zookeeper-recipes/pom.xml  | 12 ++++++++++++
 4 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/zookeeper-assembly/pom.xml b/zookeeper-assembly/pom.xml
index fbf74a9..cdef889 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 a038aaa..5caf245 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 b4d6c60..bde77c7 100644
--- a/zookeeper-docs/pom.xml
+++ b/zookeeper-docs/pom.xml
@@ -53,7 +53,14 @@
           <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 076a5a2..20ac85d 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