Full name:
org.apache.maven.plugins:maven-rar-plugin:2.3:rar
Description:
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| finalName | String | - | The name of the RAR file to generate. Default value is: ${project.build.finalName}. |
| outputDirectory | String | - | The directory for the generated RAR. Default value is: ${project.build.directory}. |
| rarSourceDirectory | File | - | Single directory for extra files to include in the RAR. Default value is: ${basedir}/src/main/rar. |
| workDirectory | String | - | Directory that resources are copied to during the build. Default value is: ${project.build.directory}/${project.build.finalName}. |
| Name | Type | Since | Description |
|---|---|---|---|
| archive | MavenArchiveConfiguration | - | The archive configuration to use. See Maven
Archiver Reference. |
| delimiters | List | 2.3 | Set of delimiters for expressions to filter within the resources. These delimiters are specified in the form 'beginToken*endToken'. If no '*' is given, the delimiter is assumed to be the same for start and end. So, the default filtering delimiters might be specified as:
<delimiters>
<delimiter>${*}</delimiter>
<delimiter>@</delimiter>
</delimiters>
Since the '@' delimiter is the same on both ends, we don't need to specify '@*@' (though we can). |
| encoding | String | 2.3 | (no description) Default value is: ${project.build.sourceEncoding}. User property is: encoding. |
| escapeString | String | 2.3 | Expression preceded with the String won't be interpolated \${foo}
will be replaced with ${foo} User property is: maven.resources.escapeString. |
| escapeWindowsPaths | boolean | 2.3 | Whether to escape backslashes and colons in windows-style paths. Default value is: true. User property is: maven.resources.escapeWindowsPaths. |
| filterRarSourceDirectory | boolean | 2.3 | allow filtering of link{rarSourceDirectory} Default value is: false. User property is: rar.filterRarSourceDirectory. |
| filters | List | 2.3 | The list of extra filter properties files to be used along with
System properties, project properties, and filter properties files
specified in the POM build/filters section, which should be used
for the filtering during the current mojo execution. Normally, these will be configured from a plugin's execution section, to provide a different set of filters for a particular execution. For instance, starting in Maven 2.2.0, you have the option of configuring executions with the id's default-resources and default-testResources to supply different configurations for the two different types of resources. By supplying extraFilters configurations, you can separate which filters are used for which type of resource. |
| includeEmptyDirs | boolean | 2.3 | Copy any empty directories included in the Resources. Default value is: false. User property is: maven.resources.includeEmptyDirs. |
| includeJar | Boolean | - | Specify if the generated jar file of this project should be
included in the rar file ; default is true. |
| manifestFile | File | - | The location of the manifest file to be used within the rar file. Default value is: ${basedir}/src/main/rar/META-INF/MANIFEST.MF. |
| nonFilteredFileExtensions | List | 2.3 | Additional file extensions to not apply filtering (already defined
are : jpg, jpeg, gif, bmp, png) |
| overwrite | boolean | 2.3 | Overwrite existing files even if the destination files are newer. Default value is: false. User property is: maven.resources.overwrite. |
| raXmlFile | File | - | The location of the ra.xml file to be used within the rar file. Default value is: ${basedir}/src/main/rar/META-INF/ra.xml. |
| rarResources | List | 2.3 | extra resource to include in rar archive |
| supportMultiLineFiltering | boolean | 2.3 | stop searching endToken at the end of line Default value is: false. User property is: maven.resources.supportMultiLineFiltering. |
| useDefaultDelimiters | boolean | 2.3 | (no description) Default value is: true. |
| warnOnMissingRaXml | boolean | 2.3 | Whether or not warn if the ra.xml file is missing. Set
to false if you want you RAR built without a
ra.xml file. This may be useful if you are building
against JCA 1.6 or later. Default value is: true. User property is: warnOnMissingRaXml. |
Set of delimiters for expressions to filter within the resources. These delimiters are specified in the form 'beginToken*endToken'. If no '*' is given, the delimiter is assumed to be the same for start and end.
So, the default filtering delimiters might be specified as:
<delimiters>
<delimiter>${*}</delimiter>
<delimiter>@</delimiter>
</delimiters>
Since the '@' delimiter is the same on both ends, we don't need to specify '@*@' (though we can).