[CONJ-1053] Mark waffle-jna dependency optional in module descriptor Created: 2023-02-11 Updated: 2023-06-19 |
|
| Status: | Open |
| Project: | MariaDB Connector/J |
| Component/s: | java9 |
| Affects Version/s: | 3.1.0, 3.1.1, 3.1.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Anand Beh | Assignee: | Diego Dupin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
As discussed in CONJ-1025, the dependency on waffle-jna is used only for the GSSAPI feature on Windows. Clients who want a smaller jar size can exclude the dependency using Maven or Gradle configuration. *JPMS* The optionality of the waffle-jna dependency should be reflected in the JPMS module descriptor. The requires declaration should be requires static to properly reflect that waffle-jna is optional. It used to be `requires static`, but this commit changed it to `requires`. I'm not sure why. https://github.com/mariadb-corporation/mariadb-connector-j/commit/5ac67b2d17dcf4e0272781426d67299dedf5a377 |