You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by stefang <st...@me.com> on 2019/10/02 19:20:02 UTC
Karaf Tooling maven plugin - karaf-maven-example-client - did not
work as expected
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
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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é
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf Tooling maven plugin - karaf-maven-example-client - did not
work as expected
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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