buildobr


since 2.3 From a bunch of jar artifacts, generate an OBR (OSGi Bundle Repository) descriptor. It could be then used by the obr resolver.
AttributeDescriptionRequired
outthe location of the descriptor file to generateYes
resolverNamethe name of the resolver from which the jars should be to gatheredNo
cacheNamethe name of the cache from which the jars should be to gatheredNo
baseDirthe folder into whicch the jars should be gather recursivelyNo
encodingThe encoding of the resulting xml fileNo. Defaults to UTF-8
indentSpecify if the xml result file should be indentedNo. Defaults to true
quietLog as debug rather than warning the rejected jars as they are illformedNo. Defaults to false

Examples

    <ivy:buildobr baseDir="${eclipse.home}" out="${basedir}/target/repo-eclipse.xml" indent="true" />
Builds an indented OBR descriptor from an Eclipse install, with their path relative to the Eclipse install.


    <ivy:configure file="ivysettings.xml" />
<ivy:buildobr resolverName="my-file-resolver" out="${basedir}/target/repo-eclipse.xml" />
Configure an Ivy settings and builds an OBR descriptor from jars resolved by the defined resolver.


    <ivy:configure file="ivysettings.xml" />
<ivy:buildobr cacheName="my-cache" out="${basedir}/target/repo-eclipse.xml" />
Configure an Ivy settings and builds an OBR descriptor from jars contained in the defined cache.