IMPALA-10198 (part 2): Add support for mvn versions:set

This adds support for setting the version of Java
artifacts through "mvn versions:set". It changes
the modules to inherit the version from the parent
pom.

Previously, we used a mix of 0.1-SNAPSHOT and
1.0-SNAPSHOT. This now uses 4.0.0-SNAPSHOT across the
board. With each release, we can use "mvn versions:set"
to update the versions. The only exception is the
Hive UDF code that we build for testing. This remains
at version 1.0 to avoid test changes.

Testing:
 - Ran core job
 - Added build-all-flag-combinations.sh case that
   does "mvn versions:set" and runs a build

Change-Id: I661b32e1e445169bac2ffe4f9474f14090031743
Reviewed-on: http://gerrit.cloudera.org:8080/16559
Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
Joe McDonnell
2020-10-06 17:06:40 -07:00
parent 97856478ec
commit 97792c4bad
16 changed files with 93 additions and 47 deletions

View File

@@ -23,11 +23,9 @@
<parent>
<groupId>org.apache.impala</groupId>
<artifactId>impala-data-source</artifactId>
<version>1.0-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.impala</groupId>
<artifactId>impala-data-source-sample</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Apache Impala External Data Source Sample</name>
<description>External Data Source Sample</description>
<packaging>jar</packaging>