Full name:
org.kuali.maven.plugins:spring-maven-plugin:1.1.5-SNAPSHOT:load
Description:
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>spring-maven-plugin</artifactId>
<configuration>
<filterContext>true</filterContext>
<filterInclude>maven.spring.properties</filterInclude>
<contextLocation>classpath:my-context.xml</contextLocation>
</configuration>
</plugin>
<context:property-placeholder location="${maven.spring.properties}" />
<bean id="artifactId" class="java.lang.String">
<constructor-arg value="${project.artifactId}" />
</bean>
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| contextLocation | String | - | Location of a Spring context XML file. This can be any URL Spring's
Resource loading framework understands eg
classpath:my-context.xml Default value is: classpath:${project.artifactId}-context.xml. |
| serviceClassname | String | - | The implementation of
org.kuali.common.util.service.SpringService to use Default value is: org.kuali.common.util.service.DefaultSpringService. |
| Name | Type | Since | Description |
|---|---|---|---|
| encoding | String | - | Character encoding for the context XML file Default value is: ${project.build.sourceEncoding}. |
| exportExclude | String | - | Comma separated list of properties to exclude from the export |
| exportExcludes | List | - | List of properties to exclude. No properties are excluded by
default. |
| exportInclude | String | - | Comma separated list of properties to include in the export |
| exportIncludes | List | - | List of properties to include. All properties are included by
default. |
| exportProperties | boolean | - | If true, Maven properties are exported to the file system prior to
filtering and loading the Spring context. Default value is: false. |
| exportPropertiesFile | File | - | The file to export properties to when exportProperties
is true Default value is: ${project.build.directory}/spring/maven.properties. |
| exportPropertiesFileProperty | String | - | If exportProperties is true, the path to the exported
properties file will be included as a property under this key Default value is: maven.spring.properties. |
| filterContext | boolean | - | If true contextLocation is filtered before being
loaded Default value is: false. |
| filterExclude | String | - | Comma separated list of properties to exclude when filtering the
context |
| filterExcludes | List | - | List of properties to exclude. No properties are excluded by
default. |
| filterInclude | String | - | Comma separated list of properties to include when filtering the
context |
| filterIncludes | List | - | List of properties to include. All properties are included by
default. |
| properties | Properties | - | Additional properties to supply to the Spring context. Properties
provided here are added to Maven properties. |
| workingDir | File | - | Working directory for the plugin. Default value is: ${project.build.directory}/spring. |