Tag Archives: OSGi

Sonatype's coming to a city near you


June 21, 2010 By hloney

Thanks again to all of the attendees and participants at the Sonatype and Eclipse Maven Meetup and DemoCamp last week.  It was a great event, and the Sonatype team is looking forward to the next Maven Meeetup.  There are some exciting events coming up in the next few months that Sonatype will be attending.  Keep reading to see the tentative schedule.  Hopefully we will be at an event near you.

Upcoming events:

Eclipse DemoCamp – Toronto, Ontario – June 29, 2010

JavaZone – Oslo, Norway – September 8-9, 2010

JavaOne – San Francisco – September 19-23, 2010

OSGI  Community event – London, U.K – September 29-30, 2010

NewYork JavaSIG Meetup – New York – October 2010

Eclipse Summit Europe – Ludwigsburg, Germany – November 2010

Eclipse Day Paris – Paris – November 2010

Have your say – Take part in our poll below:

Discuss the Future of Maven in Philadelphia


April 1, 2010 By hloney

April 7, 2010 Sonatype is hosting a Maven Meetup in downtown Philadelphia ahead of Emerging Technology for the Enterprise.  Take part in presentations given by the developers who are building the Maven software you will be using in the future.  Registration is filling up fast, there are only a few seats left.  Learn about Apache Maven, Hudson, Nexus, Sonar, Felix, OSGi, Tycho, Selenium, and more.  Visit www.sonatype.com/meetup2010 for more information about presentations and registration.

Maven Meetup April 7, 2010 8:00 AM – 5:00 PM Sheraton Society Hill (downtown) Philadephia, PA

Choose from a range of sessions presented by the Maven developers.  Sessions will include:

  • Maven in the Enterprise
  • Git, JGit & EGit
  • OSGi Runtimes
  • OSGi Provisioning with P2
  • Nexus
  • Moving from Plexus to Guice
  • Hudson
  • Tycho: Enterprise OSGI Builds
  • m2eclipse
  • Selenium
  • Peaberry
  • Nexus & OSGi

Continue reading

Apache Maven Meetup Next Week!


March 29, 2010 By hloney

It’s not too late to register for the Sonatype Maven Meetup taking place on April 7, 2010 ahead of Emerging Technologies for the Enterprise in Philadelphia.  Meet with Maven aficionados, sit in on presentations about Maven 3, Tycho, OSGi, Peaberry, and much more.

Choose from a dozen different sessions throughout the day, presented by the developers who are building the Maven software you’ll be using in the future.  Join us for an interactive BoF session at the end of the day, followed by a reception.

Special Promotion — Bring a Friend for Free

Register one attendee at the $190 standard registration rate, and have a friend join you at no charge.

Visit www.sonatype.com/meetup2010 to register or for more information.  When you register, add “+1″ after your name to receive the special promotion pricing for you and a friend.

Seating is limited

Maven Tips and Tricks: Creating an OSGi Project with Maven


September 22, 2009 By Tim O'Brien

This post is a quick start guide to using the Maven PAX plugin to create OSGi project and start an OSGi runtime environment (Apache Felix). First, use the Maven Pax Plugin from OPS4J, and call the create-project goal. The following command-line will create a multi-module project with a groupId of org.sonatype.mhandbook, an artifactId of osgi-project, and a version of 1.0-SNAPSHOT:

~/examples/osgi $ mvn org.ops4j:maven-pax-plugin:create-project \
  -DgroupId=org.sonatype.mhandbook \
  -DartifactId=osgi-project \
  -Dversion=1.0-SNAPSHOT
[INFO] Scanning for projects...
[INFO] artifact org.ops4j:maven-pax-plugin: checking for updates from central
[INFO] Building Maven Default Project
[INFO]    task-segment: [org.ops4j:maven-pax-plugin:create-project] (aggregator
-style)
[INFO] [pax:create-project]
[INFO] Selecting latest archetype release within version range [1,2)
[INFO] artifact org.ops4j.pax.construct:maven-archetype-osgi-project: checking
for updates from central
[INFO] Using following parameters for creating Archetype: maven-archetype-osgi-
project:1.0.3
[INFO] Parameter: packageName, Value: org.sonatype.mhandbook.osgi-project
[INFO] Parameter: archetypeVersion, Value: 1.0.3
[INFO] Parameter: groupId, Value: org.sonatype.mhandbook
[INFO] Parameter: archetypeArtifactId, Value: maven-archetype-osgi-project
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: archetypeGroupId, Value: org.ops4j.pax.construct
[INFO] Parameter: basedir, Value: ~/examples/osgi
[INFO] Parameter: package, Value: org.sonatype.mhandbook.osgi-project
[INFO] Parameter: artifactId, Value: osgi-project
[INFO] ********************* End of debug info from resources from generated POM
[INFO] Archetype created in dir: ~/examples/osgi/osgi-project

Once you’ve generated an OSGi project using the Pax Plugin, you will have the following directory structure:

Continue reading

Introduction to OSGi with Pax, Maven, and Nexus Professional


July 20, 2009 By Tim O'Brien

We’ve released a pre-alpha version of the Maven Cookbook which contains a chapter on OSGi development with Maven via the Pax plugin from OPS4J. This chapter contains a series of recipes which will walk you through the process of creating an OSGi project, importing bundles from both a Maven repository and existing OSGi Bundle Repositories (OBR), and executing an OSGi runtime environment all with the help of the Maven Pax Plugin. The last few chapters provide a road map for developers interested in hosting and combining multiple Maven and OBR repositories into a single repository group with Nexus.

To read the pre-alpha, version 0.1.1 release of the Maven Cookbook, you can: