You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2023/10/30 21:45:12 UTC
(sis) 01/03: Replace `api` dependency to Glassfish by a pair of `compileOnly` and `runtimeOnly`. The intend is to avoid that this dependency appears in Maven pom files.
This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
commit f7dabc89f15b747bbd9a7c840b8281a015f83752
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Mon Oct 30 10:19:57 2023 +0100
Replace `api` dependency to Glassfish by a pair of `compileOnly` and `runtimeOnly`.
The intend is to avoid that this dependency appears in Maven pom files.
---
endorsed/build.gradle.kts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/endorsed/build.gradle.kts b/endorsed/build.gradle.kts
index 380a387a90..828fc2b9d5 100644
--- a/endorsed/build.gradle.kts
+++ b/endorsed/build.gradle.kts
@@ -58,7 +58,8 @@ dependencies {
api(libs.jaxb.api)
// Optional dependencies
- api(libs.jaxb.impl) // Actually runtime only, but declared as API for avoiding compiler warnings.
+ runtimeOnly(libs.jaxb.impl)
+ compileOnly(libs.jaxb.impl) // For avoiding compiler warnings. Not read by SIS modules.
compileOnly(libs.jts.core)
compileOnly(libs.esri.geometry)
compileOnly(libs.libreoffice)