I am releasing dsiutils, too, and converting all my stuff to this kind of release process. Let's see...
Ciao,
seba
http://repo1.maven.org/maven2/it/unimi/dsi/fastutil/6.4.2/
The source and javadoc JARs contain anything you might have wanted to
link so that .class files opened in Eclipse for example do link to
their real source code. I would include generated sources as well for
this reason. Did you keep POM artifact namespace, etc?
Dawid
> The source and javadoc JARs contain anything you might have wanted to
> link so that .class files opened in Eclipse for example do link to
> their real source code.
> uld include generated sources as well for
> this reason. Did you keep POM artifact namespace, etc?
Oops. Good point--presently the sources are not included, I'll do it.
Ciao,
seba
> - what was the reason for the change of the groupId? I now have to
> change all client-side dependencies, and there's a good chance that
> via transitive dependencies I'll end up with duplicates on the
> classpath.
When I requested authorization to Sonatype, that's the groupId they gave me and I didn't discuss. There's another problem: in the six months the DSI will no longer exists, so having a groupId associated to non-existing entity and to an ultimately non-registered domain seemed weird.
> - I checked the manifest and the OSGi support is apparently gone,
> since (I presume) you didn't know it was there or what it was. That
Exactly.
> makes deploying fastutil into any OSGi runtimes impossible without
> *again* maintaining my own fork or embedding fastutil into every
> client bundle. Especially the latter is clearly not an option. OSGi is
> the sanest way to safely share the classes between dozens of clients
> and save massive amounts of space. The fix for this is fairly easy;
> just manually generate the Manifest.info metadata and add it into the
> jar.
Please give me precise indications and I'll do it for all projects. I was expecting about a month of small fixes and suggestions trickling in--it has been two *very busy* days, believe me :).
Ciao,
seba
I totally forgot about it. And it's going to be a pain to generate
manually -- see, I told you trying to cater for Maven plugins manually
will be an increasingly going sore point ;)
The OSGi config is generated (in maven) by looking at class
relationships. If you unpack:
http://repo1.maven.org/maven2/it/unimi/dsi/fastutil/6.4.2/fastutil-6.4.2.jar
and look at the manifest file it'll contain these entries:
Implementation-Title: fastutil
Implementation-Version: 6.4.2
Implementation-Vendor-Id: it.unimi.dsi
Export-Package: it.unimi.dsi.fastutil.io;uses:="it.unimi.dsi.fastutil.
booleans,it.unimi.dsi.fastutil.bytes,it.unimi.dsi.fastutil.chars,it.u
nimi.dsi.fastutil.doubles,it.unimi.dsi.fastutil.floats,it.unimi.dsi.f
astutil.ints,it.unimi.dsi.fastutil.longs,it.unimi.dsi.fastutil.shorts
,it.unimi.dsi.fastutil";version="6.4.2",it.unimi.dsi.fastutil.chars;u
ses:="it.unimi.dsi.fastutil.objects,it.unimi.dsi.fastutil.booleans,it
....
Tool: Bnd-1.15.0
Bundle-Name: fastutil
Bundle-RequiredExecutionEnvironment: J2SE-1.5,JavaSE-1.6
Bundle-Version: 6.4.2
Bnd-LastModified: 1327614293624
Bundle-ManifestVersion: 2
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.html
Bundle-SymbolicName: it.unimi.dsi.fastutil
I guess you could just generate this statically and sed the version
number, but the export-package option will be tough. Maybe Holger
knows how to generate it using command line tools.
As for the namespace -- it's not unheard of to just keep the namespace
you once had, even if it's gone now. Holger does have a point in that
fragmenting your project across maven central is a pain. I'd stick to
the old name.
Dawid
That's actually interesting -- is it department restructuring (domain
will cease to exist) or is it really a shutdown of the institute? This
would be sad.
Dawid
> Say, are you going to move http://vigna.dsi.unimi.it/ (and friends)
> somewhere accessible, or it is better to go backup everything of
> interest right now, while there is time?
Well... what do you mean? The site?
Ciao,
seba
No, we're just merging with another department and we will change name.
Ciao,
seba
You already have it; what Sonatype gives you is a prefix. You're allowed
to publish under any groupID under it; since they've authorized you for
'it.unimi', you can push 'it.unimi.dsi'.
- Michael
--
Michael Ekstrand <ekst...@cs.umn.edu>
Ph.D candidate, Computer Science -- University of Minnesota
GroupLens Research: http://www.grouplens.org
window manager, n: a program for arranging multiple Emacs frames
> require the bnd jar to be added as build dependency. Where is the
> "official" source repo/tracker? Could not find it so far.
I've been trying to convince Sebastiano to use github for some time
now (hint, hint), but as far as I know there is no "in-progress"
repository in the traditional sense. Only bundle releases are pushed
(sources and binaries).
Dawid
> require the bnd jar to be added as build dependency. Where is the
> "official" source repo/tracker? Could not find it so far.
There is no such thing. There might be in the future. But one week of my life went away fighting with the Mavenverse, and I don't intend to put into it any more time for a while. If we must do this OSGi thing, it must be easy.
Presently we have an explicit POM, but all other projects have a pom-model and use ivy:makepom. If that makes it easier for you, we can switch to POM models in fastutil, too...
Ciao,
seba