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
Copy file name to clipboardExpand all lines: src/site/markdown/release-process.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,9 +105,15 @@ Verify that the code meets the basic requirements for being releasable:
105
105
106
106
mvn clean install -Papache-release
107
107
108
-
3. Check that the source distribution is buildable.
108
+
You may also execute a dry run of the release process: mvn release:prepare -DdryRun=true. In a dry run, the generated zip files will still be labled as SNAPSHOT. After this, you need to clean up using the following command: mvn release:clean
109
109
110
-
4. Check that the source tree is buildable with an empty local Maven repository.
110
+
3. Check that the Maven site can be generated and deployed successfully, and that it has the expected content.
111
+
112
+
To generate the entire documentation in one place, complete with working inter-module links, execute the site-deploy phase (and check the files under target/staging). A quick and reliable way of doing that is to use the following command: mvn -Dmaven.test.skip=true clean package site-deploy
113
+
114
+
4. Check that the source distribution is buildable.
115
+
116
+
5. Check that the source tree is buildable with an empty local Maven repository.
111
117
112
118
If any problems are detected, they should be fixed on the trunk (except for issues specific to the
113
119
release branch) and then merged to the release branch.
@@ -200,6 +206,8 @@ The created artifacts i.e. zip files can be checked with, for example, sha512sum
200
206
Now go to the `target/scmpublish-checkout` directory (relative to `target/checkout`) and check that there
201
207
are no unexpected changes to the site. Then commit the changes.
202
208
209
+
The root dir of axis-site has a .asf.yaml file, referenced here at target/scmpublish-checkout/.asf.yaml, that is <ahref="https://github.com/apache/infrastructure-asfyaml/blob/main/README.md"> documented here. </a>
0 commit comments