[ https://issues.apache.org/jira/browse/CAMEL-18870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17699731#comment-17699731 ]
Francois Papon commented on CAMEL-18870: ---------------------------------------- [~davsclaus] PR pushed: https://github.com/apache/camel/pull/9523 > Error while generating OSGi manifest > ------------------------------------ > > Key: CAMEL-18870 > URL: https://issues.apache.org/jira/browse/CAMEL-18870 > Project: Camel > Issue Type: Task > Components: camel-osgi > Affects Versions: 3.21.0 > Reporter: Francois Papon > Priority: Major > Labels: osgi > Fix For: 3.21.0 > > > The build of OSGi manifest is broken when building camel-karaf main branch: > > {code:java} > on project camel-core-osgi: Internal error in maven-bundle-plugin: Calc > manifest failed, state= > ... > Unclosed group near index 12 > [ERROR] \$(?:replace > {code} > > The problem seems related to this commit (remove slash): > [https://github.com/apache/camel/commit/82b8cf1f28252bb7fc26bfd37df6219f3fd46b37|https://github.com/apache/camel/commit/82b8cf1f28252bb7fc26bfd37df6219f3fd46b37] > Replacing this: > {code:java} > <camel.osgi.export.pkg>$${replace;{local-packages};;;;}</camel.osgi.export.pkg>{code} > by this from previous version: > {code:java} > <camel.osgi.export.pkg>$${replace;{local-packages};;;\;}</camel.osgi.export.pkg>{code} > seems to fix the problem. > May be [~gnodet] can give more insights about this change before revert > or fixing it. -- This message was sent by Atlassian Jira (v8.20.10#820010)