Great!!, it works and with archiveZip=false the build time decrease to ~60%. Thank for share this.
Best regards, Rodrigo > El 16 oct 2015, a las 16:36, Lars Kiesow <[email protected]> escribió: > > Hi, > just as follow-up (if someone is trying to do the same thing), by > looking at the code for the karaf-maven-plugin I found out that there > are actually some undocumented configuration options which let you > control the output formats: > > <plugin> > <artifactId>karaf-maven-plugin</artifactId> > ... > <configuration> > <archiveZip>false</archiveZip> > <archiveTarGz>false</archiveTarGz> > </configuration> > </plugin> > > For my distribution I still use the maven-assembly-plugin afterwards > since that gives me more control about the assembly. Still, turning the > archiving off made things a bit faster. > > Maybe this information is useful for someone else as well. > > Best regards, > Lars > > > On Sun, 27 Sep 2015 18:30:40 +0200 > Lars Kiesow <[email protected]> wrote: > >> 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. >> >
