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).
This commit is contained in:
nakulj 2024-07-08 15:22:24 -07:00 committed by GitHub
parent f507066ea6
commit 57dcddf10b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 10 deletions

View file

@ -228,16 +228,10 @@
<excludes> <excludes>
<exclude>**/*IntegrationTest.java</exclude> <exclude>**/*IntegrationTest.java</exclude>
</excludes> </excludes>
<systemProperties> <systemPropertyVariables>
<property> <sqlite4java.library.path>${sqlite4java.libpath}</sqlite4java.library.path>
<name>sqlite4java.library.path</name> <awsProfile>${awsProfile}</awsProfile>
<value>${sqlite4java.libpath}</value> </systemPropertyVariables>
</property>
<property>
<name>awsProfile</name>
<value>${awsProfile}</value>
</property>
</systemProperties>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>

View file

@ -34,6 +34,7 @@
<properties> <properties>
<awssdk.version>2.25.64</awssdk.version> <awssdk.version>2.25.64</awssdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<licenses> <licenses>