Hi,
Currently we specify versions of exported packages in the pom. This is
not ideal as it means whenever anyone makes a change in a package they
have to edit the pom, also you need to sync the version correctly
between the bundles and the uber bundles.
bnd supports the packageinfo files (and also annotations in
package-info.java), but those are not currently picked up and used in
our build. I raise FELIX-2819 and a workaround has been suggested,
which I managed to get working.
The fix would be to add the following to the default-pom and get the
modules to use the updated parent:
<resource>
<directory>${project.build.sourceDirectory}</directory>
<includes>
<include>**/packageinfo</include>
</includes>
</resource>
Thoughts?
Alasdair
--
Alasdair Nottingham
[email protected]