<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Building with Tycho &#8211; part 1 (OSGi bundles)</title>
	<atom:link href="http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/</link>
	<description></description>
	<lastBuildDate>Mon, 23 Apr 2012 18:33:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Piyush</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-666</link>
		<dc:creator>Piyush</dc:creator>
		<pubDate>Wed, 18 Jan 2012 12:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-666</guid>
		<description>Hi Matthias,

I have a use case in which a plug-in project (PDE) needs to be build using maven.

I am following these steps:

-----------------------------------------------------------------------
1.	Created a simple plug-in project

2.	Ran following command to generate pom.xml :
mvn org.sonatype.tycho:maven-tycho-plugin:generate-poms -DgroupId=tychodemo.grp -Dtycho.targetPlatform=C:/Work/IDEs/eclipse-jpaas-indogo-sr1-win64/

Build success. Pom created using the above command.

3.	Ran following command for installation:
mvn clean install

Build Failed, [ERROR] Unknown packaging: eclipse-plugin @ line 8, column 14 : Added Tycho related build in pom.xml (manually)
This manual add was required since eclipse-plugin is not known to maven, and tycho being an extension of maven knows about it.


        0.13.0
     
  
     
        
           
              org.eclipse.tycho
              tycho-maven-plugin
              ${tycho-version}
              true
           
        
   

Using reference : http://wiki.eclipse.org/Tycho/Reference_Card

4.	Ran following command : 
mvn clean install -Dtycho.targetPlatform=C:/Work/IDEs/eclipse-jpaas-indogo-sr1-win64/

Build Success.

----------------------------------------------------------------
Now the build is done, is there a possibility I can eliminate the manual step of adding tycho related tags in 
pom.xml as in step 3 above, and the complete build is achieved by just commands?

Please let me know if you need more information.

Any help is appreciated.

