oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.36k stars 747 forks source link

plugins module should not depend on indexer module #3340

Open ahornace opened 4 years ago

ahornace commented 4 years ago

I think that we should introduce plugins-api module with the needed interfaces. I don't think that plugins module should be able to access indexer inner implementations.

tulinkry commented 4 years ago

Currently, these are available

50              "org.opengrok.indexer.configuration.Group",
51              "org.opengrok.indexer.configuration.Project",
52              "org.opengrok.indexer.configuration.RuntimeEnvironment",
53              "org.opengrok.indexer.authorization.IAuthorizationPlugin",
54              "org.opengrok.indexer.authorization.plugins.*",
55              "org.opengrok.indexer.authorization.AuthorizationException",
56              "org.opengrok.indexer.util.*",
57              "org.opengrok.indexer.logger.*",
58              "org.opengrok.indexer.Metrics"