simile-vicino: depends on ancient commons-compress library #4228
Labels
PR: Dependencies
Used for pull requests that update the project's dependencies to newer versions.
Type: Bug
Issues related to software defects or unexpected behavior, which require resolution.
Milestone
Hello,
as part of the effort to package OpenRefine for Debian I discovered that simile-vicino depends on an ancient commons-compress artifact. I couldn't open an issue there, so I hope it makes sense to file a bug report here.
commons-compress commons-compress 20050911The problem is that Debian and other Linux distributions try to ship only one library version to reduce code duplication and possible security vulnerabilities in the distribution. The latest commons-compress version in Debian does not ship the required CBZip2OutputStream class in src/edu/mit/simile/vicino/distances/BZip2Distance.java anymore.
Interestingly at some point in time the Ant project imported the exact same code, so it would be possible to depend on Ant and still be able to compile vicino.
Of course depending on another Java build system makes no sense. I see two solutions. Either we could replace the CBZip2OutputStream class / functionality or import the necessary code into vicino. At the moment I did the latter in Debian. zip file is attched.
CBZip2OutputStream.zip
The text was updated successfully, but these errors were encountered: