Hi, Sure, that makes sense. Release builds are already uploaded to h2database.com, but the link is not documented. I will also make sure snapshot builds are uploaded (automatically; right now 3 times a day). There are two options:
(a) Simple case: if the directory / file names are just <nextReleaseVersion>-SNAPSHOT (so the first one would be 1.4.191-SNAPSHOT), as is common for Maven snapshots, then old snapshot builds of the same version are automatically replaced. (b) More complex: if you need multiple snapshot files for the same version, a different naming scheme needs to be used, similar to the SVN naming scheme <currentReleaseVersion>-r<revisionNumber>. As Git doesn't use revision numbers, I would probably use date and time (hour) instead. The first one would be 1.4.190-r2015103012, for 2015-10-30, 12:00. The advantage of this is that this works better with OSGi, as the version string of the snapshot is _lower_ than the version string of the actual release, which is not the case when using option (a). Old snapshot files would need to be removed (I guess I can keep 10 or so). I will go for (a) first. Regards, Thomas On Thursday, October 29, 2015, Sergi Vladykin <[email protected]> wrote: > Guys, > > I think it would be great if the latest nightly build will be accessible > as maven SNAPSHOT build. It seems that it is not needed to > upload it into maven.org but it is enough to create correct maven > repo structure on h2database.com website. Then it will be possible > to point to it as a Snapshot repository. Since we already have the > h2-latest.jar on a website it seems trivial to change build procedure > to generate correct maven snapshots: just name the resulting file > correctly, put it into proper directory structure, calculate checksums > and provide POM file as in > https://repo1.maven.org/maven2/com/h2database/h2/1.4.190/ > > Probably makes sense to keep these snapshots for a couple of months, > then drop the older ones. > > Thoughts? > > Sergi > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
