How to install a published plugin in development?

Viewed 179

I've read https://answer.apache.org/community/plugins but cannot figure how to set up an existing plugin in development.

What I want to do is to check if a plugin still works fine after I changed some Answer source code which is related to some plugin functions.

1 Answers

https://answer.apache.org/community/plugins#debugging-tips

If you want to run with the plugin in development, you can import plugin just like following

package main

import (
    _ "github.com/apache/incubator-answer-plugins/connector-basic"
    answercmd "github.com/apache/incubator-answer/cmd"
)