Goals available for this plugin:
| Goal | Description |
|---|---|
| spring:load | This mojo provides the ability to load a Spring context XML
file. It uses a lightweight integration technique between Spring
and Maven centered around One common use of the injected Maven properties in a Spring context is for replacing property placeholders. For example:
<beans>
<context:property-placeholder properties-ref="mavenProperties" />
<bean id="artifactId" class="java.lang.String">
<constructor-arg value="${project.artifactId}" />
</bean>
</beans>
|
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.6 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>spring-maven-plugin</artifactId>
<version>1.2.1-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>spring-maven-plugin</artifactId>
<version>1.2.1-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"