You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Andre Schlegel-Tylla <an...@virtimo.de> on 2023/09/18 13:05:13 UTC

Building custom Karaf distribution with Karaf 4.4.4 not working

Hello,

We are building a custom Karaf distro with the karaf-mavem-plugin. I have
increased the Karaf version from 4.4.3 to 4.4.4.

The maven build is failing with this error: [ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.4.4:assembly
(default-assembly) on project karaf: Unable to build assembly: Could not
find matching feature for spifly/0.0.0 -> [Help 1]

When I switch back to Karaf 4.4.3 all is working fine. Has anyone an idea
what the problem is?

Regards
Andre

Re: Building custom Karaf distribution with Karaf 4.4.4 not working

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Andre

Thanks for the update, we gonna fix that.

Regards
JB

On Tue, Sep 19, 2023 at 2:52 PM Andre Schlegel-Tylla
<an...@virtimo.de> wrote:
>
> I have created an issue for pax-web https://github.com/ops4j/org.ops4j.pax.web/issues/1895
>
> Without this feature we can't use the RewriteHandler.
>
> regards
> Andre

Re: Building custom Karaf distribution with Karaf 4.4.4 not working

Posted by Andre Schlegel-Tylla <an...@virtimo.de>.
I have created an issue for pax-web
https://github.com/ops4j/org.ops4j.pax.web/issues/1895

Without this feature we can't use the RewriteHandler.

regards
Andre

Re: Building custom Karaf distribution with Karaf 4.4.4 not working

Posted by Andre Schlegel-Tylla <an...@virtimo.de>.
Hello,

I have cutted down our pom and I have found the entry which causes the
build failure. We have pax-web-jetty-extras in our bootFeatures. This was
needed because of this issue
https://github.com/ops4j/org.ops4j.pax.web/issues/1712 .

I will check if this feature is still needed.

regards
Andre

Re: Building custom Karaf distribution with Karaf 4.4.4 not working

Posted by Mark Derricutt <ma...@talios.com>.
Switching to 4.4.4 on our custom builds went smooth as.

Except for my Java 20 branch which died with no longer having
javax.activation - tho I suspect that’s more a JDK 20 / ME issue than
anything in Karaf.

Mark

-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree


On 19/09/2023 at 1:48:24 AM, Grzegorz Grzybek <gr...@gmail.com> wrote:

> Hello
>
> Hmm, not much has changed between these:
>  -
> https://repo1.maven.org/maven2/org/apache/karaf/features/specs/4.4.3/specs-4.4.3-features.xml
>  -
> https://repo1.maven.org/maven2/org/apache/karaf/features/specs/4.4.4/specs-4.4.4-features.xml
>
> only the version...
>
> regards
> Grzegorz Grzybek
>
> pon., 18 wrz 2023 o 15:05 Andre Schlegel-Tylla <
> andre.schlegel-tylla@virtimo.de> napisał(a):
>
>> Hello,
>>
>> We are building a custom Karaf distro with the karaf-mavem-plugin. I have
>> increased the Karaf version from 4.4.3 to 4.4.4.
>>
>> The maven build is failing with this error: [ERROR] Failed to execute
>> goal org.apache.karaf.tooling:karaf-maven-plugin:4.4.4:assembly
>> (default-assembly) on project karaf: Unable to build assembly: Could not
>> find matching feature for spifly/0.0.0 -> [Help 1]
>>
>> When I switch back to Karaf 4.4.3 all is working fine. Has anyone an idea
>> what the problem is?
>>
>> Regards
>> Andre
>>
>

Re: Building custom Karaf distribution with Karaf 4.4.4 not working

Posted by Grzegorz Grzybek <gr...@gmail.com>.
Hello

Hmm, not much has changed between these:
 -
https://repo1.maven.org/maven2/org/apache/karaf/features/specs/4.4.3/specs-4.4.3-features.xml
 -
https://repo1.maven.org/maven2/org/apache/karaf/features/specs/4.4.4/specs-4.4.4-features.xml

only the version...

regards
Grzegorz Grzybek

pon., 18 wrz 2023 o 15:05 Andre Schlegel-Tylla <
andre.schlegel-tylla@virtimo.de> napisał(a):

> Hello,
>
> We are building a custom Karaf distro with the karaf-mavem-plugin. I have
> increased the Karaf version from 4.4.3 to 4.4.4.
>
> The maven build is failing with this error: [ERROR] Failed to execute goal
> org.apache.karaf.tooling:karaf-maven-plugin:4.4.4:assembly
> (default-assembly) on project karaf: Unable to build assembly: Could not
> find matching feature for spifly/0.0.0 -> [Help 1]
>
> When I switch back to Karaf 4.4.3 all is working fine. Has anyone an idea
> what the problem is?
>
> Regards
> Andre
>