============
Proper OSGi version of the Apache UIMA Fit.
We are using Gradle as a build system. To invoke the full build:
./gradlew resolve.debug
./gradlew clean build -x test
./gradlew resolve.debug
./gradlew clean test --debug-jvm --info --stacktrace
./gradlew resolve.debug
./gradlew -Dtest.single=Logging clean test --debug-jvm --info --stacktrace
gradle -Dtest.single=Logging* test
gradle clean assemble testClasses
gradle resolve.debug
gradle testOSGi.debug
check WebConsole at http://127.0.0.1:9090/system/console
gradle clean publishToMavenLocal
- Bundle projects should be located in 2-nd directory level (see settings.gradle);
- Bundle projects should have
bnd.bnd
(can be empty) file to indicate that it is a bundle (see settings.gradle); - Bundle projects export packages that named like project itself, e.g. project
org.apache.uima.fit.osgi
export all packages which have name starting withorg.apache.uima.fit.osgi
; - File
bnd.bnd
can be used to customize bundle headers, all instructions takes priority over the defaults; - Test projects should be a Fragment bundles of the bundle under testing;
- Bundle projects should locate java sources in the
src
folder; - Tests projects are deliverables too, so located in the
src
folder;