You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by eo...@apache.org on 2020/02/01 11:08:59 UTC

[zookeeper] branch master updated: ZOOKEEPER-3695: Source release tarball does not match repository in 3.6.0 - part2

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/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new d3ce1fa  ZOOKEEPER-3695: Source release tarball does not match repository in 3.6.0 - part2
d3ce1fa is described below

commit d3ce1fa7e0b9804fb7752cbb3818c03341d8c87e
Author: Enrico Olivelli <eo...@apache.org>
AuthorDate: Sat Feb 1 12:08:39 2020 +0100

    ZOOKEEPER-3695: Source release tarball does not match repository in 3.6.0 - part2
    
    - upgrade to Apache Parent 23
    - disable maven remote plugin
    - move source assembly execution before sources generation
    - move git properties resolution to the correct phase
    
    Author: Enrico Olivelli <eo...@apache.org>
    
    Reviewers: Norbert Kalmar <nk...@apache.org>
    
    Closes #1238 from eolivelli/fix/ZOOKEEPER-3695-part2
---
 pom.xml | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5c0dde5..00bf89a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>21</version>
+    <version>23</version>
     <relativePath />
     <!-- no parent resolution -->
   </parent>
@@ -284,7 +284,7 @@
                     <executions>
                         <execution>
                             <id>source-release-assembly-tar-gz</id>
-                            <phase>package</phase>
+                            <phase>initialize</phase>
                             <goals>
                                 <goal>single</goal>
                             </goals>
@@ -665,6 +665,16 @@
             </execution>
           </executions>
         </plugin>
+        <!-- we don't need this plugin-->
+        <plugin>
+          <artifactId>maven-remote-resources-plugin</artifactId>
+          <executions>
+            <execution>
+               <id>process-resource-bundles</id>
+               <phase>none</phase>
+            </execution>
+          </executions>
+        </plugin>
       </plugins>
     </pluginManagement>
 
@@ -678,7 +688,7 @@
             <goals>
               <goal>revision</goal>
             </goals>
-            <phase>validate</phase>
+            <phase>generate-resources</phase>
           </execution>
         </executions>
         <configuration>