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

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 58b9d28  replace default source-release-assembly by bookkeeper-dist
58b9d28 is described below

commit 58b9d284dbe8bd67d67e62d3be412db88a4d1a85
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Thu Jan 17 12:34:26 2019 +0100

    replace default source-release-assembly by bookkeeper-dist
    
    fix for #1895
    
    Reviewers: Enrico Olivelli <[email protected]>, Sijie Guo 
<[email protected]>
    
    This closes #1904 from hboutemy/master
---
 bookkeeper-dist/pom.xml |  9 ---------
 pom.xml                 | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/bookkeeper-dist/pom.xml b/bookkeeper-dist/pom.xml
index b81fe60..6bc7b1e 100644
--- a/bookkeeper-dist/pom.xml
+++ b/bookkeeper-dist/pom.xml
@@ -65,15 +65,6 @@
           </execution>
         </executions>
       </plugin>
-      <!-- skip deploying this artifact, since this module is used for 
generating an uber package-->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>${maven-deploy-plugin.version}</version>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 </project>
diff --git a/pom.xml b/pom.xml
index e8715f7..cf35566 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1118,5 +1118,25 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>source-release-assembly</id>
+                <configuration>
+                  <!-- we have a dedicated distribution module in 
bookkeeper-dist -->
+                  <skipAssembly>true</skipAssembly>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>

Reply via email to