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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

stefang
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
Reply | Threaded
Open this post in threaded view
|

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

jbonofre
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é
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

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

jbonofre
In reply to this post by stefang
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:

<command>
   <command>bundle:list -t 0</command>
</command>


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