diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-22 14:54:43 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-22 14:54:43 +0000 |
commit | 8115d3ffc5d2b9312937487ff54de2a818c92b93 (patch) | |
tree | 6f0357f74951baf9d9d61ea424fbcbe4e6fb8ecc /maven-plugins/tags/maven-zip-plugin-alpha1/README | |
parent | d6e3147226930a3b60c5c5f8f4df554228409d14 (diff) |
[maven-release-plugin] copy for tag maven-zip-plugin-alpha1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@767557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-plugins/tags/maven-zip-plugin-alpha1/README')
-rw-r--r-- | maven-plugins/tags/maven-zip-plugin-alpha1/README | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/maven-plugins/tags/maven-zip-plugin-alpha1/README b/maven-plugins/tags/maven-zip-plugin-alpha1/README new file mode 100644 index 0000000000..ee4adda4f1 --- /dev/null +++ b/maven-plugins/tags/maven-zip-plugin-alpha1/README @@ -0,0 +1,79 @@ +This module is a Maven plugin which supports using a packaging of zip in a pom.xml to +create a zip format SCA contribution. + +An exmaple pom.xml: + <packaging>zip</packaging> + ... + <build> + ... + <plugins> + <plugin> + <groupId>org.apache.tuscany.maven.plugins</groupId> + <artifactId>maven-zip-plugin</artifactId> + <extensions>true</extensions> + </plugin> + ... + </plugins> + </build> + + +To build, from the top maven-zip-plugin run maven: + +mvn + +or once all the dependencies have been downloaded and a succesful build run use: + +mvn clean install -o + +So as to avoid the Tuscany SCA project using SNAPSHOT dependencies any changes +to this maven-eclipse-compiler module should be released and the Tuscany SCA +project updated to use the newly released version. + +To release this module: + +mvn release:prepare + +followed by: + +mvn release:perform + +That will automatically create an SVN tag from the release, update the version +numbers in the pom.xml files in the trunk and tag, and deploy the artifacts to the +staging repository defined by the <deploy.altRepository> in your Maven settings.xml. +While running it will prompt you for the names for the tag, release version etc. + +In your maven settings.xml file you must have a server defined named "apache.releases", +and a profile named "release". For example: + + <servers> + ... + <server> + <id>apache.releases</id> + <username>antelder</username> + <privateKey>\ant\id_dsa</privateKey> + <passphrase>xxx</passphrase> + <directoryPermissions>775</directoryPermissions> + <filePermissions>664</filePermissions> + </server> + </servers> + + <profiles> + ... + <profile> + <id>release</id> + <properties> + <gpg.passphrase>...</gpg.passphrase> + <deploy.altRepository>apache.releases::default::scp://people.apache.org/home/antelder/public_html/tuscany/maven-zip-plugin-1.0</deploy.altRepository> + </properties> + </profile> + </profiles> + +Call a vote to release the module, eg: http://apache.markmail.org/message/6jnlfxbx7uklt5nv + +After a successfule vote copy the staging artifacts to the live repository, eg: + +cp -p -v -R maven-zip-plugin-alpha1/org/apache/tuscany/maven/plugins/ /x1/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/tuscany/maven/plugins + + + + |