I'm not sure but I believe SNAPSHOT is some kind of key word in maven. What is the problem with OSGi? How other OSGi aware projects which have maven snapshots handle it?
I just think that fixing some OSGi quirks by breaking maven conventions is not really good idea... Sergi 2015-11-05 5:32 GMT+03:00 Thomas Mueller <[email protected]>: > Hi, > > Sorry for the delay. What about h2-1.4.190-latest.jar? I prefer not to use > 1.4.191-SNAPSHOT, as that is problematic when using OSGi (which I do at > Apache Jackrabbit Oak). > > Regards, > Thomas > > > On Friday, October 30, 2015, Sergi Vladykin <[email protected]> > wrote: > >> Thanks a lot, Thomas! I think it would be enough to have just a single >> snapshot now, >> later we can always improve this as needed. >> >> Sergi >> >> 2015-10-30 9:46 GMT+03:00 Thomas Mueller <[email protected]>: >> >>> 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]. >>>> 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. >>>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > -- > 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. > -- 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.
