From 57dcddf10b8160736ef392f77376fb83d83e03d6 Mon Sep 17 00:00:00 2001 From: nakulj Date: Mon, 8 Jul 2024 15:22:24 -0700 Subject: [PATCH] Fix some of the warnings emitted by maven during build (#1363) * Set the source encoding in the pom. This stops the following warning from being emitted in our logs: ``` [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! ``` * Replace deprecated systemProperties. The recommended replacement is systemPropertyVariables, documented [here](https://maven.apache.org/surefire/maven-surefire-plugin/examples/system-properties.html). --- amazon-kinesis-client/pom.xml | 14 ++++---------- pom.xml | 1 + 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/amazon-kinesis-client/pom.xml b/amazon-kinesis-client/pom.xml index 6f94916f..2bb18afc 100644 --- a/amazon-kinesis-client/pom.xml +++ b/amazon-kinesis-client/pom.xml @@ -228,16 +228,10 @@ **/*IntegrationTest.java - - - sqlite4java.library.path - ${sqlite4java.libpath} - - - awsProfile - ${awsProfile} - - + + ${sqlite4java.libpath} + ${awsProfile} + diff --git a/pom.xml b/pom.xml index 470b915d..e9a9bcb0 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,7 @@ 2.25.64 + UTF-8