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.
36
34
37
-
… and discover more commands with `./gradlew tasks`. See also the https://github.com/spring-projects/spring-framework/wiki/Gradle-build-and-release-FAQ[Gradle build and release FAQ].
35
+
To do a release (.RELEASE, .RC?, .M?):
36
+
37
+
. Check in all changes and ensure there are no edited files.
38
+
. 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.
39
+
. `git tag <version>` (like v3.0.0.RC1)
40
+
. Execute a maven test (`./mvnw -Pdistribute,snapshot,docs clean test`).
41
+
. Execute a maven deploy.
42
+
* For a milestone: `USERNAME=<user> PASSWORD=<encrypted password> ./mvnw -Pdistribute,milestone,docs clean -Dmaven.test.skip=true deploy`
43
+
* For a release: `USERNAME=<user> PASSWORD=<encrypted password> ./mvnw -Pdistribute,release,docs clean -Dmaven.test.skip=true deploy`
44
+
* 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`
45
+
. Bump up the version in ALL `pom.xml` files again to the next BUILD-SNAPSHOT.
46
+
. Commit the change.
47
+
. `git push` (This will push the tagged version along with the release AND the new snapshot commit)
48
+
. Inspect handiwork at https://repo.spring.io/ or https://oss.sonatype.org/#stagingRepositories
49
+
50
+
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.
51
+
52
+
== Code of Conduct
53
+
54
+
This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].
55
+
By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].
56
+
57
+
= Spring Web Services Project Site
58
+
59
+
You can find the documentation, issue management, support, samples, and guides for using Spring Web Services at http://projects.spring.io/spring-ws/
0 commit comments