This is an automated email from the ASF dual-hosted git repository.
andor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 91cf670 ZOOKEEPER-3122: Only deploy zk-server and zk-jute to maven
repo
91cf670 is described below
commit 91cf67029f398ae4c99ae40231cc2bde0f7559f0
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
(cherry picked from commit 57296927ec268930a6c2704104849d4d7dcb6721)
Signed-off-by: Andor Molnar <[email protected]>
---
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 ed0dca3..566ad4f 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 e72624e..ae4c6ee 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 33fc172..45b19eb 100644
--- a/zookeeper-docs/pom.xml
+++ b/zookeeper-docs/pom.xml
@@ -54,7 +54,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 7051333..76eaa7a 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