You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by DERIES Sebastien <se...@thalesgroup.com> on 2014/09/10 14:51:56 UTC

Maven assembly plugin option?

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
sebastien.deries@thalesgroup.com<ma...@thalesgroup.com>


[@@ THALES GROUP INTERNAL @@]


RE: Maven assembly plugin option?

Posted by CLEMENT Jean-Philippe <je...@fr.thalesgroup.com>.
PS: Just found that the "system" sub-directory does contain all our jars and configuration files

[@@ OPEN @@]


-----Message d'origine-----
De : CLEMENT Jean-Philippe [mailto:jean-philippe.clement@fr.thalesgroup.com] 
Envoyé : lundi 20 octobre 2014 17:29
À : user@karaf.apache.org
Objet : RE: Maven assembly plugin option?

Dear Karaf Team,

We moved to Karaf 3.0.2 framework and standard features with the 3.0.2 karaf-maven-plugin. The tar.gz done by the assembly still does not seem to contain our feature.

Expanding the .tar.gz then starting "karaf" on a machine which does not have access to any maven repository does not start our feature. The feature:list does show the feature as not installed. Trying to install the feature fails as no repository is found.

Our feature is listed as "bootFeatures". How to force our feature to be part of the archive and started as default?

Regards,
JP

[@@ OPEN @@]
-----Message d'origine-----
De : DERIES Sebastien [mailto:sebastien.deries@thalesgroup.com]
Envoyé : jeudi 11 septembre 2014 17:53
À : user@karaf.apache.org
Objet : RE: Maven assembly plugin option?

Hi JB,
Thanks a lot! Could you  give me the link to the snapshot repository so that I can download the plugin tomorrow ?
 Regards
Sébastien Deries
Tel. : + 33 (0)4 92 96 31 52
sebastien.deries@thalesgroup.com


[@@ THALES GROUP INTERNAL @@]



-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : jeudi 11 septembre 2014 17:21 À : user@karaf.apache.org Objet : Re: Maven assembly plugin option?

Hi Seb,

just to keep you posted, I started to merge my local branch with my change, but it's not yet complete. I will finish tomorrow and publish a new SNAPSHOT tomorrow.

Sorry for the delay.

Regards
JB

On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
> Awesome !
>
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
> 10 septembre 2014 15:17 À : user@karaf.apache.org Objet : Re: Maven 
> assembly plugin option?
>
> Hi Seb,
>
> not yet, I'm on Karaf 2.4.0 release.
>
> I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).
>
> Regards
> JB
>
> On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
>> 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
>> sebastien.deries@thalesgroup.com
>>
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>>> sebastien.deries@thalesgroup.com
>>> <ma...@thalesgroup.com>**
>>>
>>> 	
>>>
>>> [@@ THALES GROUP INTERNAL @@]
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Maven assembly plugin option?

Posted by CLEMENT Jean-Philippe <je...@fr.thalesgroup.com>.
PS: we found a workaround in removing bundles from the Karaf system subdirectory, then updates are retrieved from the Maven repo

JP

[@@ OPEN @@]


-----Message d'origine-----
De : CLEMENT Jean-Philippe [mailto:jean-philippe.clement@fr.thalesgroup.com] 
Envoyé : mardi 21 octobre 2014 11:13
À : user@karaf.apache.org
Objet : RE: Maven assembly plugin option?

We've done some checking and cleaning. It was several problems on our side. That's for good news. Bad news is it works... too well :)

To be clear the assembly is fine and can be deployed and started on a server which does not have access to Maven repositories. The problem is now during development phase. Previously as the bundle was found on a Maven repo, we could fix issues, push fixed jar on repo, then ask Karaf to update bundle. Karaf did update from repo then no issue.

Now it seems Karaf does not look fixed bundles on the Maven repo but on its own internal repo. Is there a way to force updates from the "external" repo?

JP

[@@ OPEN @@]


-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : lundi 20 octobre 2014 21:51 À : user@karaf.apache.org Objet : Re: Maven assembly plugin option?

Hi Jean-Philippe,

what's the scope of the features XML or kar dependency ?
Can you share your pom ?

Did you take a look in the assembly archetype ? Does your pom look like this ?

Regards
JB

