<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sonatype Blog &#187; OSGi</title>
	<atom:link href="http://www.sonatype.com/people/category/osgi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sonatype.com/people</link>
	<description>Sonatype is transforming software development with tools, information and services that enable organizations to build better software, faster, using open-source components.</description>
	<lastBuildDate>Wed, 23 May 2012 14:24:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Apache maven-bundle-plugin 2.2.0 released!</title>
		<link>http://www.sonatype.com/people/2011/01/maven-bundle-plugin-220/</link>
		<comments>http://www.sonatype.com/people/2011/01/maven-bundle-plugin-220/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 15:35:48 +0000</pubDate>
		<dc:creator>Stuart McCulloch</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[Sonatype]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=7100</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2011/01/maven-bundle-plugin-220/' addthis:title='Apache maven-bundle-plugin 2.2.0 released! '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>Today I released version 2.2.0 of the maven-bundle-plugin from Apache Felix. This release may look like a minor update because it only contains two fixes, but one of them is very important. The workhorse behind the maven-bundle-plugin, Peter Kriens&#8217; bnd tool, has been upgraded from 0.0.384 to 1.15.0. The new version is much smarter in deciding [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2011/01/maven-bundle-plugin-220/' addthis:title='Apache maven-bundle-plugin 2.2.0 released! '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Today I released version 2.2.0 of the <a title="maven-bundle-plugin" href="http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html" target="_blank">maven-bundle-plugin</a> from <a title="Apache Felix" href="http://felix.apache.org/" target="_blank">Apache Felix</a>. This release may look like a minor update because it only contains two fixes, but one of them is very important. The workhorse behind the maven-bundle-plugin, Peter Kriens&#8217; <a title="bnd tool" href="http://www.aqute.biz/Code/Bnd" target="_blank">bnd</a> tool, has been upgraded from 0.0.384 to 1.15.0. The new version is much smarter in deciding which packages to export and import, and supports easy creation of Web Archive Bundles (WABs) which can act both as bundles and standard WAR files. Add numerous other small improvements and fixes to the mix and this should result in a much better experience overall.</p>

<p>Special mention should be made of the efforts of Juven Xu and Peter Kriens who worked together to add <a title="Nexus" href="http://nexus.sonatype.org/" target="_blank">Nexus</a> <a title="Nexus OSS Hosting" href="https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide" target="_blank">OSS</a> staging to Peter&#8217;s Ant build. Previously bnd artifacts were manually uploaded by occasional third-party requests to MAVENUPLOAD, often a very laborious process. Third-party uploads to Maven Central have since been <a title="Third-party Releases" href="https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Maven+Central" target="_blank">streamlined</a> and automated with Nexus, but OSS hosting is still preferred by project owners who want to stage and check artifacts as part of their regular build process.</p>

<p>On behalf of all the OSGi developers who use the maven-bundle-plugin I&#8217;d like to thank Juven and Peter for their work getting the latest versions of bnd onto Maven Central!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sonatype.com/people/2011/01/maven-bundle-plugin-220/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build a RAP application with Tycho</title>
		<link>http://www.sonatype.com/people/2011/01/how-to-build-a-rap-application-with-tycho/</link>
		<comments>http://www.sonatype.com/people/2011/01/how-to-build-a-rap-application-with-tycho/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 15:25:38 +0000</pubDate>
		<dc:creator>Jason van Zyl</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[Tycho]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=7103</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2011/01/how-to-build-a-rap-application-with-tycho/' addthis:title='How to build a RAP application with Tycho '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>Holger Staudacher, at EclipseSource, has a good writeup of his experience evaluating Tycho for the Runtime Packaging Project (RTP). Here&#8217;s an excerpt of what he has to say: Recently I played around a little with Tycho because we evaluated it for the use in the RTP project. As a test case, I decided to try [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2011/01/how-to-build-a-rap-application-with-tycho/' addthis:title='How to build a RAP application with Tycho '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Holger Staudacher, at <a href="http://eclipsesource.com">EclipseSource</a>, has a good writeup of his experience evaluating <a href="http://tycho.sonatype.org">Tycho</a> for the <a href="http://www.eclipse.org/proposals/rt-packaging/">Runtime Packaging Project (RTP)</a>. Here&#8217;s an excerpt of what he has to say:</p>

