...
- Grab the latest source from SVN
Code Block svn co https://svn.apache.org/repos/asf/camel/trunk camel cd camel
- Verify headers with rat
Code Block mvn -e apache-rat:check grep -e ' !?????' target/rat.txt -- will show any files without licenses
- Do a release dry run to check for problems
Check that you are happy with the results. The poms for the proposed tags will be in pom.xml.tag. When you like the results, clean up:Code Block mvn release:prepare -DdryRun=true
Code Block mvn release:clean
- Prepare the release
This will create the tag in svn and leave various stuff around locally to direct the perform phase.Code Block mvn release:prepare
- Perform the release to the staging repo
Code Block mvn release:perform
- Close the staging repository
Quote from the Maven release guide for Apache projects
See the image in the original guide for more info.Login to https://repository.apache.org using your Apache LDAP credentials. Click on "Staging". Then click on "camel" in the list of repositories. In the panel below you should see an open repository that is linked to your username and ip. Right click on this repository and select "Close". This will close the repository from future deployments and make it available for others to view. If you are staging multiple releases together, skip this step until you have staged everything. Enter the name and version of the artifact being released in the "Description" field and then click "Close". This will make it easier to identify it later.
- Verify staged artifacts
Quote from the original guideIf you click on your repository, a tree view will appear below. You can then browse the contents to ensure the artifacts are as you expect them. Pay particular attention to the existence of *.asc (signature) files. If the you don't like the content of the repository, right click your repository and choose "Drop". You can then rollback your release and repeat the process.
Note the repository URL, you will need this in your vote email.
...