This is an automated email from the ASF dual-hosted git repository.

nnag pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-kafka-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new 14f059f  Add a CI (#9)
14f059f is described below

commit 14f059f7ad0f7c35a0ef4da7a6097b47e2988351
Author: M. Oleske <[email protected]>
AuthorDate: Fri Dec 4 16:47:08 2020 -0800

    Add a CI (#9)
    
    * Create mvn-package-all-os.yml
    
    * Latest is 20.04 not 18.04
    
    apply spotless
    
    Authored-by: M. Oleske <[email protected]>
    
    * Add license
    
    Authored-by: M. Oleske <[email protected]>
---
 .github/workflows/mvn-package-all-os.yml           | 29 ++++++++++++++++++++++
 .../java/org/apache/geode/kafka/GeodeContext.java  |  4 +--
 2 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/mvn-package-all-os.yml 
b/.github/workflows/mvn-package-all-os.yml
new file mode 100644
index 0000000..912b847
--- /dev/null
+++ b/.github/workflows/mvn-package-all-os.yml
@@ -0,0 +1,29 @@
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+name: Geode Kafka Build
+
+on:
+  push:
+  pull_request:
+
+jobs:
+  build:
+    runs-on: ${{ matrix.os }}
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-16.04, ubuntu-latest, ubuntu-18.04, macos-latest, 
macos-11.0, windows-2016, windows-latest]
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up JDK 1.8
+      uses: actions/setup-java@v1
+      with:
+        java-version: 1.8
+    - name: Build with Maven
+      run: mvn -B package --file pom.xml
diff --git a/src/main/java/org/apache/geode/kafka/GeodeContext.java 
b/src/main/java/org/apache/geode/kafka/GeodeContext.java
index 2fabceb..595e3c8 100644
--- a/src/main/java/org/apache/geode/kafka/GeodeContext.java
+++ b/src/main/java/org/apache/geode/kafka/GeodeContext.java
@@ -21,6 +21,8 @@ import static 
org.apache.geode.kafka.utils.GeodeConfigurationConstants.SECURITY_
 import java.util.List;
 
 import org.apache.kafka.connect.errors.ConnectException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import org.apache.geode.cache.client.ClientCache;
 import org.apache.geode.cache.client.ClientCacheFactory;
@@ -30,8 +32,6 @@ import org.apache.geode.cache.query.CqExistsException;
 import org.apache.geode.cache.query.CqQuery;
 import org.apache.geode.cache.query.CqResults;
 import org.apache.geode.cache.query.RegionNotFoundException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 public class GeodeContext {
 

Reply via email to