[
https://issues.apache.org/jira/browse/SEDONA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17695915#comment-17695915
]
Jia Yu commented on SEDONA-248:
-------------------------------
[~gregleleu]
For R users,
If the user copies jars manually, since 1.4.0-SNAPSHOT, all dependencies listed
here (https://github.com/apache/sedona/blob/master/pom.xml#L127) need to be
downloaded manually except "provided" and "test" scope packages +
sedona-common/core/sql/viz . But we also provide a shaded jar
"sedona-spark-shaded" that packages everything except geotools, sedona-viz.
In a nushell, starting from 1.4.0,
For here: [https://github.com/apache/sedona/blob/master/R/R/dependencies.R#L30]
, we only need to include:
edu.ucar:cdm-core:5.4.2
org.datasyslab:geotools-wrapper:1.4.0-28.2
For here: [https://github.com/apache/sedona/blob/master/R/R/dependencies.R#L46]
, we only need to include
sedona-spark-shaded-3.0_2.12-1.4.0, sedona-viz-3.0_2.12-1.4.0
or
sedona-spark-shaded-3.0_2.13-1.4.0, sedona-viz-3.0_2.13-1.4.0
When you perform the test or copy the jars manually, you only need to copy:
sedona-spark-shaded-3.0_2.12-1.4.0-SNAPSHOT, sedona-viz-3.0_2.12-1.4.0
Does this make sense to you?
> R – Let dev version of R package use SNAPSHOT jars
> --------------------------------------------------
>
> Key: SEDONA-248
> URL: https://issues.apache.org/jira/browse/SEDONA-248
> Project: Apache Sedona
> Issue Type: Improvement
> Reporter: Gregoire Leleu
> Priority: Major
> Attachments: image-2023-02-17-11-45-38-710.png
>
>
> Currently, one source of error is that the dev version of the R package calls
> the Sedona jars from the previous release. Right now the dev version (1.4.0)
> by default calls the 1.3.1 jars.
> You can override it, but you either need to build the jars yourself (most R
> users won't do it) or get them somewhere (but where?).
> Would it be possible to:
> * Make the jars available in a maven repo (I would have assumed
> [https://repository.apache.org/content/groups/snapshots/org/apache/sedona/sedona-core-3.0_2.13/]
> from the documentation, but 1.4.0 isn't there)
> * Have the dev version point to those jars
> * Change to the regular repo for the release
> In terms of cache: will the jar cache system update the Sedona SNAPSHOT jars
> if the name doesn't change?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)