Hi Chris,

So it turns out that Peter has a secret stash of bnd versions that don't get to standard maven repos. I suggest that the maven-bundle- plugin just includes the bnd classes so it can be updated reasonably often without forcing everyone to put peters' repo in their nexus configuration.

See https://issues.apache.org/jira/browse/FELIX-2176

I can't see any use in:
1. the copied Builder class, so I just removed it
2. src/main/java/org/apache/felix/bundleplugin/ PackageVersionAnalyzer.java which really doesn't compile any more, so I commented out the code. If this is really not needed then obviously it would be better to remove this class entirely.

The tests pass and it seems to work on a sample project, and the new flags work great. If anyone can identify problems from the removed code I'll try to fix them.... otherwise it would be pretty handy to have this applied.

thanks
david jencks

On Mar 4, 2010, at 7:49 PM, Chris Custine wrote:

Hi David,
I haven't tried this lately, but you could try bootstrapping in a specific
version of bnd as Stuart points out in this Jira issue:
https://issues.apache.org/jira/browse/FELIX-2003 (I can't find any other
docs about this).

<https://issues.apache.org/jira/browse/FELIX-2003>Assuming there are no incompatible changes in bnd you could then try the bnd instructions like
<_versionpolicy-impl>[${version;==;$...@}},${version;=+;$...@}})</_
versionpolicy-impl>

Chris

--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Felix :: http://felix.apache.org
Apache Directory Server :: http://directory.apache.org


On Thu, Mar 4, 2010 at 7:58 PM, David Jencks <[email protected]> wrote:

It looks like Peter has implemented some nice new features in bnd.... in
particular the fancier version policies described here

http://www.aqute.biz/Code/XBnd

However I don't see a release at maven central including this code. Is
there any process for moving towards a more up to date maven plugin?

thanks
david jencks



Reply via email to