For these examples we'll presume a release on trunk of studio. For releases on the tags or branches change the svn checkout line to accomodate.
$ svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio $ cd studio $ mvn -Prelease -DdryRun=true release:prepare # Dry-run first. ... ... Make sure the change made by the release plugin is correct! ... $ mvn release:clean # Clean up the temporary files created by the dry-run. $ mvn -Prelease release:prepare # Copy to tags directory. $ mvn -Prelease release:perform # Upload the released artifacts to the maven repository. ... ... Make sure the jars/poms and their signature files are properly deployed to the m2-ibiblio-sync ... repository on people.apache.org before running the clean goal or else you cannot rollback the ... release. ... $ mvn release:clean # Clean up the temporary files.
These commands will build, tag, sign, and deploy studio artifacts and their signature files to the repository. Check the following URLs during different stages of the process to see Maven at work: