An open API service indexing awesome lists of open source software.

https://github.com/agentlab/uimafit-v3-osgi

Apache UIMA Fit v3 with OSGi support
https://github.com/agentlab/uimafit-v3-osgi

gradle java osgi uima

Last synced: about 1 month ago
JSON representation

Apache UIMA Fit v3 with OSGi support

Awesome Lists containing this project

README

          

# Apache UIMA Fit v3 with OSGi support
============

Proper OSGi version of the Apache UIMA Fit.

## Build

We are using Gradle as a build system.
To invoke the full build:

./gradlew resolve.debug
./gradlew clean build -x test

## Run Tests in Debugger

./gradlew resolve.debug
./gradlew clean test --debug-jvm --info --stacktrace

## Run Specific Test in Debugger

./gradlew resolve.debug
./gradlew -Dtest.single=Logging clean test --debug-jvm --info --stacktrace
gradle -Dtest.single=Logging* test

## Run OSGi Tests

gradle clean assemble testClasses
gradle resolve.debug
gradle testOSGi.debug

check WebConsole at http://127.0.0.1:9090/system/console

## Publish to local Maven repository

gradle clean publishToMavenLocal

## Code convention

1. Bundle projects should be located in 2-nd directory level (see settings.gradle);
2. Bundle projects should have `bnd.bnd` (can be empty) file to indicate that it is a bundle (see settings.gradle);
3. Bundle projects export packages that named like project itself, e.g. project `org.apache.uima.fit.osgi` export all packages which have name starting with `org.apache.uima.fit.osgi`;
4. File `bnd.bnd` can be used to customize bundle headers, all instructions takes priority over the defaults;
5. Test projects should be a Fragment bundles of the bundle under testing;
6. Bundle projects should locate java sources in the `src` folder;
7. Tests projects are deliverables too, so located in the `src` folder;