This project is used solely for creating combined releases of all of the AIMA3e projects.
- Checkout the latest version of all the projects into a clean workspace.
- Ensure the revisions # in the build.properties files of each project are updated.
- Ensure the revision #s in the pom.xml file in aima-core is set to match the one in its build.properties.
- Ensure the README file in each project is updated to reflect the release (i.e. update the 'Current Release' section at a minimum).
- Commit and push changes to GitHib.
- run the
aima-all.release ant taskfrom theaima-allproject.
- Upload the latest version of the aima-core Javadoc:
This can be done by running the aima-core.makedocs ant task and replacing the current generated docs in thegh-pagesbranch:
aima3e/javadoc/aima-core - push the changes to the
gh-pagesbranch.
- Copy the .jar files generated by the aima-all.release ant task from:
aima-all/build/release/release
to thegh-pagesbranch:
aima3e/jars - Create a keystore which will be used to sign the copied jars, e.g.:
> keytool -genkey -keystore c:/temp/aima3e.keystore -alias aima3e
> Enter keystore password: <Enter an appropriate password>
> Re-enter new password: <Same password>
> What is your first and last name?
[Unknown]: <Your Name>
> What is the name of your organizational unit?
[Unknown]: AIMA-Java Open Source Project
> What is the name of your organization?
[Unknown]: AIMA-Java Open Source Project
> What is the name of your City or Locality?
[Unknown]: Mountain View
> What is the name of your State or Province?
[Unknown]: California
> What is the two-letter country code for this unit?
[Unknown]: US
> ...
[no]: yes
- Sign each jar individually, e.g.:
> jarsigner -keystore c:/temp/aima3e.keystore aima-core.jar aima3e
> jarsigner -keystore c:/temp/aima3e.keystore aima-gui.jar aima3e
> jarsigner -keystore c:/temp/aima3e.keystore aimax-osm.jar aima3e
> jarsigner -keystore c:/temp/aima3e.keystore commons-compress-1.1.jar aima3e
- push the changes to the
gh-pagesbranch.
- Deploying via Nexus Guide
- The Sonatype/Nexus Open Source Respository
- The Complete Maven Reference
- The Maven Central Repository
- Maven Home
- Run this command in the aima-core project (currently only releasing this on Maven):
mvn -P sonatype-oss-release deploy - Close and Release. Follow Releasing to Central from
- Upload the .zip file from
aima-all/build/releaseto the project's releases page. Delete the previous release. - Update the AIMA3e
README.mdto indicate the latest revision # (ensure Maven info also updated). - Update the
AIMA3e Overviewwiki page with the latest release information. - Send an email to team members letting them know the release has gone out the door.