About Spring Maven Plugin

This plugin provides integration between Spring and Maven. Plugin goals support loading an arbitrary Spring context XML file as part of the Maven build lifecycle. The XML file can be on the local file system or be accessible via any URL Spring's resource loading mechanism can understand. Spring's "classpath:context.xml" style notation is supported. From version 2.0.0 on, annotated Java classes can also be used to load a Spring context. The full set of Maven properties are injected into the Spring context (both XML and annotation style) as a bean named "mavenProperties". Maven properties are also registered as a top level PropertySource so that Spring's placeholder resolution framework automatically considers them. See Project Reports -> Plugin Documentation for details on plugin goals.