Thanks &amp; Regards,
Piyush</description>
		<content:encoded><![CDATA[<p>Hi Matthias,</p>
<p>I have a use case in which a plug-in project (PDE) needs to be build using maven.</p>
<p>I am following these steps:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1.	Created a simple plug-in project</p>
<p>2.	Ran following command to generate pom.xml :<br />
mvn org.sonatype.tycho:maven-tycho-plugin:generate-poms -DgroupId=tychodemo.grp -Dtycho.targetPlatform=C:/Work/IDEs/eclipse-jpaas-indogo-sr1-win64/</p>
<p>Build success. Pom created using the above command.</p>
<p>3.	Ran following command for installation:<br />
mvn clean install</p>
<p>Build Failed, [ERROR] Unknown packaging: eclipse-plugin @ line 8, column 14 : Added Tycho related build in pom.xml (manually)<br />
This manual add was required since eclipse-plugin is not known to maven, and tycho being an extension of maven knows about it.</p>
<p>        0.13.0</p>
<p>              org.eclipse.tycho<br />
              tycho-maven-plugin<br />
              ${tycho-version}<br />
              true</p>
<p>Using reference : <a href="http://wiki.eclipse.org/Tycho/Reference_Card" rel="nofollow">http://wiki.eclipse.org/Tycho/Reference_Card</a></p>
<p>4.	Ran following command :<br />
mvn clean install -Dtycho.targetPlatform=C:/Work/IDEs/eclipse-jpaas-indogo-sr1-win64/</p>
<p>Build Success.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Now the build is done, is there a possibility I can eliminate the manual step of adding tycho related tags in<br />
pom.xml as in step 3 above, and the complete build is achieved by just commands?</p>
<p>Please let me know if you need more information.</p>
<p>Any help is appreciated.</p>
<p>Thanks &amp; Regards,<br />
Piyush</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Automated Build of RCP Artifacts with Maven Tycho &#8211; A field report (Part 1) &#171; Some Softwaremanagement</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-665</link>
		<dc:creator>Automated Build of RCP Artifacts with Maven Tycho &#8211; A field report (Part 1) &#171; Some Softwaremanagement</dc:creator>
		<pubDate>Sat, 14 Jan 2012 18:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-665</guid>
		<description>[...] Maven Tycho Home Page [2] Tutorial by Matthias Holmqvist &#8211; Good for the first introduction [3] Tutorial with example (in German) [4] Nexus P2 Repository Plugin (Experimental Feature) [5] [...]</description>
		<content:encoded><![CDATA[<p>[...] Maven Tycho Home Page [2] Tutorial by Matthias Holmqvist &#8211; Good for the first introduction [3] Tutorial with example (in German) [4] Nexus P2 Repository Plugin (Experimental Feature) [5] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silvano</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-293</link>
		<dc:creator>Silvano</dc:creator>
		<pubDate>Wed, 08 Jun 2011 14:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-293</guid>
		<description>Hi Matthias

I have a bundle project which references (through Manifest &quot;Require-Bundle&quot;) other OSGi bundles I have developed. Building with Tycho I&#039;m getting a P2 error like

&quot;... requires &#039;bundle one.of.my.bundles 1.0.0&#039; but it could not be found&quot; ... org.eclipse.equinox.p2.core.ProvisionException

My bundles exist in the local Maven repo. Is there a way for having Tycho resolve bundle dependencies it finds in &quot;Require-Bundle&quot;, by first looking into my local Maven repository first?

Silvano</description>
		<content:encoded><![CDATA[<p>Hi Matthias</p>
<p>I have a bundle project which references (through Manifest &#8220;Require-Bundle&#8221;) other OSGi bundles I have developed. Building with Tycho I&#8217;m getting a P2 error like</p>
<p>&#8220;&#8230; requires &#8216;bundle one.of.my.bundles 1.0.0&#8242; but it could not be found&#8221; &#8230; org.eclipse.equinox.p2.core.ProvisionException</p>
<p>My bundles exist in the local Maven repo. Is there a way for having Tycho resolve bundle dependencies it finds in &#8220;Require-Bundle&#8221;, by first looking into my local Maven repository first?</p>
<p>Silvano</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Nentwich</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-288</link>
		<dc:creator>Christian Nentwich</dc:creator>
		<pubDate>Mon, 06 Jun 2011 21:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-288</guid>
		<description>Hi Mattias,

thanks for this excellent series of articles; this was really useful when we started out.

We&#039;re writing a series on some &quot;real world issues&quot; when moving existing products to Tycho and TeamCity, hopefully to repay the favour and help somebody else! :)

Starts here: http://blog.modeltwozero.com/2011/06/moving-to-tycho-and-teamcity-part-1.html</description>
		<content:encoded><![CDATA[<p>Hi Mattias,</p>
<p>thanks for this excellent series of articles; this was really useful when we started out.</p>
<p>We&#8217;re writing a series on some &#8220;real world issues&#8221; when moving existing products to Tycho and TeamCity, hopefully to repay the favour and help somebody else! <img src='http://mattiasholmqvist.se/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Starts here: <a href="http://blog.modeltwozero.com/2011/06/moving-to-tycho-and-teamcity-part-1.html" rel="nofollow">http://blog.modeltwozero.com/2011/06/moving-to-tycho-and-teamcity-part-1.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CuriousMind</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-270</link>
		<dc:creator>CuriousMind</dc:creator>
		<pubDate>Sun, 29 May 2011 05:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-270</guid>
		<description>Hi mattias,
Thanks for the article. I followed the steps that you have mentioned in the article and could able to build a plugin.
Later I tried to extend it by defining CLASSPATH VARIABLE in Java build path as M2_REPO. I added a log4j library using the M2_REPO variable and tried compiling the project using same steps defined above. But this time, I got compilation error and it seems maven-osgi-compiler-plugin is not referring to the M2_REPO classpath variable. I am stuck here and not able to proceed, can you please tell me where I am going wrong?</description>
		<content:encoded><![CDATA[<p>Hi mattias,<br />
Thanks for the article. I followed the steps that you have mentioned in the article and could able to build a plugin.<br />
Later I tried to extend it by defining CLASSPATH VARIABLE in Java build path as M2_REPO. I added a log4j library using the M2_REPO variable and tried compiling the project using same steps defined above. But this time, I got compilation error and it seems maven-osgi-compiler-plugin is not referring to the M2_REPO classpath variable. I am stuck here and not able to proceed, can you please tell me where I am going wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mattias Holmqvist</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-260</link>
		<dc:creator>Mattias Holmqvist</dc:creator>
		<pubDate>Mon, 23 May 2011 20:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-260</guid>
		<description>I actually never tried this on Maven 3, but if you ask the people at the Tycho mailing list, I bet they&#039;ll know what differs between Maven 2 and Maven 3. If it&#039;s not that important for you to use Maven 3, try using a release of Maven 2 to follow this tutorial. Good luck!</description>
		<content:encoded><![CDATA[<p>I actually never tried this on Maven 3, but if you ask the people at the Tycho mailing list, I bet they&#8217;ll know what differs between Maven 2 and Maven 3. If it&#8217;s not that important for you to use Maven 3, try using a release of Maven 2 to follow this tutorial. Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-257</link>
		<dc:creator>Steven</dc:creator>
		<pubDate>Fri, 20 May 2011 14:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-257</guid>
		<description>I am using maven3 download from http://maven.apache.org/download.html and I also try m2eclipse plugin and I still get this error: Unknown packaging: eclipse-plugin for eclipse-plugin</description>
		<content:encoded><![CDATA[<p>I am using maven3 download from <a href="http://maven.apache.org/download.html" rel="nofollow">http://maven.apache.org/download.html</a> and I also try m2eclipse plugin and I still get this error: Unknown packaging: eclipse-plugin for eclipse-plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Getting Started &#171; Christian Kerl</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-247</link>
		<dc:creator>Getting Started &#171; Christian Kerl</dc:creator>
		<pubDate>Mon, 09 May 2011 17:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-247</guid>
		<description>[...] it is not my first Tycho setup, the project structure and pom.xml files are based on the excellent tutorial series by Mattias Holmqvist and the Sonar IDE&#8217;s Eclipse [...]</description>
		<content:encoded><![CDATA[<p>[...] it is not my first Tycho setup, the project structure and pom.xml files are based on the excellent tutorial series by Mattias Holmqvist and the Sonar IDE&#8217;s Eclipse [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-196</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Mon, 14 Mar 2011 14:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-196</guid>
		<description>Hi,

is it possible to define the tycho.targetPlatform not as parameter or property? I would like to define the target platform in the pom.xml pointing to 2 directories (eclipse and delta pack for instance or to eclipse and rap runtime).

Regards,
Oliver</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>is it possible to define the tycho.targetPlatform not as parameter or property? I would like to define the target platform in the pom.xml pointing to 2 directories (eclipse and delta pack for instance or to eclipse and rap runtime).</p>
<p>Regards,<br />
Oliver</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Hill</title>
		<link>http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/comment-page-1/#comment-194</link>
		<dc:creator>Christian Hill</dc:creator>
		<pubDate>Tue, 01 Mar 2011 09:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://briljant.joyeurs.com/wordpress/?p=31#comment-194</guid>
		<description>&gt; Unknown packaging: eclipse-plugin
If you get this error message you are propably using the wrong version of Maven. The version you can download from Apache isn&#039;t built with tycho support.
You&#039;ll need to install a version of Sonatype (http://repository.sonatype.org/content/repositories/tycho-pseudo-releases/org/codehaus/tycho/tycho-distribution/). 

Version Camparison shows:
From Apache: Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
From Sonatype: Apache Maven 3.0-TYCHO-818442 (r818615; 2009-09-24 23:00:12+0200)</description>
		<content:encoded><![CDATA[<p>&gt; Unknown packaging: eclipse-plugin<br />
If you get this error message you are propably using the wrong version of Maven. The version you can download from Apache isn&#8217;t built with tycho support.<br />
You&#8217;ll need to install a version of Sonatype (<a href="http://repository.sonatype.org/content/repositories/tycho-pseudo-releases/org/codehaus/tycho/tycho-distribution/" rel="nofollow">http://repository.sonatype.org/content/repositories/tycho-pseudo-releases/org/codehaus/tycho/tycho-distribution/</a>). </p>
<p>Version Camparison shows:<br />
From Apache: Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)<br />
From Sonatype: Apache Maven 3.0-TYCHO-818442 (r818615; 2009-09-24 23:00:12+0200)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

