How to release tika core - uyuni-project/uyuni GitHub Wiki

Uyuni makes use of the tika-core package. It is part of a bigger project so packaging with tetra is not that straightforward. What has been done in the past is that simply download the tika-core package from https://github.com/apache/tika/tree/main/tika-core, remove the pom file and add the build.xml file, license file, and buildconf directory with the needed files(please see the current version available in OBS and simply copy this directory, it works in most cases).

Hacks

  1. To make things simple and avoid the OSGi dependency, remove the class org.apache.tika.config.TikaActivator.java. This is only needed when running within OSGi.

2- Get rid of all the package-info.java from all the directories to avoid another dependency issue related to OSGi.

Then simply archive, bump the version, and build using osc.