I am a noob to IDEA plugin development so please forgive me lack of knoweldge.
But I am investigating writing an IDEA plugin andone of the things I want it to do is "follow" the maven hierarchy like the current maven intergration plugin does
(eg you can click on an pom element and traverse up to its parent and so on smartly)
So I was hoping to re-use some of the components in that maven plugin fro my new plugin.
Is this even possible. Is code contain in one plugin accessible from another?
Is it desirable? It know that the maven plugin could change implementation and break my plugin.
I would like to answer this question before I end up "replicating reams" of exiting code.
ps. My idea for a plugin is one that can "find the repo" of any given code. It will descend up the file treee (jars or files) and look for maven scm information.
It will need to ascend MANIFEST/maven entries to do this and this is what I want to re-use if I can.
Does any one know if there is already a plugin that does this. That is from any given code tell you what "repository" (scm) it comes from?
It would be a nice general IDEA feature ;) because we are all always searching for "where does this code come from"