Hi JB, Thanks for your answers! Do you know when the plugin will be available? Is there a snapshot version which includes this functionality ? Regards. Sébastien Deries Tel. : + 33 (0)4 92 96 31 52 [email protected]
[@@ THALES GROUP INTERNAL @@] -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : mercredi 10 septembre 2014 15:00 À : [email protected] Objet : Re: Maven assembly plugin option? By the way, it's part of the improvements that I started on the karaf-maven-plugin. Regards JB On 09/10/2014 02:51 PM, DERIES Sebastien wrote: > Hi guys ! > > I'd like to use maven assembly plugin to assemble my application. I > used this in my pom.xml > > <plugin> > > > <groupId>org.apache.karaf.tooling</groupId> > > > <artifactId>karaf-maven-plugin</artifactId> > > > <configuration> > > > > <*bootFeature*> > > > > <feature>standard</feature> > > > > <feature>management</feature> > > > > <feature>my-project-feature</feature> > > > > </*bootFeature*> > > > </configuration> > > </plugin> > > When I unzip my built tar.gz on my development machine (which have > access to Nexus), my application works great! However, when I unzip > the same tar.gz on a machine which doesn't have access to nexus then > the application doesn't start, I just have the karaf prompt and no > bundle are installed. > > It seems that at first launch some stuff is downloaded on Nexus? Is > there a way to assemble the application including all dependencies so > that we don't need a Nexus connection? > > I have already tried this but it doesn't work: > > <configuration> > > > > <*installedFeature*> > > > > <feature>standard</feature> > > > > <feature>management</feature> > > > > <feature>my-project-feature</feature> > > > > </*installedFeature*> > > > </configuration> > > Thanks a lot guys! > > Karaf version v3.0.2-snaphot > > Karaf maven plugin v3.0.1 > > ---------------------------------------------------------------------- > -- > > > > > > *Sébastien Deries* > Tel. : + 33 (0)4 92 96 31 52 > [email protected] > <mailto:[email protected]>** > > > > [@@ THALES GROUP INTERNAL @@] > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