<blockquote>
Recently I played around a little with Tycho because we evaluated it for the use in the RTP project. As a test case, I decided to try to build a RAP application with Tycho. With building I mean compiling and packaging the artifacts into a WAR file in order to deploy them on a Tomcat or another Servlet Container.

I have to say that I’m really impressed with Tycho. Before this experience&#8230;
</blockquote>

<p>It&#8217;s great to see different projects trying Tycho at the Eclipse Foundation: having standard recipes for building <a href="http://eclipse.org/rap">RAP</a> applications would be extremely useful addition for the community. RAP is not something that Sonatype is directly involved with so it&#8217;s great to get this varied perspective, and different applications types so we can make sure Tycho will work for as many use cases as possible. Thanks Holger!</p>

<p>Holger has some good <a href="https://github.com/hstaudacher/org.eclipse.rap.build.examples">examples at Github</a>, and you can find his original blog entry <a href="http://eclipsesource.com/blogs/2011/01/17/how-to-build-a-rap-application-with-tycho/">here</a>.</p>

<p>We are currently working on submitting the CQs for Tycho so we can move the project over to the Eclipse Foundation. I think Wayne Beaton said he wanted to help with those CQs. Right Wayne? <img src='http://www.sonatype.com/people/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sonatype.com/people/2011/01/how-to-build-a-rap-application-with-tycho/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maven 3.0-alpha-3 Released!</title>
		<link>http://www.sonatype.com/people/2009/11/maven-30-alpha-3-released/</link>
		<comments>http://www.sonatype.com/people/2009/11/maven-30-alpha-3-released/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 11:40:21 +0000</pubDate>
		<dc:creator>Jason van Zyl</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[m2eclipse]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[Sonatype]]></category>
		<category><![CDATA[Tycho]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=3330</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/11/maven-30-alpha-3-released/' addthis:title='Maven 3.0-alpha-3 Released! '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>For those you following along with our story on improving Maven, you&#8217;ll happy to know that we have made a significant step today with the release of Maven 3.0-alpha-3. Though we are marking this as an alpha release, we are largely feature complete for Maven 3.0 and consider this to be the best version of [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/11/maven-30-alpha-3-released/' addthis:title='Maven 3.0-alpha-3 Released! '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>For those you <a href="http://www.sonatype.com/people/2009/11/maven-3x-paving-the-desire-lines-part-one-2/">following</a> <a href="http://www.sonatype.com/people/2009/11/maven-3x-paving-the-desire-lines-part-two/">along</a> with our story on improving Maven, you&#8217;ll happy to know that we have made a significant step today with the release of <a href="http://maven.apache.org/download.html">Maven 3.0-alpha-3</a>. Though we are marking this as an alpha release, we are largely feature complete for Maven 3.0 and consider this to be the best version of Maven that has ever existed.</p>

<p>Our primary goals with Maven 3.0 are:</p>

<p>1) Provide a drop-in replacement for Maven 2.x. You should not have to change your POMs, or rewrite plugins. Your projects should just work.</p>

<p>2) Provide a more reliable, stable and performant Maven. We have tried to make Maven 3.x faster and we&#8217;ve succeeded for any of the projects that we&#8217;ve tested. We have a performance framework in place to make sure we don&#8217;t regress. We are measuring network I/O, disk I/O, CPU utilization and memory usage. We also have a massive number of integration tests to make sure the behaviour remains consistent and compatible as we progress. We simply aren&#8217;t going to go backward at this point.</p>

<p>3) Synchronize the <a href="http://m2eclipse.sonatype.org">M2Eclipse</a> releases with Maven 3.x so that we can immediately push fixes from Maven 3.x into M2Eclipse. For a long time M2Eclipse was out of sync with Maven trunk and created a great number of problems. We are now completely in sync and within hours of making changes in Maven 3.x they make it into the CI builds of M2Eclipse.</p>

<p>4) Provide an easy way to embed Maven as a library. I think we&#8217;ve really proven this with M2Eclipse but <a href="http://www.sonatype.com">Sonatype</a> has two other efforts taking place. The first is to embed Maven 3.0 into <a href="https://hudson.dev.java.net">Hudson</a> and the second is to embed Maven 3.0 into <a href="http://nexus.sonatype.org">Nexus</a>. The APIs that we are creating not being final is largely why we are still releasing alphas. From a CLI perspective we&#8217;re pretty much done, from an embedding perspective we still have some work to do.</p>

<p>4) Provide a solid base for extensions and reuse. There are three efforts going on here which are pushing the boundaries of Maven 3.x:</p>

