06-04-2012 12:46 AM
Making a package for the marketplace, I'm trying the following syntax, with no success <update file="${package.root}/bundles/my-super-bundle-${property-from-pom.version}" todir="${env.bundles}" overwrite="true" />
But it works if I use <update file="${package.root}/bundles/my-super-bundle-1.0.0" todir="${env.bundles}" overwrite="true" />
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?
Thanks
06-04-2012 08:11 AM
I recommend to assemble the Marketplace package using nuxeo-distribution-tools.
You can give a look at nuxeo-marketplace-dm to see how it's done for Nuxeo DM Marketplace package.
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.
06-04-2012 08:11 AM
I recommend to assemble the Marketplace package using nuxeo-distribution-tools.
You can give a look at nuxeo-marketplace-dm to see how it's done for Nuxeo DM Marketplace package.
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.
06-04-2012 10:00 AM
We are using the nuxeo-distribution-tools.
06-04-2012 10:21 AM
Note the Marketplace package build is using a comparison between the two EAR-like artifacts [nuxeo-distribution-cap][1] and [nuxeo-distribution-dm][2].
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.