On 10/20/2014 05:28 PM, CLEMENT Jean-Philippe wrote:
> Dear Karaf Team,
>
> We moved to Karaf 3.0.2 framework and standard features with the 3.0.2 karaf-maven-plugin. The tar.gz done by the assembly still does not seem to contain our feature.
>
> Expanding the .tar.gz then starting "karaf" on a machine which does not have access to any maven repository does not start our feature. The feature:list does show the feature as not installed. Trying to install the feature fails as no repository is found.
>
> Our feature is listed as "bootFeatures". How to force our feature to be part of the archive and started as default?
>
> Regards,
> JP
>
> [@@ OPEN @@]
> -----Message d'origine-----
> De : DERIES Sebastien [mailto:sebastien.deries@thalesgroup.com]
> Envoyé : jeudi 11 septembre 2014 17:53 À : user@karaf.apache.org Objet
> : RE: Maven assembly plugin option?
>
> Hi JB,
> Thanks a lot! Could you  give me the link to the snapshot repository so that I can download the plugin tomorrow ?
>   Regards
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : jeudi 11 septembre 2014 17:21 À : user@karaf.apache.org Objet : Re: Maven assembly plugin option?
>
> Hi Seb,
>
> just to keep you posted, I started to merge my local branch with my change, but it's not yet complete. I will finish tomorrow and publish a new SNAPSHOT tomorrow.
>
> Sorry for the delay.
>
> Regards
> JB
>
> On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
>> Awesome !
>>
>> Sébastien Deries
>> Tel. : + 33 (0)4 92 96 31 52
>> sebastien.deries@thalesgroup.com
>>
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>> 10 septembre 2014 15:17 À : user@karaf.apache.org Objet : Re: Maven 
>> assembly plugin option?
>>
>> Hi Seb,
>>
>> not yet, I'm on Karaf 2.4.0 release.
>>
>> I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).
>>
>> Regards
>> JB
>>
>> On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
>>> 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
>>> sebastien.deries@thalesgroup.com
>>>
>>>
>>> [@@ THALES GROUP INTERNAL @@]
>>>
>>>
>>>
>>> -----Message d'origine-----
>>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>>> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>>>> sebastien.deries@thalesgroup.com
>>>> <ma...@thalesgroup.com>**
>>>>
>>>> 	
>>>>
>>>> [@@ THALES GROUP INTERNAL @@]
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Maven assembly plugin option?

Posted by CLEMENT Jean-Philippe <je...@fr.thalesgroup.com>.
We've done some checking and cleaning. It was several problems on our side. That's for good news. Bad news is it works... too well :)

To be clear the assembly is fine and can be deployed and started on a server which does not have access to Maven repositories. The problem is now during development phase. Previously as the bundle was found on a Maven repo, we could fix issues, push fixed jar on repo, then ask Karaf to update bundle. Karaf did update from repo then no issue.

Now it seems Karaf does not look fixed bundles on the Maven repo but on its own internal repo. Is there a way to force updates from the "external" repo?

JP

[@@ OPEN @@]


-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Envoyé : lundi 20 octobre 2014 21:51
À : user@karaf.apache.org
Objet : Re: Maven assembly plugin option?

Hi Jean-Philippe,

what's the scope of the features XML or kar dependency ?
Can you share your pom ?

Did you take a look in the assembly archetype ? Does your pom look like this ?

Regards
JB

