Skip to content

Commit

Permalink
Prep for release of 3.2.4 (#64)
Browse files Browse the repository at this point in the history
* add helpful script

* Prep for release

* bump release version

* fix license check include list

* bump minor release versions in docs to most recent

* update pom
  • Loading branch information
Crim authored Mar 2, 2022
1 parent c23fa87 commit 05f269a
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 45 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ jobs:
kafka_scala_version: kafka_2.12
exclude_kafka_tests: 0_11_0_x

- kafka_version: 2.6.2
- kafka_version: 2.6.3
kafka_scala_version: kafka_2.12
exclude_kafka_tests: 0_11_0_x

- kafka_version: 2.7.1
- kafka_version: 2.7.2
kafka_scala_version: kafka_2.12
exclude_kafka_tests: 0_11_0_x

- kafka_version: 2.8.0
- kafka_version: 2.8.1
kafka_scala_version: kafka_2.12
exclude_kafka_tests: 0_11_0_x

Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 3.2.4 (03/01/2022)
### Bugfixes
- [ISSUE-49](https://github.com/salesforce/kafka-junit/issues/49) [PR-63](https://github.com/salesforce/kafka-junit/pull/63) Zookeeper AdminServer will no longer be started. This allows for more easily running tests in parallel. Thanks [@gquintana](https://github.com/gquintana) for the contribution!

### Internal dependency updates
- JUnit4 from 4.13 to 4.13.2
- JUnit5 from 5.7.2 to 5.8.2

## 3.2.3 (07/27/2021)
### Features
- Officially added support for Kafka versions 2.7.x, and 2.8.x
Expand Down
4 changes: 2 additions & 2 deletions kafka-junit-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<artifactId>kafka-junit</artifactId>
<groupId>com.salesforce.kafka.test</groupId>
<version>3.2.3</version>
<version>3.2.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>kafka-junit-core</artifactId>
<version>3.2.3</version>
<version>3.2.4</version>

<!-- defined properties -->
<properties>
Expand Down
12 changes: 6 additions & 6 deletions kafka-junit4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ Include this library in your project's POM with test scope. **You'll also need
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.12</artifactId>
<version>2.8.0</version>
<version>2.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.8.0</version>
<version>2.8.1</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -61,13 +61,13 @@ Include this library in your project's POM with test scope. **You'll also need
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.12</artifactId>
<version>2.7.1</version>
<version>2.7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.7.1</version>
<version>2.7.2</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -90,13 +90,13 @@ Include this library in your project's POM with test scope. **You'll also need
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.12</artifactId>
<version>2.6.2</version>
<version>2.6.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.6.2</version>
<version>2.6.3</version>
<scope>test</scope>
</dependency>
```
Expand Down
6 changes: 3 additions & 3 deletions kafka-junit4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
<parent>
<artifactId>kafka-junit</artifactId>
<groupId>com.salesforce.kafka.test</groupId>
<version>3.2.3</version>
<version>3.2.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<!-- Module Definition & Version -->
<artifactId>kafka-junit4</artifactId>
<version>3.2.3</version>
<version>3.2.4</version>

<!-- defined properties -->
<properties>
Expand All @@ -50,7 +50,7 @@
<dependency>
<groupId>com.salesforce.kafka.test</groupId>
<artifactId>kafka-junit-core</artifactId>
<version>3.2.3</version>
<version>3.2.4</version>
</dependency>

<!-- JUnit is Required -->
Expand Down
12 changes: 6 additions & 6 deletions kafka-junit5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ Include this library in your project's POM with test scope. **You'll also need
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.12</artifactId>
<version>2.8.0</version>
<version>2.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.8.0</version>
<version>2.8.1</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -60,13 +60,13 @@ Include this library in your project's POM with test scope. **You'll also need
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.12</artifactId>
<version>2.7.1</version>
<version>2.7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.7.1</version>
<version>2.7.2</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -89,13 +89,13 @@ Include this library in your project's POM with test scope. **You'll also need
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.12</artifactId>
<version>2.6.2</version>
<version>2.6.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.6.2</version>
<version>2.6.3</version>
<scope>test</scope>
</dependency>
```
Expand Down
6 changes: 3 additions & 3 deletions kafka-junit5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
<parent>
<artifactId>kafka-junit</artifactId>
<groupId>com.salesforce.kafka.test</groupId>
<version>3.2.3</version>
<version>3.2.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>kafka-junit5</artifactId>
<version>3.2.3</version>
<version>3.2.4</version>

<!-- defined properties -->
<properties>
Expand All @@ -48,7 +48,7 @@
<dependency>
<groupId>com.salesforce.kafka.test</groupId>
<artifactId>kafka-junit-core</artifactId>
<version>3.2.3</version>
<version>3.2.4</version>
</dependency>

<!-- JUnit is Required -->
Expand Down
31 changes: 9 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<groupId>com.salesforce.kafka.test</groupId>
<artifactId>kafka-junit</artifactId>
<version>3.2.3</version>
<version>3.2.4</version>

<!-- Submodules -->
<modules>
Expand Down Expand Up @@ -60,12 +60,7 @@
<developers>
<developer>
<name>Stephen Powis</name>
<email>spowis@salesforce.com</email>
<organization>Salesforce</organization>
</developer>
<developer>
<name>Stan Lemon</name>
<email>slemon@salesforce.com</email>
<email>stephen.powis@gmail.com</email>
<organization>Salesforce</organization>
</developer>
</developers>
Expand All @@ -87,18 +82,18 @@
<maven.compiler.source>1.8</maven.compiler.source>

<!-- Define which kafka version -->
<kafkaVersion>2.8.0</kafkaVersion>
<kafkaVersion>2.8.1</kafkaVersion>
<kafkaScalaVersion>kafka_2.12</kafkaScalaVersion>

<!-- Define which Curator Test version -->
<curatorTestVersion>2.12.0</curatorTestVersion>

<!-- For logging in tests -->
<slf4jVersion>1.7.30</slf4jVersion>
<slf4jVersion>1.7.36</slf4jVersion>

<!-- JUnit versions -->
<junit4.version>4.13</junit4.version>
<junit5.version>5.7.2</junit5.version>
<junit4.version>4.13.2</junit4.version>
<junit5.version>5.8.2</junit5.version>
<junit5PlatformProvider.version>1.3.2</junit5PlatformProvider.version>

<!-- test toggling -->
Expand Down Expand Up @@ -207,17 +202,9 @@
<version>3.0</version>
<configuration>
<header>LICENSE.txt</header>
<excludes>
<exclude>**/.md</exclude>
<exclude>**/.bak</exclude>
<exclude>**.yml</exclude>
<exclude>.github/**</exclude>
<exclude>**.yaml</exclude>
<exclude>**.xml</exclude>
<exclude>**.versionsBackup</exclude>
<exclude>script/**</exclude>
<exclude>**/resources/**</exclude>
</excludes>
<includes>
<include>**/.java</include>
</includes>
</configuration>
<executions>
<execution>
Expand Down
8 changes: 8 additions & 0 deletions script/runTests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

## Adjust values to suite requirements.
export KAFKA_VERSION=2.8.1
export KAFKA_SCALA_VERSION=kafka_2.12
export EXCLUDE_KAFKA_TESTS=0_11_0_x

mvn clean test -B -DkafkaVersion=$KAFKA_VERSION -DkafkaScalaVersion=$KAFKA_SCALA_VERSION -Dtests.excluded=$EXCLUDE_KAFKA_TESTS -DskipCheckStyle=true -Djava.security.auth.login.config=${PWD}/kafka-junit-core/src/test/resources/jaas.conf

0 comments on commit 05f269a

Please sign in to comment.