You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMPORTANT: Snapshots do NOT include GPG signatures. To do so would require putting a private key on the CI server. The process for releases (below) is manual and DOES include GPG signatures.
107
-
108
-
To do a release (.RELEASE, .RC?, .M?):
109
-
110
-
. Check in all changes and ensure there are no edited files.
111
-
. Bump up the version in ALL `pom.xml` files to the desired version (e.g. `mvn versions:set -DnewVersion=3.0.0.RC1`) and commit the change.
112
-
. `git tag <version>` (like v3.0.0.RC1)
113
-
. Execute a maven test (`./mvnw -Pdistribute,snapshot,docs clean test`).
114
-
. Execute a maven deploy.
115
-
* For a milestone: `USERNAME=<user> PASSWORD=<encrypted password> ./mvnw -Pdistribute,milestone,docs clean -Dmaven.test.skip=true deploy`
116
-
* For a release: `USERNAME=<user> PASSWORD=<encrypted password> ./mvnw -Pdistribute,release,docs clean -Dmaven.test.skip=true deploy`
117
-
* For a release to maven central: `USERNAME=<user> PASSWORD=<nexus password> ./mvnw -Pdistribute,gpg,central,docs clean -Dmaven.test.skip=true deploy -s settings.xml`
118
-
. Bump up the version in ALL `pom.xml` files again to the next BUILD-SNAPSHOT.
119
-
. Commit the change.
120
-
. `git push` (This will push the tagged version along with the release AND the new snapshot commit)
121
-
. Inspect handiwork at https://repo.spring.io/ or https://oss.sonatype.org/#stagingRepositories
122
-
123
-
NOTE: A word about reference documentation. Based upon https://github.com/spring-projects/spring-framework/wiki/gradle-build-and-release-faq#user-content-wiki-docs_schema_dist_publication[this], the `distribute` profile contains an artifactory property that is applied to the ZIP file generated by the `docs` profile. A CRON job will scoop up the zipped up docs and unpack them inside the target location.
124
-
125
98
== Code of Conduct
126
99
127
100
This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].
0 commit comments