Hi Markus,
I now have what I want (yay!) as a combination of the
karaf-maven-plugin, the maven-antrun-plugin and finally the
maven-assembly-plugin. They now work like this:

 - Create the default Karaf assembly (including the archives but we
   just ignore them)

 - Filter some automatically generated configuration files (at the
   moment only the startup.properties but that might change)

 - Create an updated assembly, including additional configuration,
   excluding some unnecessary parts, ... and overwrize the archives.

The pom.xml:     http://paste.fedoraproject.org/271994/14433708
The package.xml: http://paste.fedoraproject.org/271995/44337087

Thanks for the idea :)

Still, I think it would be great to have some configuration options in
the Karaf Maven plugin.

Best regards,
Lars


On Sat, 26 Sep 2015 17:01:20 +0200
Markus Rathgeb <[email protected]> wrote:

> > Do you mind sharing yur maven
> > configuration so that I have an example of how to do that?
> 
> https://github.com/maggu2810/openhab2/tree/master-for-karaf/distributions
> 
> * openhab2-runtime-karaf is using the karaf-maven-plugin
> * openhab2-runtime is using the artifact of the previous one, the
> maven-assembly-plugin etc.

Attachment: pgpemL0NMTdeD.pgp
Description: OpenPGP digital signature

Reply via email to