Thanks Adam and Johann. I applied the Maven configuration done by Johann with some modifications. The JavaFX dependencies are included only if the "javafx" profile is activated, and they are declared with "provided" scope. The previous approach using a pre-installed JavaFX installation (declared by PATH_TO_FX environment variable) has not been removed since I think we will need this approach for what may be distributed to end user.

I edited the NOTICE file. I'm not sure how we are supposed to declare dependencies of optional module. There is my try:

    https://github.com/apache/sis/blob/geoapi-4.0/NOTICE

Martin

Le 06/05/2020 à 02:38, Adam Estrada a écrit :

I am good with either but would favor the easiest one which is #2

Adam


Reply via email to