Hi,
I'd like to create a Jenkins plugin. However, I have some questions, hopefully you are able to help me with:
- My plugin A is designed to provide an extension for an extension point, which is defined by plugin B (existing).
- My understanding is, that I simply create a subclass of the extension point class, which in turn implements
hudson.ExtensionPoint. No annotations, or something like that?
- Í assume, that I declare the jar files of B in my plugin as Maven dependencies with scope "provided", so that
the necessary API is present at compile time.
- However, I do not understand, how dependency resolution works at runtime. Am I supposed to declare that
plugin B must be in the classpath of plugin A? If so: How do I do that? Or, is there some magic, I am unaware
of?
- Finally: I'd like to configure my plugin with some config files location. How would I do that? (Preferrably without
some UI, I am trying to keep things simple.
Thanks,
Jochen