On 10/20/2014 05:28 PM, CLEMENT Jean-Philippe wrote:
> Dear Karaf Team,
>
> We moved to Karaf 3.0.2 framework and standard features with the 3.0.2 karaf-maven-plugin. The tar.gz done by the assembly still does not seem to contain our feature.
>
> Expanding the .tar.gz then starting "karaf" on a machine which does not have access to any maven repository does not start our feature. The feature:list does show the feature as not installed. Trying to install the feature fails as no repository is found.
>
> Our feature is listed as "bootFeatures". How to force our feature to be part of the archive and started as default?
>
> Regards,
> JP
>
> [@@ OPEN @@]
> -----Message d'origine-----
> De : DERIES Sebastien [mailto:sebastien.deries@thalesgroup.com]
> Envoyé : jeudi 11 septembre 2014 17:53 À : user@karaf.apache.org Objet 
> : RE: Maven assembly plugin option?
>
> Hi JB,
> Thanks a lot! Could you  give me the link to the snapshot repository so that I can download the plugin tomorrow ?
>   Regards
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : jeudi 11 septembre 2014 17:21 À : user@karaf.apache.org Objet : Re: Maven assembly plugin option?
>
> Hi Seb,
>
> just to keep you posted, I started to merge my local branch with my change, but it's not yet complete. I will finish tomorrow and publish a new SNAPSHOT tomorrow.
>
> Sorry for the delay.
>
> Regards
> JB
>
> On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
>> Awesome !
>>
>> Sébastien Deries
>> Tel. : + 33 (0)4 92 96 31 52
>> sebastien.deries@thalesgroup.com
>>
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>> 10 septembre 2014 15:17 À : user@karaf.apache.org Objet : Re: Maven 
>> assembly plugin option?
>>
>> Hi Seb,
>>
>> not yet, I'm on Karaf 2.4.0 release.
>>
>> I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).
>>
>> Regards
>> JB
>>
>> On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
>>> 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
>>> sebastien.deries@thalesgroup.com
>>>
>>>
>>> [@@ THALES GROUP INTERNAL @@]
>>>
>>>
>>>
>>> -----Message d'origine-----
>>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>>> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>>>> sebastien.deries@thalesgroup.com
>>>> <ma...@thalesgroup.com>**
>>>>
>>>> 	
>>>>
>>>> [@@ THALES GROUP INTERNAL @@]
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Maven assembly plugin option?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Jean-Philippe,

what's the scope of the features XML or kar dependency ?
Can you share your pom ?

Did you take a look in the assembly archetype ? Does your pom look like 
this ?

Regards
JB

On 10/20/2014 05:28 PM, CLEMENT Jean-Philippe wrote:
> Dear Karaf Team,
>
> We moved to Karaf 3.0.2 framework and standard features with the 3.0.2 karaf-maven-plugin. The tar.gz done by the assembly still does not seem to contain our feature.
>
> Expanding the .tar.gz then starting "karaf" on a machine which does not have access to any maven repository does not start our feature. The feature:list does show the feature as not installed. Trying to install the feature fails as no repository is found.
>
> Our feature is listed as "bootFeatures". How to force our feature to be part of the archive and started as default?
>
> Regards,
> JP
>
> [@@ OPEN @@]
> -----Message d'origine-----
> De : DERIES Sebastien [mailto:sebastien.deries@thalesgroup.com]
> Envoyé : jeudi 11 septembre 2014 17:53
> À : user@karaf.apache.org
> Objet : RE: Maven assembly plugin option?
>
> Hi JB,
> Thanks a lot! Could you  give me the link to the snapshot repository so that I can download the plugin tomorrow ?
>   Regards
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : jeudi 11 septembre 2014 17:21 À : user@karaf.apache.org Objet : Re: Maven assembly plugin option?
>
> Hi Seb,
>
> just to keep you posted, I started to merge my local branch with my change, but it's not yet complete. I will finish tomorrow and publish a new SNAPSHOT tomorrow.
>
> Sorry for the delay.
>
> Regards
> JB
>
> On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
>> Awesome !
>>
>> Sébastien Deries
>> Tel. : + 33 (0)4 92 96 31 52
>> sebastien.deries@thalesgroup.com
>>
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>> 10 septembre 2014 15:17 À : user@karaf.apache.org Objet : Re: Maven
>> assembly plugin option?
>>
>> Hi Seb,
>>
>> not yet, I'm on Karaf 2.4.0 release.
>>
>> I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).
>>
>> Regards
>> JB
>>
>> On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
>>> 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
>>> sebastien.deries@thalesgroup.com
>>>
>>>
>>> [@@ THALES GROUP INTERNAL @@]
>>>
>>>
>>>
>>> -----Message d'origine-----
>>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>>> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>>>> sebastien.deries@thalesgroup.com
>>>> <ma...@thalesgroup.com>**
>>>>
>>>> 	
>>>>
>>>> [@@ THALES GROUP INTERNAL @@]
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Maven assembly plugin option?

Posted by CLEMENT Jean-Philippe <je...@fr.thalesgroup.com>.
Dear Karaf Team,

We moved to Karaf 3.0.2 framework and standard features with the 3.0.2 karaf-maven-plugin. The tar.gz done by the assembly still does not seem to contain our feature.

Expanding the .tar.gz then starting "karaf" on a machine which does not have access to any maven repository does not start our feature. The feature:list does show the feature as not installed. Trying to install the feature fails as no repository is found.

Our feature is listed as "bootFeatures". How to force our feature to be part of the archive and started as default?

Regards,
JP

