avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject [avro] branch master updated: [AVRO-XXX] Fix the build scripts
Date Wed, 24 Apr 2019 13:05:57 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 47c27e9  [AVRO-XXX] Fix the build scripts
47c27e9 is described below

commit 47c27e907772947d5eae0e2b7b2aa668a931e17b
Author: Fokko Driesprong <fokko@driesprong.frl>
AuthorDate: Wed Apr 24 14:31:37 2019 +0200

    [AVRO-XXX] Fix the build scripts
    
    (cherry picked from commit 0169398211e688d8e61beb272703cb9891d5ae97)
---
 build.sh |  6 +++---
 pom.xml  | 12 ------------
 2 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/build.sh b/build.sh
index 003a164..6089d54 100755
--- a/build.sh
+++ b/build.sh
@@ -101,11 +101,11 @@ do
         exit -1;
       fi
 
-      #runs RAT on artifacts
-      mvn -N -P rat antrun:run
+      # runs RAT on artifacts
+      mvn -N -P rat antrun:run verify
 
       mkdir -p dist
-      (cd build; tar czf ../dist/${SRC_DIR}.tar.gz ${SRC_DIR})
+      tar czf dist/${SRC_DIR}.tar.gz build/${SRC_DIR}
 
       # build lang-specific artifacts
 
diff --git a/pom.xml b/pom.xml
index 12c50f4..6173436 100644
--- a/pom.xml
+++ b/pom.xml
@@ -224,18 +224,6 @@
               </execution>
             </executions>
           </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-enforcer-plugin</artifactId>
-            <executions>
-              <execution>
-                <phase>package</phase>
-                <goals>
-                  <goal>enforce</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
         </plugins>
       </build>
     </profile>


Mime
View raw message