<commit_before>Instructions primarily taken from http://central.sonatype.org/pages/apache-maven.html

Basic steps:

One time:
----
- setup gpg public / private key pairs
- setup settings.xml username / pw that is configured as owner / contributor at sonatype
 
Each deploy: 
----
- update website
	- index.html (version of book, snapshot, release - all that have changed)
	- getting-started.html (version of snapshot or release - all that have changed)
	- from folder w/ app.yaml, run 'python ~/development/google_appengine/appcfg.py --oauth2 update .'
	
- for a snapshot deployment: 
	- ensure all versions end in '-SNAPSHOT' (run 'mvn versions:set -DnewVersion=1.2.3-SNAPSHOT -DgenerateBackupPoms=false')
	- also run this step separately for appsensor-ui since it's on a different release cycle
	- run 'mvn clean deploy'
	
- for a release deployment: 
	- ensure all versions DO NOT end in '-SNAPSHOT' (run 'mvn versions:set -DnewVersion=1.2.3 -DgenerateBackupPoms=false')
	- also run this step separately for appsensor-ui since it's on a different release cycle
	- need to run 'mvn -N install' (installs parent pom locally to run remainder of cases)
	- update the changelog
	- run 'mvn clean deploy -P release'
		- need to deploy and activate release profile (-P release)
		- this is needed to execute the gpg/javadoc/source plugins
	- commit code
	- tag the github repo with the appropriate tag (gpg signed) (run "git tag -u '<EMAIL>' -s v1.2.3 -m 'appsensor release version 1.2.3'")
	- push tags (run 'git push origin --tags')
	- create a release (https://help.github.com/articles/creating-releases - use the pre-release flag if this is an alpha, beta or RC release)
	<commit_msg>updating deploy instructions to add doc generation instructions<commit_after>Instructions primarily taken from http://central.sonatype.org/pages/apache-maven.html

Basic steps:

One time:
----
- setup gpg public / private key pairs
- setup settings.xml username / pw that is configured as owner / contributor at sonatype
 
Each deploy: 
----
- update website
	- index.html (version of book, snapshot, release - all that have changed)
	- getting-started.html (version of snapshot or release - all that have changed)
	- from folder w/ app.yaml, run 'python ~/development/google_appengine/appcfg.py --oauth2 update .'
	
- for a snapshot deployment: 
	- ensure all versions end in '-SNAPSHOT' (run 'mvn versions:set -DnewVersion=1.2.3-SNAPSHOT -DgenerateBackupPoms=false')
	- also run this step separately for appsensor-ui since it's on a different release cycle
	- run 'mvn clean deploy'
	
- for a release deployment: 
	- ensure all versions DO NOT end in '-SNAPSHOT' (run 'mvn versions:set -DnewVersion=1.2.3 -DgenerateBackupPoms=false')
	- also run this step separately for appsensor-ui since it's on a different release cycle
	- need to run 'mvn -N install' (installs parent pom locally to run remainder of cases)
	- update the changelog
	- run 'mvn clean deploy -P release'
		- need to deploy and activate release profile (-P release)
		- this is needed to execute the gpg/javadoc/source plugins
	- create documentation folder
		- create a v${version} folder (for 2.1.2, it would be 'v2.1.2')
		- build the javadoc
			- run 'mvn javadoc:aggregate'
			- copy the 'target/site/api' folder to the 'appsensor-dot-org/docs/${version}/javadoc'
			- add a link to the 'api.html' page for the new javadoc folder
		- build the swagger ui (when the rest api changes)
			- copy the results from the 'execution-modes/appsensor-ws-rest-server/target/site/apidocs' dir over to 'appsensor-dot-org/docs/${version}/api' folder
	- commit code
	- tag the github repo with the appropriate tag (gpg signed) (run "git tag -u '<EMAIL>' -s v1.2.3 -m 'appsensor release version 1.2.3'")
	- push tags (run 'git push origin --tags')
	- create a release (https://help.github.com/articles/creating-releases - use the pre-release flag if this is an alpha, beta or RC release)
	
{'fraction_non_alphanumeric': 0.09766022380467955, 'fraction_numerical': 0.008138351983723296, 'mean_word_length': 3.5732558139534882, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6195595', 'n_tokens_mistral': 1238, 'n_tokens_neox': 1186, 'n_words': 491}