Thanks for that explanation! I thought that you meant "Maven profiles". But
there are "Karaf profiles" as well ;-)
I will definitely have a look at that!
On Wed, Oct 12, 2016 at 8:06 PM, Guillaume Nodet wrote:
>
> Basically, a profile is a list of files. Files with a cfg
Basically, a profile is a list of files. Files with a cfg extension are
handled in a specific way. They are overlayed, as profiles can have a list
of parents to inherit from. The profile.cfg is special and contains some
profile attributes, such as the list of parents and a list of features or
Ok, sorry.
Do you have a suggestion how to edit properties files in a different way?
On Wed, Oct 12, 2016 at 5:43 PM, Guillaume Nodet wrote:
> I wasn't suggesting to use profiles with property-edits, but rather to use
> profiles instead of property-edits.
>
> 2016-10-12
Yes, maybe it is time for a patch ;-)
On Wed, Oct 12, 2016 at 1:44 PM, Markus Rathgeb wrote:
> Hi Jens,
>
> I run into that "property file edit single location" problem myself
> from time to time.
> I planed to create a patch for that but haven't found any time for this,
>
Hi Jens,
I run into that "property file edit single location" problem myself
from time to time.
I planed to create a patch for that but haven't found any time for this, yet.
Best regards,
Markus
Have you looked at profiles ?
You can extend / combine / override stuff, inherit from multiple parents,
etc...
The assembly-property-edits is more limited imho.
2016-10-06 15:29 GMT+02:00 Jens Reimann :
> Hi,
>
> I am currently building several Apache Karaf distributions and
Hi Markus, great to see you!
Sorry for the late reply.
That works quite well for features. However I am looking for a way to do
the same for the property edits. The documentation around that says:
---
property-file-edits specifies the location of an XML file that specifies
edits to 'etc' files
Hi Jens,
about the "enhance the list of ... from its parent":
Have you tried using combine.children or combine.self?
I assume you want to use the option append.
Have a look at here: https://maven.apache.org/pom.html#Plugins
Best regards,
Markus
Hi,
I am currently building several Apache Karaf distributions and would like
to use a modular Maven build for that.
It is possible with Maven to inherit and extend configuration element so
that for example a child module can enhance the list of "bootFeatures" from
its parent.
However I haven't