[@@ OPEN @@]
-----Message d'origine-----
De : DERIES Sebastien [mailto:sebastien.deries@thalesgroup.com] 
Envoyé : jeudi 11 septembre 2014 17:53
À : user@karaf.apache.org
Objet : RE: Maven assembly plugin option?

Hi JB,
Thanks a lot! Could you  give me the link to the snapshot repository so that I can download the plugin tomorrow ?
 Regards
Sébastien Deries
Tel. : + 33 (0)4 92 96 31 52
sebastien.deries@thalesgroup.com


[@@ THALES GROUP INTERNAL @@]



-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : jeudi 11 septembre 2014 17:21 À : user@karaf.apache.org Objet : Re: Maven assembly plugin option?

Hi Seb,

just to keep you posted, I started to merge my local branch with my change, but it's not yet complete. I will finish tomorrow and publish a new SNAPSHOT tomorrow.

Sorry for the delay.

Regards
JB

On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
> Awesome !
>
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
> 10 septembre 2014 15:17 À : user@karaf.apache.org Objet : Re: Maven 
> assembly plugin option?
>
> Hi Seb,
>
> not yet, I'm on Karaf 2.4.0 release.
>
> I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).
>
> Regards
> JB
>
> On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
>> 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
>> sebastien.deries@thalesgroup.com
>>
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>>> sebastien.deries@thalesgroup.com
>>> <ma...@thalesgroup.com>**
>>>
>>> 	
>>>
>>> [@@ THALES GROUP INTERNAL @@]
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Maven assembly plugin option?

Posted by Charlie Mordant <cm...@gmail.com>.
Hi Sebastien (Hi J.B.),

All Apache project's Snapshots are on the Apache Snapshot repo:
http://repository.apache.org/content/groups/snapshots/org/apache/karaf/tooling/karaf-maven-plugin/
You can reference it as pluginrepository in your pom

Regards,

2014-09-11 17:52 GMT+02:00 DERIES Sebastien <
sebastien.deries@thalesgroup.com>:

> Hi JB,
> Thanks a lot! Could you  give me the link to the snapshot repository so
> that I can download the plugin tomorrow ?
>  Regards
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Envoyé : jeudi 11 septembre 2014 17:21
> À : user@karaf.apache.org
> Objet : Re: Maven assembly plugin option?
>
> Hi Seb,
>
> just to keep you posted, I started to merge my local branch with my
> change, but it's not yet complete. I will finish tomorrow and publish a new
> SNAPSHOT tomorrow.
>
> Sorry for the delay.
>
> Regards
> JB
>
> On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
> > Awesome !
> >
> > Sébastien Deries
> > Tel. : + 33 (0)4 92 96 31 52
> > sebastien.deries@thalesgroup.com
> >
> >
> > [@@ THALES GROUP INTERNAL @@]
> >
> >
> >
> > -----Message d'origine-----
> > De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
> > 10 septembre 2014 15:17 À : user@karaf.apache.org Objet : Re: Maven
> > assembly plugin option?
> >
> > Hi Seb,
> >
> > not yet, I'm on Karaf 2.4.0 release.
> >
> > I should be able to provide a new SNAPSHOT tomorrow (with the plugin
> enhancements).
> >
> > Regards
> > JB
> >
> > On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
> >> 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
> >> sebastien.deries@thalesgroup.com
> >>
> >>
> >> [@@ THALES GROUP INTERNAL @@]
> >>
> >>
> >>
> >> -----Message d'origine-----
> >> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
> >> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
> >>> sebastien.deries@thalesgroup.com
> >>> <ma...@thalesgroup.com>**
> >>>
> >>>
> >>>
> >>> [@@ THALES GROUP INTERNAL @@]
> >>>
> >>
> >> --
> >> Jean-Baptiste Onofré
> >> jbonofre@apache.org
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> >>
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Charlie Mordant

Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent

RE: Maven assembly plugin option?

Posted by DERIES Sebastien <se...@thalesgroup.com>.
Hi JB,
Thanks a lot! Could you  give me the link to the snapshot repository so that I can download the plugin tomorrow ?
 Regards 
Sébastien Deries 
Tel. : + 33 (0)4 92 96 31 52
sebastien.deries@thalesgroup.com


[@@ THALES GROUP INTERNAL @@]



-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Envoyé : jeudi 11 septembre 2014 17:21
À : user@karaf.apache.org
Objet : Re: Maven assembly plugin option?