<ul>
<li><p><a href="http://tycho.sonatype.org">Tycho</a>: Which is Sonatype&#8217;s toolchain for building OSGi bundles and Eclipse plugins &amp; RCP applications. The changes that we made in Maven 3.x to accommodate the embedding of an OSGi runtime (in our case Equinox) was non-trivial. We&#8217;ve been working on this for over a year and we have what we believe to be the best hybridization of Maven and OSGi technologies. Maven was stretched, and pushed and pulled to get all of this to work. I believe the current adoption of Tycho by the <a href="http://www.eclipse.org/tigerstripe/">Tigerstripe</a> at <a href="http://www.eclipse.org">Eclipse.org</a> is a sign of things to come. Users want to build OSGi bundles and Eclipse plugins using real OSGi technologies with Maven and we have delivered.</p></li>
<li><p>Polyglot Maven: This is our attempt to create a great degree of flexibility in the core of Maven 3.x. We provide the ability to easily pull POM information from any data source and allow DSLs access to core functionality in Maven to create new tools using Maven 3.x. The development of Polyglot Maven has sparked a lot of interest and we hope to make public release in the next month.</p></li>
<li><p>Maven Shell: An attempt to provide an embedded form of Maven for typical CLI users. We are planning to</p>

<ul>
<li>Provide more intelligent caching implementation to make builds faster. Already we are seeing 100-200% speed increases over using the standard CLI (which itself is already faster then Maven 2.x).</li>
<li>Integrate a powerful form of the Make-like reactor that is built into Maven 3.x to make working in the shell extremely efficient.</li>
<li>Integrate an advanced form of Archetype so that we can provide a power scaffolding framework for general application development.</li>
</ul></li>
</ul>

<p>We are not forgetting about documentation either. All the work that has been done in Maven 3.x is currently being documented in Maven: The Definitive Guide and we will be complete when Maven 3.0 goes GA. We also have some pretty cool site generation tools that I am using to create a new Maven 3.0 site which is also be ready in time for the final release.</p>

<p>For now, Benjamin and I are preparing for any feedback from users who want to try the alpha-3 release and we&#8217;ll be standing by to apply patches and make fixes for anything that users find &#8212; just like we have for the last year. This is part of Sonatype&#8217;s ongoing committment to help sustain the Maven ecosystem to provide the support, tooling, and documentation to help get new users and developers involved.</p>

<p>You can download the Maven 3.0-alpha-3 here:</p>

<ul>
<li><a href="http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0-alpha-3-bin.zip">http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0-alpha-3-bin.zip</a></li>
<li><a href="http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0-alpha-3-bin.gz">http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0-alpha-3-bin.tar.gz</a></li>
<li><a href="http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0-alpha-3-bin.tar.bz2">http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0-alpha-3-bin.tar.bz2</a></li>
</ul>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sonatype.com/people/2009/11/maven-30-alpha-3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to OSGi with Pax, Maven, and Nexus Professional</title>
		<link>http://www.sonatype.com/people/2009/07/introduction-to-osgi-with-pax-maven-and-nexus-professional/</link>
		<comments>http://www.sonatype.com/people/2009/07/introduction-to-osgi-with-pax-maven-and-nexus-professional/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 15:34:31 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Book]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[pax]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=2634</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/07/introduction-to-osgi-with-pax-maven-and-nexus-professional/' addthis:title='Introduction to OSGi with Pax, Maven, and Nexus Professional '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>We&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/07/introduction-to-osgi-with-pax-maven-and-nexus-professional/' addthis:title='Introduction to OSGi with Pax, Maven, and Nexus Professional '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>We&#8217;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.</p>

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

