Maven Mojo Reference| MOJO | PARAMETER NAME | SYSTEM PROPERTY | REQUIRED? | DEFAULT | DESCRIPTION |
|---|
| COMMON PROPERTIES FOR ALL MOJOS | server | resin.server | Yes | N/A | The IP or address of the Resin server |
|---|
| port | resin.port | Yes | N/A | The port of the Resin server's HTTP port |
| user | resin.user | Yes | N/A | The user to use when logging into the Resin server |
| password | resin.password | Yes | N/A | The password to use when logging into the Resin server |
| commitMessage | resin.commitMessage | No | N/A | The commit message to log for any changes to the application repository |
| RESIN:UPLOAD-WAR | warFile | resin.warFile | Yes | ${project.build.directory}/ ${project.build.finalName}.war (the war file produced for the project) | The war file to upload to the Resin server |
|---|
| stage | resin.stage | No | "default" | The stage to use for the deployed application |
| virtualHost | resin.virtualHost | No | "default" | The virtual host to use for the deployed application |
| contextRoot | resin.contextRoot | Yes | /${project.build.finalName} (the "final name" of the project) | The context root of the deployed application |
| version | resin.version | No | N/A | The version to use for the deployed application |
| archive | resin.archive | No | false | When set to true, an archive tag is set in addition to the main tag. Can also be an explicit tag. |
| writeHead | resin.writeHead | No | true | When set to true and using versioning, a "head" tag is also set. |
| RESIN:COPY-TAG | stage | resin.stage | No | "default" | The stage of the target tag |
|---|
| virtualHost | resin.virtualHost | No | "default" | The virtual host of the target tag |
| contextRoot | resin.contextRoot | Yes (if tag not given) | /${project.build.finalName} (the "final name" of the project) | The context root of the target tag |
| version | resin.version | No | N/A | The version of the target tag |
| sourceStage | resin.sourceStage | No | "default" | The stage of the source tag |
| sourceVirtualHost | resin.sourceVirtualHost | No | "default" | The virtual host of the source tag |
| sourceContextRoot | resin.sourceContextRoot | Yes (if sourceTag not given) | N/A | The context root of the source tag |
| sourceVersion | resin.sourceVersion | No | N/A | The version of the source tag |
| tag | resin.tag | Yes (if contextRoot not given) | N/A | An explicit target tag |
| sourceTag | resin.sourceTag | Yes (if sourceContextRoot not given) | N/A | An explicit source tag |
| RESIN:DELETE-TAG | stage | resin.stage | No | "default" | The stage of the tag to be deleted |
|---|
| virtualHost | resin.virtualHost | No | "default" | The virtual host of the tag to be deleted |
| contextRoot | resin.contextRoot | Yes (if tag not given) | /${project.build.finalName} (the "final name" of the project) | The context root of the tag to be deleted |
| version | resin.version | No | N/A | The version of the tag to be deleted |
| tag | resin.tag | Yes (if contextRoot not given) | N/A | An explicit tag to be deleted |
| RESIN:QUERY-TAGS
| stage | resin.stage | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | "default" | The query pattern for the stage portion of tags in the repository
|
|---|
| virtualHost | resin.virtualHost | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | "default" | The query pattern for the virtual host portion of tags in the repository |
| contextRoot | resin.contextRoot | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | /${project.build.finalName} (the "final name" of the project) | The query pattern for the context root portion of tags in the repository |
| version | resin.version | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | N/A | The query pattern for the version portion of tags in the repository |
| pattern | resin.pattern | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | N/A | An explicit query pattern for entire tags in the repository |
Ant Task Reference| TASK NAME | PARAMETER NAME | REQUIRED? | DEFAULT | DESCRIPTION |
|---|
| COMMON PROPERTIES FOR ALL TASKS | server | Yes | N/A | The IP or address of the Resin server |
|---|
| resinHome | Yes | N/A | Path to Resin Installation |
| resinConf | No | ${resin.home}/resin.xml | Path to Resin Configuration |
| port | Yes | N/A | The port of the Resin server's HTTP port |
| user | Yes | N/A | The user to use when logging into the Resin server |
| password | Yes | N/A | The password to use when logging into the Resin server |
| message | No | N/A | The commit message to log for any changes to the application repository |
| RESIN-UPLOAD-WAR (COM.CAUCHO.ANT.RESINUPLOADWAR) | warFile | Yes | N/A | The war file to upload to the Resin server |
|---|
| context | No | /[war file prefix] | The context root of the deployed application |
| host | No | "default" | The virtual host to use for the deployed application |
| stage | No | "default" | The stage to use for the deployed application |
| version | No | N/A | The version to use for the deployed application |
| RESIN-COPY-TAG (COM.CAUCHO.ANT.RESINCOPYTAG) | sourceContext | Yes | N/A | The context root of the source tag |
|---|
| sourceHost | No | "default" | The virtual host of the source tag |
| sourceStage | No | "default" | The stage of the source tag |
| source-version | No | N/A | The version of the source tag |
| targetContext | Yes | N/A | The context of the target tag |
| targetHost | No | "default" | The virtual host of the target tag |
| targetStage | No | "default" | The stage of the target tag |
| targetVersion | No | N/A | The version of the target tag |
| RESIN-DELETE-TAG (COM.CAUCHO.ANT.RESINDELETETAG) | context | Yes (if tag not given) | N/A | The context root of the tag to be deleted |
|---|
| host | No | "default" | The virtual host of the tag to be deleted |
| stage | No | "default" | The stage of the tag to be deleted |
| version | No | N/A | The version of the tag to be deleted |
| tag | Yes (if context not given) | N/A | An explicit tag to be deleted |
| RESIN-QUERY-TAGS (COM.CAUCHO.ANT.RESINQUERYTAGS) | context | Yes (At least one pattern (either stage, host, context, version, or pattern) must be given | ".*" | The query pattern for the context root portion of tags in the repository |
|---|
| host | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | "default" | The query pattern for the virtual host portion of tags in the repository |
| stage | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | "default" | The query pattern for the stage portion of tags in the repository |
| version | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | N/A | The query pattern for the version portion of tags in the repository |
| pattern | Yes (At least one pattern (either stage, virtualHost, contextRoot, version, or pattern) must be given | N/A | An explicit query pattern for entire tags in the repository |