We are developing a plugin that will queue new builds when some maven depenedcies changes. To do that, it would be very nice to access the Maven Build Info that is generated by the Maven runner for the latest build.
I know how to get an object of SBuild describing the latest build, is there a possibility to access the MavenBuildInfo associated with that build?
Second questions - is there a possibility to use MavenChangeDetector implementation from Maven2 plugin in our own plugin? As for now, I wasn't able to use autowire to get an instance of that class injected into constructor of my own plugin (even when I changed useSepearteClassLoader to false for maven2 plugin). Are such dependencies between plugins possible?