avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject avro git commit: AVRO-1833: Add dev-tools parent and fix build.sh.
Date Sun, 15 May 2016 00:20:24 GMT
Repository: avro
Updated Branches:
  refs/heads/branch-1.8 eb1c1c6b2 -> 4806ede88


AVRO-1833: Add dev-tools parent and fix build.sh.

The new dev-tools module was breaking the build. It needs to be built
before running the normal Java build and it needs to use the root pom as
its parent so that the version gets updated when using
`mvn versions:set` for the build prep steps.


Project: http://git-wip-us.apache.org/repos/asf/avro/repo
Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/4806ede8
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/4806ede8
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/4806ede8

Branch: refs/heads/branch-1.8
Commit: 4806ede8850a1a0511c2fb66abb8dc5bda6787a7
Parents: eb1c1c6
Author: Ryan Blue <blue@apache.org>
Authored: Sat May 14 17:17:49 2016 -0700
Committer: Ryan Blue <blue@apache.org>
Committed: Sat May 14 17:17:49 2016 -0700

----------------------------------------------------------------------
 build.sh          | 2 ++
 dev-tools/pom.xml | 9 ++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/4806ede8/build.sh
----------------------------------------------------------------------
diff --git a/build.sh b/build.sh
index c0c31df..1182c9c 100755
--- a/build.sh
+++ b/build.sh
@@ -105,6 +105,8 @@ do
 
       # build lang-specific artifacts
 
+      # install dev-tools for checkstyle configs
+      (cd dev-tools; mvn clean install)
       (cd lang/java; mvn package -DskipTests -Dhadoop.version=1;
       rm -rf mapred/target/{classes,test-classes}/;
       rm -rf trevni/avro/target/{classes,test-classes}/;

http://git-wip-us.apache.org/repos/asf/avro/blob/4806ede8/dev-tools/pom.xml
----------------------------------------------------------------------
diff --git a/dev-tools/pom.xml b/dev-tools/pom.xml
index cedb95a..6b3fd28 100644
--- a/dev-tools/pom.xml
+++ b/dev-tools/pom.xml
@@ -20,9 +20,16 @@
   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <modelVersion>4.0.0</modelVersion>
 
+  <parent>
+    <groupId>org.apache.avro</groupId>
+    <artifactId>avro-toplevel</artifactId>
+    <version>1.8.1</version>
+    <relativePath>../</relativePath>
+  </parent>
+
   <groupId>org.apache.avro</groupId>
   <artifactId>dev-tools</artifactId>
-  <version>1.9.0-SNAPSHOT</version>
+  <version>1.8.1</version>
 
   <name>Apache Avro Developer tools</name>
   <url>http://avro.apache.org</url>


Mime
View raw message