Archetype generates app.bndrun with reference to wrong bundle ID
njbartlett opened this issue · 1 comments
njbartlett commented
I used the org.osgi.enroute.archetype:project:7.0.0-SNAPSHOT
archetype to generate a parent project. For groupId I entered org.example
and for artifactId I used org.example.parent
. I accepted the defaults for version, package, app-artifactId and impl-artifactId.
Building the generated project fails because app/app.bndrun
has the following line:
-runrequires: osgi.identity;filter:='(osgi.identity=org.example.impl)'
However the artifactId (and therefore the BSN) of the impl project is simply impl
, not org.example.impl
.
njbartlett commented
Ignore me... I got confused by the error on building I didn't notice the setting of BSN to ${groupId}.${artifactId}
in the parent POM.