You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2023/01/09 15:00:00 UTC

[jira] [Created] (CAMEL-18870) Error while generating OSGi manifest

Francois Papon created CAMEL-18870:
--------------------------------------

             Summary: Error while generating OSGi manifest
                 Key: CAMEL-18870
                 URL: https://issues.apache.org/jira/browse/CAMEL-18870
             Project: Camel
          Issue Type: Bug
          Components: camel-osgi
    Affects Versions: 3.21.0
            Reporter: Francois Papon


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|http://example.com]

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)