From: Robert B. D. <rob...@gm...> - 2009-07-14 07:23:07
|
On Mon, Jun 8, 2009 at 8:56 PM, Robert Burrell Donkin<rob...@gm...> wrote: > On Mon, Jun 8, 2009 at 8:02 PM, Brian Wellington<bwe...@xb...> wrote: >> On Sun, 7 Jun 2009, Robert Burrell Donkin wrote: >> >>> firstly, kudos for dnsjava :-) >>> >>> i'd like to be able to use dnsjava more easily downstream in maven and >>> OSGi environments. for maven this means uploading releases to the >>> central repository. for OSGi this means including some additional meta >>> data in the META-INF. >>> >>> the easiest way to achieve both would be to create a suitable maven >>> build for the current release and then maintain it in addition to the >>> existing ant one. there are two ways i could go about this: either >>> forking downstream the source of each release with added maven build >>> or by supplying patches for an upstream maven build here and then >>> arranging for a maven synchronization repository. >> >> If I added stuff to the dnsjava repository for every external framework that >> wanted it, there would be a ton of what would end up unmaintained code that >> people would report bugs to me about. >> >> As there aren't very many releases (there hasn't been one in almost 18 >> months, and aren't likely to be more than one in the near future), forking >> downstream for each release doesn't seem like all that much work. > > fine i've created a suitable project (http://sourceforge.net/projects/dnsjava-osgi/ https://www.ohloh.net/p/dnsjavaosgi), set up a synchronizing repository for Maven (http://repo1.maven.org/maven2/net/sf/dnsjava-osgi/dnsjava-osgi/) and an OSGi enabled build process. this means that the major work is now done and supporting other releases should be easy. another digit is prefixed to the dnsjava release number to indicate the repackaging version, for example 2.0.6.1 is the second repackaged release of 2.0.6. downstream users should now be able to declare <dependency> <groupId>net.sf.dnsjava-osgi</groupId> <artifactId>dnsjava-osgi</artifactId> <version>2.0.6.1</version> <dependency> if maven users want to use dnsjava 2.0.6 if anyone else wants to volunteer to help maintain further releases, i'd be happy to grant karma. just contact me off list. - robert |