p2-maven-plugin icon indicating copy to clipboard operation
p2-maven-plugin copied to clipboard

feature don't respect override version of bundle

Open hieplq opened this issue 7 years ago • 1 comments

I modify version of artifact by override, everything fine but on feature version is not update, it use old value

<artifacts> <artifact> <id>org.javassist:javassist:${zk-javassist-src-version}</id> <source>false</source> <transitive>false</transitive> <override>true</override> <instructions> <Bundle-SymbolicName>zjavassist</Bundle-SymbolicName> <Bundle-Name>zjavassist</Bundle-Name> <!-- this work-around can generate bundle with version is ${zk-version}, but feature still use version from artifact id, mean ${zk-javassist-src-version}, it let target recognize wrong bundle --> <!-- need to adjust feature at next step --> <Bundle-Version>${zk-version}</Bundle-Version> </instructions> </artifact> </artifacts>

hieplq avatar Feb 24 '18 05:02 hieplq

Yes I'm suffering of the same issue. If <Bundle-Version/> is set, the plugin reference in the feature should contain the same version string....

pom.xml

ivy-rew avatar Jul 10 '18 13:07 ivy-rew