Looking at the docs it is missing an important detail, we now move/rename
the most recent build to arrow-X.Z.Y-SNAPSHOT e.g. [1] which you can add to
your project and will always get the most recent build vs. having to update
the version manually each day.  I have opened an issue to update the
docs.[2]

[1]:
https://nightlies.apache.org/arrow/java/org/apache/arrow/arrow-memory/11.0.0-SNAPSHOT/
[2]:
https://arrow.apache.org/docs/dev/developers/java/building.html#installing-nightly-packages

On Wed, Jan 25, 2023 at 9:28 PM Sutou Kouhei <k...@clear-code.com> wrote:

> Hi,
>
> Wow! I didn't know the snapshot repository!
>
> If we use the snapshot repository, can we simplify this?
>
> https://arrow.apache.org/docs/dev/developers/java/building.html#installing-nightly-packages
>
> Then, let's use the snapshot repository instead of
> https://nightlies.apache.org/ .
>
>
> Thanks,
> --
> kou
>
> In <calj5v6o7zho_b+sc5pto250xb+8gewrl0hsyc_woev-zt+j...@mail.gmail.com>
>   "Reason behind using Apache Nightlies directory instead of Apache Nexus
> Snapshot Repository" on Wed, 25 Jan 2023 10:37:35 +0100,
>   Matthew Benedict de Detrich <matthew.dedetr...@aiven.io.INVALID> wrote:
>
> > Hello Arrow community!
> >
> > I am coming from the Apache Pekko community where we are trying to
> > bootstrap the newly approved incubator project. Currently we are working
> on
> > snapshots/nightlies, specifically where to upload them and also the
> process
> > of generating the snapshots (i.e. nightly, after merge into main etc
> etc).
> >
> > As of now we are uploading into Apache nightlies (i.e.
> > https://nightlies.apache.org/ with PR
> > https://github.com/apache/incubator-pekko/pull/60) and the method of
> > uploading was actually derived from Apache Arrow. However after further
> > cursory investigation I found out that Apache Arrow seems to be the
> > only Apache project that seems to upload snapshots into
> > https://nightlies.apache.org/. Every other project uploads snapshots
> into
> > Apache's Nexus snapshot repository (i.e.
> > https://repository.apache.org/content/groups/snapshots/) and after
> > discussion with Apache's #askinfra slack channel, they also recommend
> that
> > any JVM library snapshot artifacts be published to this Nexus Snapshot
> > Repository.
> >
> > So the question is, is there a reason why this project is uploading
> > snapshot jars into the nightlies? The only technical reason I can come up
> > with is that with nightlies you have control over the expiry (i.e.
> setting
> > it to 30 days), whereas with Apache's Snapshot Repo there is a default
> > global job that cleans snapshots. Pekko is currently considering
> uploading
> > to Apache's Nexus Snapshot Repo instead of nightlies but I want to make
> > sure we haven't missed anything, for context of the discussion in pekko
> see
> > https://lists.apache.org/thread/p5s8ysypyd2l2slb3o9f2v5vrf8dgsx8.
> >
> > Many thanks
> >
> > --
> >
> > Matthew de Detrich
> >
> > *Aiven Deutschland GmbH*
> >
> > Immanuelkirchstraße 26, 10405 Berlin
> >
> > Amtsgericht Charlottenburg, HRB 209739 B
> >
> > Geschäftsführer: Oskari Saarenmaa & Hannu Valtonen
> >
> > *m:* +491603708037
> >
> > *w:* aiven.io *e:* matthew.dedetr...@aiven.io
>

Reply via email to