POM:
https://gist.github.com/bimargulies/0bb22c4d2c1280f71d57

I'm using maven 3.2.5.

What I see in the log is that Maven forks for the bundle plugin:

[DEBUG] --- init fork of
com.basistech.ws:karaf-rest-service:0.0.1-SNAPSHOT for
org.apache.felix:maven-bundle-plugin:2.5.4:bundle (default-bundle) ---
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime, test]

and then runs the features plugin:

[DEBUG] --- init fork of
com.basistech.ws:karaf-rest-service:0.0.1-SNAPSHOT for
org.apache.karaf.tooling:features-maven-plugin:2.4.3:add-features-to-repo
(add-features-to-repo) ---

before actually running the bundle plugin.

I'm inclined to just split this into one project that builds a bundle
and another that incorporates it with its dependencies into Karaf.



On Thu, Jul 23, 2015 at 2:44 PM, Jean-Baptiste Onofré <[email protected]> wrote:
> By the way, this is the location of the latest documentation (Karaf 4).
>
> https://karaf.apache.org/manual/latest/
>
> Regards
> JB
>
> On 07/23/2015 07:35 PM, Benson Margulies wrote:
>>
>> On Thu, Jul 23, 2015 at 1:33 PM, Jean-Baptiste Onofré <[email protected]>
>> wrote:
>>>
>>> It's related to Karaf 2.2.x (pretty old).
>>>
>>> I will fix the create-kar section of the table.
>>>
>>
>> Could you please point me to the current doc? I'm suffering from the
>> plugin trying to run before the maven-bundle-plugin, and perhaps the
>> doc would illuminate.
>>
>>
>>> Regards
>>> JB
>>>
>>> On 07/23/2015 06:57 PM, Benson Margulies wrote:
>>>>
>>>>
>>>>
>>>>
>>>> https://karaf.apache.org/manual/latest-2.2.x/developers-guide/features-maven-plugin.html
>>>>
>>>> This looks wrong under the goal column.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [email protected]
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to