Skip to content

Commit

Permalink
DRILL-6956: Maintain a single entry for Drill Version in the pom file
Browse files Browse the repository at this point in the history
Currently, updating the version information for a Drill release involves updating 30+ pom files.
The right way would be to use the Multi Module Setup for Maven CI.
https://maven.apache.org/maven-ci-friendly.html#Multi_Module_Setup
  • Loading branch information
kkhatua authored and Kunal Khatua committed Jan 22, 2019
1 parent 72cba88 commit 99eca7c
Show file tree
Hide file tree
Showing 30 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<groupId>org.apache.drill.contrib.data</groupId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/data/tpch-sample-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-contrib-data-parent</artifactId>
<groupId>org.apache.drill.contrib.data</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>tpch-sample-data</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/format-maprdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-format-mapr</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<groupId>org.apache.drill.contrib</groupId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-storage-hbase</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-hive/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.drill.contrib.storage-hive</groupId>
<artifactId>drill-contrib-storage-hive-parent</artifactId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-storage-hive-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-hive/hive-exec-shade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.drill.contrib.storage-hive</groupId>
<artifactId>drill-contrib-storage-hive-parent</artifactId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-hive-exec-shaded</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-hive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.drill.contrib</groupId>
<artifactId>drill-contrib-parent</artifactId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<groupId>org.apache.drill.contrib.storage-hive</groupId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-jdbc-storage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-storage-kafka</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-kudu/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-kudu-storage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-mongo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-mongo-storage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/storage-opentsdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-opentsdb-storage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/udfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>drill-contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-udfs</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>distribution</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion drill-yarn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-yarn</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion exec/java-exec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>exec-parent</artifactId>
<groupId>org.apache.drill.exec</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>drill-java-exec</artifactId>
<name>exec/Java Execution Engine</name>
Expand Down
2 changes: 1 addition & 1 deletion exec/jdbc-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.drill.exec</groupId>
<artifactId>exec-parent</artifactId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-jdbc-all</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion exec/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.drill.exec</groupId>
<artifactId>exec-parent</artifactId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>drill-jdbc</artifactId>
<name>exec/JDBC Driver using dependencies</name>
Expand Down
2 changes: 1 addition & 1 deletion exec/memory/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>memory-parent</artifactId>
<groupId>org.apache.drill.memory</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>drill-memory-base</artifactId>
<name>exec/memory/base</name>
Expand Down
2 changes: 1 addition & 1 deletion exec/memory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>exec-parent</artifactId>
<groupId>org.apache.drill.exec</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<groupId>org.apache.drill.memory</groupId>
Expand Down
2 changes: 1 addition & 1 deletion exec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<groupId>org.apache.drill.exec</groupId>
Expand Down
2 changes: 1 addition & 1 deletion exec/rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>exec-parent</artifactId>
<groupId>org.apache.drill.exec</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>drill-rpc</artifactId>
<name>exec/rpc</name>
Expand Down
2 changes: 1 addition & 1 deletion exec/vector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>exec-parent</artifactId>
<groupId>org.apache.drill.exec</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>vector</artifactId>
<name>exec/Vectors</name>
Expand Down
2 changes: 1 addition & 1 deletion logical/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-logical</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@

<groupId>org.apache.drill</groupId>
<artifactId>drill-root</artifactId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
<packaging>pom</packaging>

<name>Apache Drill Root POM</name>
<description>Apache Drill is an open source, low latency SQL query engine for Hadoop and NoSQL.</description>
<url>http://drill.apache.org/</url>

<properties>
<revision>1.16.0-SNAPSHOT</revision>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
Expand Down
2 changes: 1 addition & 1 deletion protocol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-protocol</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tools/fmpp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>tools-parent</artifactId>
<groupId>org.apache.drill.tools</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>drill-fmpp-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
<version>1.16.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<groupId>org.apache.drill.tools</groupId>
Expand Down

0 comments on commit 99eca7c

Please sign in to comment.