Skip to content

Commit

Permalink
Various version upgrades (#200)
Browse files Browse the repository at this point in the history
 - upgrade beeju
- upgrade parent
- upgrade mockito
- upgrade hamcrest
- move hamcrest and mockito to dependency management
  • Loading branch information
massdosage committed Nov 2, 2020
1 parent 996af8d commit e5a9726
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 22 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [3.8.0] - TBD
### Changed
* Updated `hotels-oss-parent` to 6.1.0 (was 5.0.0).

## [3.7.0] - 2020-09-16
### Changed
* Upgraded version of `hive.version` to `2.3.7` (was `2.3.3`). Allows Waggle Dance to be used on JDK>=9.
Expand Down
43 changes: 38 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.hotels</groupId>
<artifactId>hotels-oss-parent</artifactId>
<version>5.0.0</version>
<version>6.1.0</version>
</parent>

<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Waggle Dance Parent</name>
<description>Hive Metastore federation service.</description>
Expand Down Expand Up @@ -36,11 +38,13 @@
<maven.release.plugin.version>2.5.3</maven.release.plugin.version>
<spring-boot.version>2.0.4.RELEASE</spring-boot.version>
<hadoop.version>2.7.2</hadoop.version>
<hamcrest.version>2.2</hamcrest.version>
<hive.version>2.3.7</hive.version>
<mockito.version>3.5.15</mockito.version>
<dropwizard.metrics.version>3.1.5</dropwizard.metrics.version>
<aspectj-maven-plugin.version>1.9</aspectj-maven-plugin.version>
<aspectj.version>1.8.9</aspectj.version>
<beeju.version>3.2.0</beeju.version>
<beeju.version>3.3.0</beeju.version>
<guava.version>23.0</guava.version>
<guice.version>4.0</guice.version>
<hcommon-hive-metastore.version>1.2.3</hcommon-hive-metastore.version>
Expand Down Expand Up @@ -78,6 +82,26 @@
<artifactId>javax.el</artifactId>
<version>2.2.6</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<!-- spring uses a newer version of byte-buddy but Mockito requires
an older version -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.10.15</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>1.10.15</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
Expand Down Expand Up @@ -115,6 +139,12 @@
<version>${hive.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
Expand All @@ -123,7 +153,8 @@
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<!-- we should use whatever hive-metastore is using. Cannot rely on the transitive dep because we want it test scoped. -->
<!-- we should use whatever hive-metastore is using. Cannot rely
on the transitive dep because we want it test scoped. -->
<version>10.10.2.0</version>
<scope>test</scope>
</dependency>
Expand All @@ -150,6 +181,8 @@
<version>${maven.release.plugin.version}</version>
</plugin>
<plugin>
<!-- NOTE: we are blocked on building waggle dance using Java 11
on the below, need to wait for https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${aspectj-maven-plugin.version}</version>
Expand Down
4 changes: 2 additions & 2 deletions waggle-dance-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.hotels</groupId>
<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
</parent>

<artifactId>waggle-dance-api</artifactId>
Expand Down Expand Up @@ -97,7 +97,7 @@
<!-- Test -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion waggle-dance-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.hotels</groupId>
<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
</parent>

<artifactId>waggle-dance-boot</artifactId>
Expand Down
22 changes: 13 additions & 9 deletions waggle-dance-core/pom.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.hotels</groupId>
<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
</parent>

<artifactId>waggle-dance-core</artifactId>

<properties>
<mockito.version>2.8.47</mockito.version>
<powermock.version>1.7.4</powermock.version>
<powermock.version>2.0.7</powermock.version>
<jcabi-aspects.version>0.22.6</jcabi-aspects.version>
</properties>

Expand Down Expand Up @@ -141,6 +142,10 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -236,14 +241,13 @@
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion waggle-dance-integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.hotels</groupId>
<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
</parent>

<artifactId>waggle-dance-integration-tests</artifactId>
Expand Down
8 changes: 6 additions & 2 deletions waggle-dance-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.hotels</groupId>
<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
</parent>

<artifactId>waggle-dance-rest</artifactId>
Expand Down Expand Up @@ -69,6 +69,10 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-client</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down Expand Up @@ -104,7 +108,7 @@
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion waggle-dance-rpm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.hotels</groupId>
<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
</parent>

<artifactId>waggle-dance-rpm</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion waggle-dance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.hotels</groupId>
<artifactId>waggle-dance-parent</artifactId>
<version>3.7.1-SNAPSHOT</version>
<version>3.8.0-SNAPSHOT</version>
</parent>

<artifactId>waggle-dance</artifactId>
Expand Down

0 comments on commit e5a9726

Please sign in to comment.