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
- Host: GitHub
- URL: https://github.com/agentlab/uimafit-v3-osgi
- Owner: agentlab
- License: apache-2.0
- Created: 2017-08-16T16:34:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-01T21:14:16.000Z (almost 9 years ago)
- Last Synced: 2025-07-31T03:23:07.372Z (11 months ago)
- Topics: gradle, java, osgi, uima
- Language: Java
- Size: 307 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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;