You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Reto Bachmann-Gmür <re...@apache.org> on 2013/04/10 19:02:23 UTC

maven-bundle-plugin: Bundle-Version used as package version

Hi,

Since updating to version 2.3.7 (from 2.1.0) of the maven-bundle-plugin the
packages are exported with the Bundle-Version as package version.

E.g.

Export-Package: org.apache.clerezza.rdf.
enrichment;uses:="org.apache.cle
 rezza.rdf.core,org.apache.clerezza.utils,org.apache.clerezza.rdf.core.i
 mpl";version="0.2.0.SNAPSHOT"

instead of

Export-Package: org.apache.clerezza.rdf.
enrichment;uses:="org.apache.c
 lerezza.rdf.core,org.apache.clerezza.utils,org.apache.clerezza.rdf.co
 re.impl"

Is there a setting to change back to the old behaviour?

Cheers,
Reto

Re: maven-bundle-plugin: Bundle-Version used as package version

Posted by Neil Bartlett <nj...@gmail.com>.
Yep: <_nodefaultversion/>

See http://www.aqute.biz/Bnd/Format


On Wed, Apr 10, 2013 at 6:02 PM, Reto Bachmann-Gmür <re...@apache.org> wrote:

> Hi,
>
> Since updating to version 2.3.7 (from 2.1.0) of the maven-bundle-plugin the
> packages are exported with the Bundle-Version as package version.
>
> E.g.
>
> Export-Package: org.apache.clerezza.rdf.
> enrichment;uses:="org.apache.cle
>  rezza.rdf.core,org.apache.clerezza.utils,org.apache.clerezza.rdf.core.i
>  mpl";version="0.2.0.SNAPSHOT"
>
> instead of
>
> Export-Package: org.apache.clerezza.rdf.
> enrichment;uses:="org.apache.c
>  lerezza.rdf.core,org.apache.clerezza.utils,org.apache.clerezza.rdf.co
>  re.impl"
>
> Is there a setting to change back to the old behaviour?
>
> Cheers,
> Reto
>