bndtools

bndtools pom repository local path


Does the local parameter of aQute.bnd.repository.maven.pom.provider.BndPomRepository; support relative paths? And if yes, based from where: the osgi-workspace, or the osgi-project?


Solution

  • Use a macro like local=${osfile;{.}/.m2/repository;} This will create a absolute path on execution/access of bnd to the value. The macro is resolving an absolute path from the relative path.