<ul>
   <li><a href="http://tr.im/tc3l">Read the Maven Cookbook on Scribd</a></li>
   <li><a href="http://www.sonatype.com/books/mcookbook/reference/">Read the Cookbook Online</a></li>
   <li><a href="http://www.sonatype.com/maven/documentation/download-cookbook?file=books/maven-cookbook.pdf">Download a PDF of the Maven Cookbook</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sonatype.com/people/2009/07/introduction-to-osgi-with-pax-maven-and-nexus-professional/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexus Pro: Support for OSGi Bundle Repositories (OBRs)</title>
		<link>http://www.sonatype.com/people/2009/07/nexus-pro-support-for-osgi-bundle-repositories/</link>
		<comments>http://www.sonatype.com/people/2009/07/nexus-pro-support-for-osgi-bundle-repositories/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 17:49:16 +0000</pubDate>
		<dc:creator>Stuart McCulloch</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[nexus pro]]></category>
		<category><![CDATA[Sonatype]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=2383</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/07/nexus-pro-support-for-osgi-bundle-repositories/' addthis:title='Nexus Pro: Support for OSGi Bundle Repositories (OBRs) '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>Over the last month or so I have been working on adding OSGi Bundle Repository (OBR) support to Nexus Professional, and I am happy to announce this feature will be available in the 1.3.5 release. But what exactly is OBR and why should you care? OBR has been around since 2006, it defines a small [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/07/nexus-pro-support-for-osgi-bundle-repositories/' addthis:title='Nexus Pro: Support for OSGi Bundle Repositories (OBRs) '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p style="text-align: justify;">Over the last month or so I have been working on adding OSGi Bundle Repository (<a title="OSGi Bundle Repository" href="http://www.osgi.org/blog/2006/04/bundle-repository.html" target="_blank">OBR</a>) support to Nexus Professional, and I am happy to announce this feature will be available in the 1.3.5 release. But what exactly <strong>is</strong> OBR and why should you care?</p>

<p style="text-align: justify;">OBR has been around since 2006, it defines a small XML schema and Java API that allows clients to discover and deploy OSGi bundles by matching capabilities with requirements. Distributors provide XML describing their bundles, and this is used by OBR service implementations running on OSGi frameworks. Management clients talk to their local OBR service using the Java API.</p>

<p><span id="more-2383"></span></p>

<h2 style="text-align: justify;">Example</h2>

<p style="text-align: justify;">Here&#8217;s a concrete example, the Apache Felix project has XML describing their bundle releases:</p>

<p style="padding-left: 30px; text-align: justify;"><a title="OBR of Apache Felix releases" href="http://felix.apache.org/obr/releases.xml" target="_blank">http://felix.apache.org/obr/releases.xml</a></p>

<p style="text-align: justify;">They also provide an OBR service implementation that works on any R4 OSGi framework:</p>

<pre style="padding-left: 30px; text-align: justify;">&lt;dependency&gt;
  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
  &lt;artifactId&gt;org.apache.felix.bundlerepository&lt;/artifactId&gt;
  &lt;version&gt;1.4.0&lt;/version&gt;
&lt;/dependency&gt;</pre>

<p style="text-align: justify;">Let&#8217;s see OBR in action!</p>

<ol style="text-align: justify;">
    <li>Go to <a title="Apache Felix Downloads" href="http://felix.apache.org/site/downloads.cgi" target="_blank">http://felix.apache.org/site/downloads.cgi</a> and download the 1.8.0 distribution</li>
    <li>Extract Felix 1.8.0 to a local temporary directory</li>
    <li><code>cd felix-1.8.0</code></li>
    <li><code>java -jar bin/felix.jar</code></li>
</ol>

<p style="text-align: justify;">You should see the Felix command shell, type <em>obr</em> to see the available OBR commands:</p>

<pre style="padding-left: 30px; text-align: justify;"> Welcome to Felix.
 =================
 -&gt; obr
 obr help [add-url | remove-url | list-url | list | info | deploy | start | source | javadoc]
 obr add-url [&lt;repository-file-url&gt; ...]
 obr refresh-url [&lt;repository-file-url&gt; ...]
 obr remove-url [&lt;repository-file-url&gt; ...]
 obr list-url
 obr list [-v] [&lt;string&gt; ...]
 obr info &lt;bundle-name&gt;|&lt;bundle-symbolic-name&gt;|&lt;bundle-id&gt;[;&lt;version&gt;] ...
 obr deploy &lt;bundle-name&gt;|&lt;bundle-symbolic-name&gt;|&lt;bundle-id&gt;[;&lt;version&gt;] ...
 obr start &lt;bundle-name&gt;|&lt;bundle-symbolic-name&gt;|&lt;bundle-id&gt;[;&lt;version&gt;] ...
 obr source [-x] &lt;local-dir&gt; &lt;bundle-name&gt;[;&lt;version&gt;] ...
 obr javadoc [-x] &lt;local-dir&gt; &lt;bundle-name&gt;[;&lt;version&gt;] ...</pre>

<p style="text-align: justify;">This service is pre-configured to use the Felix OBR, to see a list of released bundles type:</p>

<pre style="padding-left: 30px; text-align: justify;"> -&gt; obr list
 Apache Felix Bundle Repository (1.2.1, ...)
 Apache Felix Configuration Admin Service (1.0.4, ...)
 Apache Felix Declarative Services (1.0.8, ...)
 Apache Felix EventAdmin (1.0.0)
 Apache Felix File Install (1.2.0, ...)
 Apache Felix HTTP Service Jetty (1.0.1, ...)
 Apache Felix iPOJO (1.2.0, ...)
 Apache Felix iPOJO (0.8.0)
 Apache Felix iPOJO Arch Command (1.2.0, ...)
 Apache Felix iPOJO Composite (1.2.0)
 Apache Felix iPOJO Composite (1.0.0, ...)
 Apache Felix iPOJO Event Admin Handler (1.2.0, ...)
 Apache Felix iPOJO Extender Pattern Handler (1.2.0)
 Apache Felix iPOJO Extender Pattern Handler (1.0.0, ...)
 Apache Felix iPOJO JMX Handler (1.2.0, ...)
 Apache Felix iPOJO Temporal Service Dependency Handler (1.2.0, ...)
 Apache Felix iPOJO White Board Pattern Handler (1.2.0, ...)
 Apache Felix Log Service (1.0.0)
 Apache Felix Metatype Service (1.0.2, ...)
 Apache Felix Prefrences Service (1.0.2)
 Apache Felix Remote Shell (1.0.2)
 Apache Felix Shell Service (1.0.2, ...)
 Apache Felix Shell TUI (1.0.2, ...)
 Apache Felix UPnP Base Driver (0.8.0)
 Apache Felix UPnP Extra (0.4.0)
 Apache Felix UPnP Tester (0.4.0)
 Apache Felix Web Management Console (1.2.10, ...)
 OSGi OBR Service API (1.0.0)
 OSGi R4 Compendium Bundle (4.0.0)
 Servlet 2.1 API (1.0.0)
 -&gt;</pre>

<p style="text-align: justify;">Say we&#8217;re interested in the Felix Web Management Console, to deploy and start this bundle type:</p>

<pre style="padding-left: 30px; text-align: justify;"> -&gt; obr start 'Apache Felix Web Management Console'
 Target resource(s):
 ------------------–
    Apache Felix Web Management Console (1.2.10)
 Required resource(s):
 --------------------–
    Apache Felix HTTP Service Jetty (1.0.1)
    OSGi R4 Compendium Bundle (4.0.0)
    Apache Felix Log Service (1.0.0)
    Apache Felix Declarative Services (1.0.8)
 Deploying...org.mortbay.log:Logging to org.mortbay.log via org.apache.felix.http.jetty.LogServiceLog
 org.mortbay.log:Init SecureRandom.
 done.
 -&gt;</pre>

<p style="text-align: justify;">Notice the OBR service was able to deduce we needed other bundles to successfully run the Web Management Console, and it automatically deployed and started them as well. To prove that the Web Console is now up and running, go to <a title="Apache Felix Web Console" href="http://localhost:8080/system/console/" target="_blank">http://localhost:8080/system/console/</a> and log on using <em>admin</em> as both the user-id and password.</p>

<div class="mceTemp" style="text-align: justify;"><dl id="attachment_2518" class="wp-caption alignleft" style="width: 977px;"> <dt class="wp-caption-dt"><img class="size-full wp-image-2518 " title="felix_web_console" src="http://www.sonatype.com/people/wp-content/uploads/2009/07/felix_web_console.png" alt="Apache Felix Web Management Console" width="967" /></dt> <dd class="wp-caption-dd">Apache Felix Web Management Console</dd> </dl></div>

<h2 style="text-align: justify;">Nexus Pro</h2>

<p style="text-align: justify;">That should have given you a taste of OBR, but how does this relate to Nexus Professional?</p>

<p style="text-align: justify;">Well with Nexus Pro 1.3.5 you will be able to:</p>

<ol style="text-align: justify;">
    <li> dynamically generate OBR metadata for your existing repositories</li>
    <li>proxy and cache remote OBRs, including both metadata and bundles</li>
    <li>host local OBRs and deploy bundles into them using the UI or Maven</li>
    <li>group all of the above types of OBRs into a single merged OBR</li>
    <li>apply CRUD privileges to control access to particular bundles</li>
</ol>

<p style="text-align: justify;">Basically the same things you can do with Maven and P2 repositories you can now do with OBR!</p>

<p style="text-align: justify;">This <a title="Nexus Professional OBR demonstration" href="http://www.sonatype.com/people/wp-content/uploads/2009/07/nexus_obr_demo.swf" target="_blank">screencast</a> shows how you can quickly build up and use OBR metadata using Nexus Professional 1.3.5. We have also been able to reconstruct the OSGi Alliance <a title="OSGi Alliance Bundle Repository" href="http://www.osgi.org/Repository/HomePage" target="_blank">repository</a> in a matter of minutes by proxying known public sites and grouping them into a single OBR.</p>

<h2 style="text-align: justify;">Future</h2>

<p style="text-align: justify;">What does the future hold for OBR? Well although it&#8217;s existed as a draft specification since 2006, it has not yet been formally standardized by the OSGi Alliance. Since then alternative approaches have appeared, such as <a title="P2 support in Nexus Professional" href="http://www.sonatype.com/people/2009/04/nexus-pro-support-for-eclipse-p2-repositories/" target="_blank">P2</a>. The OSGi Alliance have therefore decided to revisit the original requirements and see where OBR can be improved, given what we know now about deploying large applications in OSGi.</p>

<p style="text-align: justify;">So the final OBR specification might vary from the current draft, but if you use Nexus Professional to manage and generate your OBR metadata this shouldn&#8217;t bother you. The repository abstraction in Nexus makes it very easy to add support for new metadata formats, which means we will be able to support both the old and new formats as required.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sonatype.com/people/2009/07/nexus-pro-support-for-osgi-bundle-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexus Pro: Support for Eclipse P2 Repositories</title>
		<link>http://www.sonatype.com/people/2009/04/nexus-pro-support-for-eclipse-p2-repositories/</link>
		<comments>http://www.sonatype.com/people/2009/04/nexus-pro-support-for-eclipse-p2-repositories/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 14:54:06 +0000</pubDate>
		<dc:creator>Jason van Zyl</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[Sonatype]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=2010</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/04/nexus-pro-support-for-eclipse-p2-repositories/' addthis:title='Nexus Pro: Support for Eclipse P2 Repositories '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>At Sonatype we&#8217;re starting to release some of the P2 related support we&#8217;re developing. The release of Nexus 1.3.2 has the basis for all our future P2 work. We see Nexus Pro helping OSGi users to provision their systems whether that be a developer desktops or server side instances. We will be making provisions (pun [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/04/nexus-pro-support-for-eclipse-p2-repositories/' addthis:title='Nexus Pro: Support for Eclipse P2 Repositories '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>At Sonatype we&#8217;re starting to release some of the P2 related support we&#8217;re developing. The release of Nexus 1.3.2 has the basis for all our future P2 work. We see <a href="http://www.sonatype.com/nexus">Nexus Pro</a> helping OSGi users to provision their systems whether that be a developer desktops or server side instances. We will be making provisions (pun intended) to support some very sophisticate server side provisioning, but in the Nexus 1.3.2 release we are focusing squarely on helping organizations manage their Eclipse installations for their developers.</p>

<p><span id="more-2010"></span>Nexus Professional has support for Eclipse P2 repositories, and it can serve Eclipse plugin artifacts to tools that know how to interact with the Eclipse P2 repository format including Eclipse 3.4 Ganymede. If you use the Eclipse IDE, you probably have a set of plugins which every single developer needs to install to get productive. Using Nexus Professional, you can combine multiple Eclipse update sites into a single URL which your developers can use when they are configuring a development environment. Using Nexus Professional as a single point-of-access between your developers and the Eclipse update sites they depend on allows you to manage and define a set of common Eclipse plugins in your organization&#8217;s Eclipse development environment.</p>

<p>You can now easily manage all your 3rd party artifacts whether they be JARs, OSGi bundles, or Eclipse plugins. Not only managing how these artifacts are consumed, but how they are exposed within your organization, tracking how they were acquired, and helping produce the necessary bill of materials at the end of the development cycle. We&#8217;re pretty excited about the features we&#8217;re developing in Nexus!</p>

<p>You can watch a screencast of our P2 support here:</p>

<p><object width="601" height="338"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4102464&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4102464&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object><br /><a href="http://vimeo.com/4102464">Provisioning Eclipse with Nexus Pro</a> from <a href="http://vimeo.com/sonatype">Sonatype</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sonatype.com/people/2009/04/nexus-pro-support-for-eclipse-p2-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

