OSGi enRoute, the OSGi development environment that provides a quick and easy path to OSGi benefits, now enables Maven users to consume and deliver projects in Nexus and Artifactory repository servers, making it easier to take advantage of OSGi enRoute’s easy-to-use tool chain while collaborating with existing projects.

OSGi enRoute is an OSGi Release 6 development environment that includes a complete tool chain based on Eclipse, Bndtools and Gradle, plus an extensive website with tutorials, examples, application notes and a forum. With OSGi enRoute, a developer can get started with OSGi and make a single-page web application in just minutes. From there, it is easy to extend OSGi enRoute with the large number of OSGi open source components.

Maven integration for OSGi enRoute makes it possible to work seamlessly together with popular Maven repositories hosted on Nexus, Artifactory or on any plain web-based file server. OSGi enRoute Maven support is provided by Bndtools 3.2.0, which works directly with local Maven repositories. Every change in the project will automatically install the bundles in the local repository. Developers can release bundles to a remote or file-based repository with the Bndtools Release Tool or during continuous integration. Snapshots are fully supported.

Bundles developed in Bndtools can also directly use Maven artifacts from the local repository or any file or HTTP based repository. This makes it possible for Maven users to leverage the Bndtools resolver to create OSGi runtimes.

“Our latest product at Liferay has undergone massive changes to build a more modular runtime around OSGi, thus enabling our developers to build their own applications using best-of-breed tools such as Bndtools and OSGi enRoute,” said Gregory Amerson, software architect, Liferay Developer Tools, Liferay, Inc. “However, nearly all of our enterprise clients are still heavily using Maven, making it hard or awkward at times to adopt Bndtools-style workspaces.  With the latest release of Bndtools 3.2.0, the greatly improved Maven support has completely removed this barrier to entry and will be crucial in the adoption of these tools for our developers.”

The OSGi enRoute website includes a tutorial on how to setup Bndtools to work with Maven projects using m2eclipse or the command line.

The next release of OSGi enRoute will make all bundles available in a Maven repository and provide tutorials and examples of how to build OSGi enRoute applications with Maven only.

Bndtools development is supported by Paremus, Luminis, the OSGi Alliance, CloudBees DEV@cloud and YourKit Java Profiler.