[CONJ-641] update maven dependencies for java 10 compatibilities Created: 2018-09-03  Updated: 2019-02-08  Resolved: 2018-09-06

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: None
Fix Version/s: 2.3.0, 1.8.0

Type: Task Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

when using java 10, some dependencies fail :

[INFO] Building jar: C:\projects\mariadb\mariadb-connector-j-5\target\mariadb-java-client-2.2.7-SNAPSHOT-javadoc.jar
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (process-test-resources) @ mariadb-java-client ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.629 s
[INFO] Finished at: 2018-09-03T14:32:45+02:00
[INFO] Final Memory: 40M/144M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (process-test-resources) on project mariadb-java-client: Execution process-test-resources of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.17 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.7.0 at specified path C:\Program Files\Java\jdk-10.0.2/../lib/tools.jar -> [Help 1]
[ERROR] 


Generated at Thu Feb 08 03:17:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.