You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by ellirael <el...@mail.ru> on 2016/02/17 14:37:16 UTC
Building karaf custom destribution with eventadmin as a startup
feature
I've a got a problem when define eventadmin feature as a startup feature. As
it should be. When I do it the build of custom destribution fails with
bundle resolve errors.
My work around is to maually defne startup.properties file and put it in
archive during build.
I describe then eventadmin as installed feature.
--
View this message in context: http://karaf.922171.n3.nabble.com/Building-karaf-custom-destribution-with-eventadmin-as-a-startup-feature-tp4045415.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Building karaf custom destribution with eventadmin as a startup feature
Posted by Oliver Lietz <ap...@oliverlietz.de>.
On Wednesday 17 February 2016 15:35:02 ellirael wrote:
> jbonofre wrote
>
> > I remember I changed the assembly archetype due to an issue when an user
> > define eventadmin as boot or startup feature.
>
> Does it mean I should wait for a bug fix and removing runtime scope for
> standard feature is another work-around?
Any news on this topic? I had to extend the configuration in POM and add some
files also to reassemble a custom distribution[1] to make it more like Karaf's
default one. This is _very_ inconvenient but works.
Regards,
O.
[1]
https://github.com/apache/sling/tree/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-distribution
Re: Building karaf custom destribution with eventadmin as a startup
feature
Posted by ellirael <el...@mail.ru>.
jbonofre wrote
> I remember I changed the assembly archetype due to an issue when an user
> define eventadmin as boot or startup feature.
Does it mean I should wait for a bug fix and removing runtime scope for
standard feature is another work-around?
--
View this message in context: http://karaf.922171.n3.nabble.com/Building-karaf-custom-destribution-with-eventadmin-as-a-startup-feature-tp4045415p4045433.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Building karaf custom destribution with eventadmin as a startup
feature
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I remember I changed the assembly archetype due to an issue when an user
define eventadmin as boot or startup feature.
Regards
JB
On 02/17/2016 07:27 PM, Jean-Baptiste Onofré wrote:
> Hi,
>
> Don't you define:
>
> <dependency>
> <groupId>org.apache.karaf.features</groupId>
> <artifactId>standard</artifactId>
> <version>^project.version^</version>
> <classifier>features</classifier>
> <type>xml</type>
> <scope>runtime</scope>
> </dependency>
>
> If so, please try:
>
> <dependency>
> <groupId>org.apache.karaf.features</groupId>
> <artifactId>standard</artifactId>
> <version>^project.version^</version>
> <classifier>features</classifier>
> <type>xml</type>
> </dependency>
>
> Thanks,
> Regards
> JB
>
>
> On 02/17/2016 02:37 PM, ellirael wrote:
>> I've a got a problem when define eventadmin feature as a startup
>> feature. As
>> it should be. When I do it the build of custom destribution fails with
>> bundle resolve errors.
>>
>> My work around is to maually defne startup.properties file and put it in
>> archive during build.
>> I describe then eventadmin as installed feature.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Building-karaf-custom-destribution-with-eventadmin-as-a-startup-feature-tp4045415.html
>>
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Building karaf custom destribution with eventadmin as a startup
feature
Posted by ellirael <el...@mail.ru>.
Thanks. It works.
--
View this message in context: http://karaf.922171.n3.nabble.com/Building-karaf-custom-destribution-with-eventadmin-as-a-startup-feature-tp4045415p4045432.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Building karaf custom destribution with eventadmin as a startup
feature
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
Don't you define:
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>standard</artifactId>
<version>^project.version^</version>
<classifier>features</classifier>
<type>xml</type>
<scope>runtime</scope>
</dependency>
If so, please try:
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>standard</artifactId>
<version>^project.version^</version>
<classifier>features</classifier>
<type>xml</type>
</dependency>
Thanks,
Regards
JB
On 02/17/2016 02:37 PM, ellirael wrote:
> I've a got a problem when define eventadmin feature as a startup feature. As
> it should be. When I do it the build of custom destribution fails with
> bundle resolve errors.
>
> My work around is to maually defne startup.properties file and put it in
> archive during build.
> I describe then eventadmin as installed feature.
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Building-karaf-custom-destribution-with-eventadmin-as-a-startup-feature-tp4045415.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com