Plugin skeleton v0.1
Overview
This modules provides targets to create or install skeleton of projects.
Parameters
The following property values can be changed to tune the behavior of this plugin.
Required parameters must be defined upon import, or the build will fail.
| Parameter | Required? | Description | Default |
|---|---|---|---|
| skeleton.postinstall.script | No | An optionnal postinstall script | ${skeleton.target.dir}/skeleton.postinstall.ant |
| skeleton.target.dir | No | The path where the skeleton project will be unzipped | ${skeleton.default.basedir} |
| skeleton.archive.dir | No | The path where the skeleton project that will be packaged | ${skeleton.default.basedir} |
| skeleton.archive.name | No | the name of the skeleton jar that will be packaged | ${skeleton.org}.zip |
| skeleton.default.revision | No | The default revision if the skeleton that will be published | 0.1 |
| skeleton.rev | No | Revision number of the skeleton project | ${skeleton.default.revision} |
| skeleton.interactive.mode | No | specify if easyant should ask questions instead of using -Dproperties | true |
| skeleton.default.to.resolver | No | the repository name where the skeleton jar will be published | easyant-shared-modules |
| skeleton.default.organisation | No | The default organisation name of skeletons | org.apache.easyant.skeletons |
| skeleton.module | Yes | Module name of the skeleton project | |
| skeleton.status | No | The status of the skeleton that will be published | ${skeleton.default.status} |
| project.rev | No | Revision number of YOUR project | 0.1 |
| project.org | Yes | Organisation name of YOUR project | |
| skeleton.type.available | No | define the available archive type of a skeleton (jar/zip...) | zip,jar,tar |
| skeleton.default.excludes.pattern | No | define the default excludes pattern used to package a project skeleton | target/** |
| skeleton.default.status | No | The status of the skeleton that will be published | release |
| skeleton.publish.overwrite | No | True to overwrite files in repository if the revision already exist, false to let it as is | false |
| skeleton.org | No | Organisation name of the skeleton project | ${skeleton.default.organisation} |
| project.module | Yes | Module name of YOUR project | |
| skeleton.to.resolver | No | The repository name where the skeleton will be published | ${skeleton.default.to.resolver} |
| skeleton.default.basedir | No | define the root path of your skeleton project | ${basedir} |
| skeleton.default.includes.pattern | No | define the default excludes pattern used to package a project skeleton | |
| skeleton.default.type | No | define the default type of a skeleton (jar/zip...) | zip |
Build Phases
This plugin adds targets to each of the following build phases:
- validate
-
- init
Extra Targets
This plugin defines some extra Ant targets not attached to any build phase:
- create: create a new project from skeleton
- install: install a project skeleton on a repository
- doit