<dependency>
<groupId>com.basistech.osgi.template</groupId>
<artifactId>rosette-osgi-template-component-core</artifactId>
<version>${project.version}</version>
<!-- We don't want our osgi bundle to pull in a maven
dependency on the non-osgi modules when consumed.
Note that this dependency will still show up in maven
dependency:tree.
-->
<optional>true</optional>
</dependency>
-includeresource: \
lib/=${com.basistech.osgi.template:rosette-osgi-template-component-core:jar};lib:=true
Result:
[WARNING] /Users/benson/x/rosette-osgi/template/component/osgi/bnd.bnd [0:0]: No translation found for macro: com.basistech.osgi.template:rosette-osgi-template-component-core:jar
Same result with and without the optional element.
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
`${com.basistech.osgi.template:rosette-osgi-template-component-core:jar}` is not a legitimate bnd macro value. See http://bnd.bndtools.org/chapters/850-macros.html for a list of macros (although that list needs updating.)