<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Osgi on cat /dev/snapshot</title><link>https://rumpf.eu/michael/tags/osgi/</link><description>Recent content in Osgi on cat /dev/snapshot</description><generator>Hugo -- 0.154.5</generator><language>en</language><lastBuildDate>Sat, 31 Dec 2011 16:36:00 +0100</lastBuildDate><atom:link href="https://rumpf.eu/michael/tags/osgi/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploying weld-osgi to jcoderz.org repository</title><link>https://rumpf.eu/michael/posts/2011-12-31-for-deploying-weld-osgi-to-jcoderz/</link><pubDate>Sat, 31 Dec 2011 16:36:00 +0100</pubDate><guid>https://rumpf.eu/michael/posts/2011-12-31-for-deploying-weld-osgi-to-jcoderz/</guid><description>&lt;p&gt;For deploying weld-osgi to the jcoderz.org repository the following modifications to the &lt;code&gt;pom.xml&lt;/code&gt;
files are necessary (after applying the wagon-ssh extensions to the your Maven installation, see previous post):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Deploy the WELD API packages&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git clone -b WELD-963 http://github.com/mathieuancelin/api.git WELD-963
cd WELD-963
vi pom.xml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Add the following XMl fragment to the maven-deploy-plugin&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;   &amp;lt;build&amp;gt;
      &amp;lt;plugins&amp;gt;
         &amp;lt;plugin&amp;gt;
            &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;
            &amp;lt;artifactId&amp;gt;maven-deploy-plugin&amp;lt;/artifactId&amp;gt;
            &amp;lt;configuration&amp;gt;
               &amp;lt;skip&amp;gt;true&amp;lt;/skip&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;dependencies&amp;gt;
              &amp;lt;dependency&amp;gt;
                &amp;lt;groupId&amp;gt;org.apache.maven.wagon&amp;lt;/groupId&amp;gt;
                &amp;lt;artifactId&amp;gt;wagon-ssh&amp;lt;/artifactId&amp;gt;
                &amp;lt;version&amp;gt;2.2&amp;lt;/version&amp;gt;
              &amp;lt;/dependency&amp;gt;
            &amp;lt;/dependencies&amp;gt;
         &amp;lt;/plugin&amp;gt;
      &amp;lt;/plugins&amp;gt;
   &amp;lt;/build&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;mvn -e clean install -Dmaven.test.skip=true
mvn -e deploy -DaltDeploymentRepository=jcoderz-snapshots::default::scp://jcoderz.org/var/www/repos/maven2-snapshot/ -Dmaven.test.skip=true
cd ..
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt; &lt;br&gt;
2. Deploy the WELD OSGi packages&lt;/p&gt;</description></item><item><title>Building weld-osgi</title><link>https://rumpf.eu/michael/posts/2011-12-06-building-weld-osgi/</link><pubDate>Tue, 06 Dec 2011 23:11:00 +0100</pubDate><guid>https://rumpf.eu/michael/posts/2011-12-06-building-weld-osgi/</guid><description>&lt;p&gt;In case you want to use &lt;a href="http://seamframework.org/Weld"&gt;Weld&lt;/a&gt; inside your OSGi application you first need to compile a few branches on your own:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/mathieuancelin/api/tree/WELD-963"&gt;WELD-963&lt;/a&gt; branch of the weld/api project&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/mathieuancelin/core/tree/weld-osgi"&gt;weld-osgi&lt;/a&gt; branch from the weld/core project&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Those branches will soon be merged into the official Weld codebase. But in the meantime you need to follow the steps below in order to get the packages compiled.&lt;br&gt;
A prerequisite is that git and Maven 3 is available&lt;/p&gt;</description></item></channel></rss>