Goals available for this plugin:
Goal | Description |
---|---|
properties:parse-version-properties | Parse version number properties into [major].[minor].[incremental].[qualifier]. The version parsing logic is crudely simple. It splits the version string into tokens using both "." and "-" as delimiters. It assumes the first token is "major", the second token is "minor" the third token is "incremental" and the fourth token is "qualifier". |
properties:read-project-properties | The read-project-properties goal reads property files and stores the properties as project properties. It serves as an alternate to specifying properties in pom.xml. |
properties:set-system-properties | Sets system properties. |
properties:translate-properties | Translate the indicated properties into classpath friendly form. eg
Transform org.kuali.rice into
org/kuali/rice A new project property with ".path"
added as a suffix gets set with the transformed value |
properties:write-active-profile-properties | Writes properties of all active profiles to a file. |
properties:write-project-properties | Writes project properties to a file. |
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>properties-maven-plugin</artifactId> <version>1.1.3</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.kuali.maven.plugins</groupId> <artifactId>properties-maven-plugin</artifactId> <version>1.1.3</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"