bndtools/bndtools — Issue #309: Release to a local OBR repository removes other entries in repository.xml
Author: lindsayismith
Created: 2011-12-01 21:14:06+00:00
State: open

I have an OBR repository set up to point at the repository.xml file in my local maven repo. This repository.xml file was created using the bnd indexer from the maven bundle plugin. Bndtools was successfully able to read from this repo for adding build path bundles etc.

I created a bundle then released it to this repository. After the release, the repository.xml file only contains information about the bundle released through bndtools - it has removed all the information about the other bundles.

If I repeat this process, when the bundle is released the repository.xml file is left with only the descriptions of the bundles released through bndtools - e.g. one for each time I release it. All other entries are removed.

Here's an example of an entry added by bndtools during release:

4125

Import package com.aviarc.core

The removed entries were all created using the maven-bundle-plugin. The following command was used to created the index:

mvn org.apache.felix:maven-bundle-plugin:2.3.5:index -DurlTemplate=%p/%f

Here's an example entry created by this indexing process that was removed during the bundle release:

4615

The only difference I can see is that is has the file:/ prefix on the uri....