Eclipse + Maven + OSGi has never been so easy - Atllia Kiss

22
Eclipse + Maven + OSGi has never been so easy Attila Kiss Everit Kft.

Transcript of Eclipse + Maven + OSGi has never been so easy - Atllia Kiss

Eclipse + Maven + OSGihas never been so easy

Attila KissEverit Kft.

Stages of evolution ofmanaging an OSGi container

OSGi Console

Felix file install

Richconsole (E-OSGi Deployer)with eosgi-maven-plugin (v3.x)

Developmentto

Production

Test Driven Development

Environment configuration support

Local developmentContinuous Integration

Test / QA / Demo / etc.Live / Production / etc.

Why Maven?

We build and installbundles (Maven artifacts)

into OSGi containersnot packages.

<groupId>org.everit.osgi.dev</groupId>

<artifactId>eosgi-maven-plugin</artifactId>

<version>4.x</version>

eosgi:dist

XML templates

command line templates

OSGi environmentwith bundles and configuration

pom.xml

Dist package

eosgi:integration-test

OSGienvironment

eosgi:sync-back

eosgi:analyze

... -Dorg.osgi.framework.system.packages=javax.imageio,

javax.lang.model,javax...

eosgi-e4-plugin

http://marketplace.eclipse.org/content/everit-osgi-eclipse-plugin

Features● Built on eosgi-maven-plugin

– everything is configured in the pom.xml

– supporting artifacts with multiple versions

● Create distribution packages for different environment

● Environment start/stop

● Incremental upgrade of the dependencies using OSGi JMX Management Model Spec.

● Debug environment (not a remote debug)

● Configuration synchronization

DEMO

Main messages

● keep it simple for developers

● let them concentrate on business intelligence

● steep learning curve

Roadmap

● Hotkeys

● Remote dist

● Creating environment upgrade scripts with binaries

● Live configuration upgrade

● Supporting bug reports and feature requests

● etc.

● https://github.com/everit-org/eosgi-e4-plugin

● https://github.com/everit-org/eosgi-e4-plugin-demo

● http://www.everit.org/ecm

● http://www.everit.org/eosgi-maven-plugin

● http://www.everit.org/eosgi-e4-plugin

● http://marketplace.eclipse.org/content/everit-osgi-eclipse-plugin