<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating marketplace package with variables in install.xml in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323236#M10237</link>
    <description>&lt;P&gt;I recommend to assemble the Marketplace package using &lt;A href="https://github.com/nuxeo/nuxeo-distribution-tools"&gt;nuxeo-distribution-tools&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;You can give a look at &lt;A href="https://github.com/nuxeo/nuxeo-distribution/tree/master/nuxeo-marketplace-dm"&gt;nuxeo-marketplace-dm&lt;/A&gt; to see how it's done for Nuxeo DM Marketplace package.&lt;/P&gt;
&lt;P&gt;About your question, you could use Ant replacement with Maven variables (thanks to nuxeo-distribution-tools) but note the update command accepts a directory as input: you don't need to list each bundle with its precise name, simply provide the directory containing the bundles you want to be deployed by your package.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2012 12:11:25 GMT</pubDate>
    <dc:creator>Julien_Carsique</dc:creator>
    <dc:date>2012-06-04T12:11:25Z</dc:date>
    <item>
      <title>Creating marketplace package with variables in install.xml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323235#M10236</link>
      <description>&lt;P&gt;Making a package for the marketplace, I'm trying the following syntax, with no success
&amp;lt;update file="${package.root}/bundles/my-super-bundle-${property-from-pom.version}" todir="${env.bundles}" overwrite="true" /&amp;gt;&lt;/P&gt;
&lt;P&gt;But it works if I use
&amp;lt;update file="${package.root}/bundles/my-super-bundle-1.0.0" todir="${env.bundles}" overwrite="true" /&amp;gt;&lt;/P&gt;
&lt;P&gt;As my bundle contains a few jar, I'd like to be able to define my version number in one place (the pom.xml file) and reuse it in assembly.xml and install.xml. Is there a way/syntax to do it or do I have to revert to replacement with the maven filtering mechanism?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 04:46:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323235#M10236</guid>
      <dc:creator>patrek</dc:creator>
      <dc:date>2012-06-04T04:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating marketplace package with variables in install.xml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323236#M10237</link>
      <description>&lt;P&gt;I recommend to assemble the Marketplace package using &lt;A href="https://github.com/nuxeo/nuxeo-distribution-tools"&gt;nuxeo-distribution-tools&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;You can give a look at &lt;A href="https://github.com/nuxeo/nuxeo-distribution/tree/master/nuxeo-marketplace-dm"&gt;nuxeo-marketplace-dm&lt;/A&gt; to see how it's done for Nuxeo DM Marketplace package.&lt;/P&gt;
&lt;P&gt;About your question, you could use Ant replacement with Maven variables (thanks to nuxeo-distribution-tools) but note the update command accepts a directory as input: you don't need to list each bundle with its precise name, simply provide the directory containing the bundles you want to be deployed by your package.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:11:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323236#M10237</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-06-04T12:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating marketplace package with variables in install.xml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323237#M10238</link>
      <description>&lt;P&gt;We are using the nuxeo-distribution-tools.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 14:00:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323237#M10238</guid>
      <dc:creator>patrek</dc:creator>
      <dc:date>2012-06-04T14:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating marketplace package with variables in install.xml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323238#M10239</link>
      <description>&lt;P&gt;Note the Marketplace package build is using a comparison between the two EAR-like artifacts [nuxeo-distribution-cap][1] and [nuxeo-distribution-dm][2].&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 14:21:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/creating-marketplace-package-with-variables-in-install-xml/m-p/323238#M10239</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-06-04T14:21:46Z</dc:date>
    </item>
  </channel>
</rss>

