Re: Karaf Tooling maven plugin - karaf-maven-example-client - did not work as expected

2019-10-29 Thread Jean-Baptiste Onofré

Hi,

Just a quick update about this. The problem was not in the plugin but in 
the example.


I fixed it (see https://issues.apache.org/jira/browse/KARAF-6444).

Basically, as we introduced command ranking, the plugin configuration 
should be:



  bundle:list -t 0



Regards
JB

On 02/10/2019 21:20, stefang wrote:

Hell,

i am getting the following error when executing this example

[INFO] --- karaf-maven-plugin:4.3.0-SNAPSHOT:client (client) @
karaf-maven-example-client ---
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time:  2.074 s
[INFO] Finished at: 2019-10-02T19:32:27+02:00
[INFO]

[ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.3.0-SNAPSHOT:client (client)
on project karaf-maven-example-client: Unable to parse configuration of mojo
org.apache.karaf.tooling:karaf-maven-plugin:4.3.0-SNAPSHOT:client for
parameter command: Cannot find default setter in class
org.apache.karaf.tooling.client.CommandDescriptor -> [Help 1]


Did i missed something ?
Other examples works as expected

Stefan




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html


Re: Karaf Tooling maven plugin - karaf-maven-example-client - did not work as expected

2019-10-03 Thread Jean-Baptiste Onofré
Hi,

You found a bug.

I created https://issues.apache.org/jira/browse/KARAF-6444

I will fix that later today or tomorrow.

Sorry for the inconvenience.

Regards
JB

On 02/10/2019 21:20, stefang wrote:
> Hell,
> 
> i am getting the following error when executing this example 
> 
> [INFO] --- karaf-maven-plugin:4.3.0-SNAPSHOT:client (client) @
> karaf-maven-example-client ---
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time:  2.074 s
> [INFO] Finished at: 2019-10-02T19:32:27+02:00
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.karaf.tooling:karaf-maven-plugin:4.3.0-SNAPSHOT:client (client)
> on project karaf-maven-example-client: Unable to parse configuration of mojo
> org.apache.karaf.tooling:karaf-maven-plugin:4.3.0-SNAPSHOT:client for
> parameter command: Cannot find default setter in class
> org.apache.karaf.tooling.client.CommandDescriptor -> [Help 1]
> 
> 
> Did i missed something ?
> Other examples works as expected 
> 
> Stefan 
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

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