Releasing Orchestra using the Maven Release Plugin
Release the Orchestra-Maven module
- cd /home/im/projects/myfaces/orchestra/maven
- mvn idea:clean
- mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/orchestra/tags -Dusername=imario -Dtag=maven-1_0 -DdryRun=true
- (mvn release:perform didn't work as expected ...)
- mvn clean
- rm release.properties pom.xml.next pom.xml.tag
- mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/orchestra/tags -Dusername=imario -Dtag=maven-1_0
- svn switch https://svn.apache.org/repos/asf/myfaces/orchestra/tags/maven-1_0 .
- mvn clean deploy -Psign-artifacts -DperformRelease=true
The result can be found in http://people.apache.org/builds/myfaces/m2-staging-repository/org/apache/myfaces/orchestra/myfaces-orchestra-maven
Release the Orchestra-Core module
- cd /home/im/projects/myfaces/orchestra/core
- mvn idea:clean
- change dependency for myfaces-orchestra-maven to the released one if required
- mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/orchestra/tags -Dusername=imario -Dtag=core-1_0 -DdryRun=true
- mvn clean
- rm release.properties pom.xml.next pom.xml.tag
- mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/orchestra/tags -Dusername=imario -Dtag=core-1_0
- svn switch https://svn.apache.org/repos/asf/myfaces/orchestra/tags/core-1_0 .
- mvn clean site javadoc:jar assembly:assembly verify gpg:sign deploy -Psign-artifacts -DperformRelease=true
- sign and create hash for the tar.gz and zip assemblies - change to the "target/" directory
- gpg --armor --output myfaces-orchestra-core-1.0.tar.gz.asc --detach-sig myfaces-orchestra-core-1.0.tar.gz
- gpg --armor --output myfaces-orchestra-core-1.0.zip.asc --detach-sig myfaces-orchestra-core-1.0.zip
- md5sum myfaces-orchestra-core-1.0.tar.gz >myfaces-orchestra-core-1.0.tar.gz.md5
- md5sum myfaces-orchestra-core-1.0.zip >myfaces-orchestra-core-1.0.zip.md5
- copy the artifacts to your own zone at peope.apache.org
- scp myfaces-orchestra-core-1.0.tar.gz* myfaces-orchestra-core-1.0.zip* imario@people.apache.org:public_html/orchestra/.
The result can be found in http://people.apache.org/builds/myfaces/m2-staging-repository/org/apache/myfaces/orchestra/myfaces-orchestra-core