Hi Seb,

just to keep you posted, I started to merge my local branch with my change, but it's not yet complete. I will finish tomorrow and publish a new SNAPSHOT tomorrow.

Sorry for the delay.

Regards
JB

On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
> Awesome !
>
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi 
> 10 septembre 2014 15:17 À : user@karaf.apache.org Objet : Re: Maven 
> assembly plugin option?
>
> Hi Seb,
>
> not yet, I'm on Karaf 2.4.0 release.
>
> I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).
>
> Regards
> JB
>
> On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
>> 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
>> sebastien.deries@thalesgroup.com
>>
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>>> sebastien.deries@thalesgroup.com
>>> <ma...@thalesgroup.com>**
>>>
>>> 	
>>>
>>> [@@ THALES GROUP INTERNAL @@]
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Maven assembly plugin option?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Seb,

just to keep you posted, I started to merge my local branch with my 
change, but it's not yet complete. I will finish tomorrow and publish a 
new SNAPSHOT tomorrow.

Sorry for the delay.

Regards
JB

On 09/10/2014 03:30 PM, DERIES Sebastien wrote:
> Awesome !
>
> Sébastien Deries
> Tel. : + 33 (0)4 92 96 31 52
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Envoyé : mercredi 10 septembre 2014 15:17
> À : user@karaf.apache.org
> Objet : Re: Maven assembly plugin option?
>
> Hi Seb,
>
> not yet, I'm on Karaf 2.4.0 release.
>
> I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).
>
> Regards
> JB
>
> On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
>> 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
>> sebastien.deries@thalesgroup.com
>>
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi
>> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>>> sebastien.deries@thalesgroup.com
>>> <ma...@thalesgroup.com>**
>>>
>>> 	
>>>
>>> [@@ THALES GROUP INTERNAL @@]
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Maven assembly plugin option?

Posted by DERIES Sebastien <se...@thalesgroup.com>.
Awesome !  
  
Sébastien Deries 
Tel. : + 33 (0)4 92 96 31 52
sebastien.deries@thalesgroup.com


[@@ THALES GROUP INTERNAL @@]



-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Envoyé : mercredi 10 septembre 2014 15:17
À : user@karaf.apache.org
Objet : Re: Maven assembly plugin option?

Hi Seb,

not yet, I'm on Karaf 2.4.0 release.

I should be able to provide a new SNAPSHOT tomorrow (with the plugin enhancements).

Regards
JB

On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
> 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
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : mercredi 
> 10 septembre 2014 15:00 À : user@karaf.apache.org 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
>> sebastien.deries@thalesgroup.com
>> <ma...@thalesgroup.com>**
>>
>> 	
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Maven assembly plugin option?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Seb,

not yet, I'm on Karaf 2.4.0 release.

I should be able to provide a new SNAPSHOT tomorrow (with the plugin 
enhancements).

Regards
JB

On 09/10/2014 03:06 PM, DERIES Sebastien wrote:
> 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
> sebastien.deries@thalesgroup.com
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Envoyé : mercredi 10 septembre 2014 15:00
> À : user@karaf.apache.org
> 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
>> sebastien.deries@thalesgroup.com
>> <ma...@thalesgroup.com>**
>>
>> 	
>>
>> [@@ THALES GROUP INTERNAL @@]
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Maven assembly plugin option?

Posted by DERIES Sebastien <se...@thalesgroup.com>.
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
sebastien.deries@thalesgroup.com


[@@ THALES GROUP INTERNAL @@]



-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Envoyé : mercredi 10 septembre 2014 15:00
À : user@karaf.apache.org
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
> sebastien.deries@thalesgroup.com 
> <ma...@thalesgroup.com>**
>
> 	
>
> [@@ THALES GROUP INTERNAL @@]
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Maven assembly plugin option?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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
> sebastien.deries@thalesgroup.com <ma...@thalesgroup.com>**
>
> 	
>
> [@@ THALES GROUP INTERNAL @@]
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Maven assembly plugin option?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Sébastien,

Can you check the missing artifacts (in the data/log/karaf.log you 
should have the details after some time) ?

Anyway, I'm currently working on 3.0.2-SNAPSHOT to embed all 
dependencies in the system repo.

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
> sebastien.deries@thalesgroup.com <ma...@thalesgroup.com>**
>
> 	
>
> [@@ THALES GROUP INTERNAL @@]
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com