Supported plugin
Maven SCM plugin, org.apache.maven.plugins:maven-scm-plugin, version 1.0 and above.
Lifecycle mapping
Project configuration contribution
This connector does not modify project natures or classpath upon configuration update request.
Project build contribution
The connector is executing SCM plugin on every build, provided that the plugin execution itself is active (it may be conditionally enabled using profiles).
After the plugin is executed, the output directory is refreshed. Output directory location is determined by evaluation of checkoutDirectory plugin parameter for bootstrap and checkout goals, or workingDirectory for update goal.
The connector records the layout of subdirectories inside the output directory before and after execution of the plugin. If the layout changes, or if the output directory itself was missing before execution, the connector triggers project configuration update. This gives an opportunity to other connectors to notice added or removed directories and take appropriate action, like modifying project classpath.
Source code
https://github.com/objectledge/maven-extensions/tree/master/connectors/modules/scm
