[
https://issues.apache.org/jira/browse/FELIX-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709832#comment-13709832
]
Guillaume Sauthier commented on FELIX-4169:
-------------------------------------------
Looks like Bnd uses the previously generated META-INF/MANIFEST.MF file and the
bnd-ipojo-plugin blindly add component's definitions to the existing manifest.
A first approach would be to ignore previously created manifest (may have
unknown impact), another one to just ignore the existing IPojo-Components
manifest attribute (better).
A third approach would be to see if the element is already in the manifest, if
not, add it, otherwise ignore it (complex to do).
Second approach looks better IMHO
> bnd ipojo plugin adds components description to MANIFEST when they are
> already therein
> ---------------------------------------------------------------------------------------
>
> Key: FELIX-4169
> URL: https://issues.apache.org/jira/browse/FELIX-4169
> Project: Felix
> Issue Type: Bug
> Components: iPOJO, Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.3.7
> Reporter: Mohammed Boukada
>
> my use case:
> I install a maven module, I did :
> mvn clean install
> after minor modifications, I did:
> mvn install (without clean)
> in target/classes/META-INF/MANIFEST.MF, bnd plugin adds ipojo components
> description to the manifest even if they were already added. In runtime,
> factories are duplicated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira