[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: maven2 for Debian



On Mon, Mar 05, 2007 at 08:41:07AM -0800, manfred@mosabuam.com wrote:
> Quoting Marcus Better <marcus@better.se>:
> 
> >Another issue: Maven projects tend to specify exact version of their
> >dependencies. For building Debian packages, we need to get Maven to use
> >whatever version we have in Debian (and just make sure it's recent enough).
> 
> Hi all!
> 
> I apologize if the following questions and suggestion sound silly to  
> you. I do not know that much about pacakging .. but I know a bit more  
> about Java and Maven..
> 
> There is a problem with this approach that I do not understand how  
> Debian packaging deals with anyway. In many Java projects I have seen  
> it is quite important to use the exact version of the libraries. The  
> Maven repository concept allows for a folder structure that keeps  
> things together and allows different versions of the same libraries to  
> live side by side peacefully. How does this work in Debian?
> 
> From what I can tell looking at the Debian libraries for Java some  
> use a version number and some don't. I think that should be changed so  
> that all libraries have to have a version number in their file name  
> and package names and allow mutliple versions to live peacefully side  
> by side.
>
> Otherwise it will be near impossible to get a lot of different  
> programs using the libraries without major headaches. Either from a QA  
> and packaging perspective if we use other versions that upstream or  
> otherwise from conflicts between differnet packages requiring  
> different versions of libraries.
> 
> As far as I can tell the problem exists because many libraries do  
> dramatic changes to their API quite regularly ..

Debian always installs jars with ther version number. The files without
version numbers are just symlinks to the latest version.

Debian only packages one (the latest) version of a Java software.
Everthing else would be a horror to support, security- and bloat-wise.

We patch the Java software to all use the same version of a Java
library.

This is Debian handles it. And its the only possible way for Debian
because of long release cycles with security support and all that.
This means a lot of work.

With Maven we will give the user the opportunity to be more uptodate
with Java software installed side-by-side with Debian packages.


Cheers,
Michael
-- 
 .''`.  | Michael Koch <konqueror@gmx.de>
: :' :  | Free Java Developer <http://www.classpath.org>
`. `'   |
  `-    | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B



Reply to: