summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorShawn Pearce <sop@google.com>2013-05-06 14:23:26 -0700
committerShawn Pearce <sop@google.com>2013-05-06 15:36:46 -0700
commitb0c599d1fd9b650c206a24ed8fa7f95ae146a073 (patch)
treeb66796ce5100c41a8e36e2c89bba48a5b2603d34 /Documentation
parenta1c15ea10d9fba9224e601bbb58fe980aaaa8542 (diff)
Ensure core plugins are bundled by Maven
Require the core plugins whenever a Gerrit build is run. These are pulled into the Maven Reactor by being inside of git submodules. Plugins can be omitted by passing a -Dgerrit.plugins.skip=true flag on the command line. Change-Id: I7246389bcae9e98d5f1d46208ff515855eb7c474
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/dev-release.txt92
1 files changed, 5 insertions, 87 deletions
diff --git a/Documentation/dev-release.txt b/Documentation/dev-release.txt
index d429a1cc22..ae2aed689e 100644
--- a/Documentation/dev-release.txt
+++ b/Documentation/dev-release.txt
@@ -132,45 +132,14 @@ the subproject.
to the released version
-[[prepare-gerrit]]
-Prepare Gerrit
-~~~~~~~~~~~~~~
-
-In all example commands it is assumed that the last release was `2.4`
-and that now the `2.5` release is prepared.
-
-
-[[prepare-war-and-plugin-api]]
-Prepare the Gerrit WAR and the Plugin API Jar
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-* link:dev-readme.html#run-acceptance-tests[Run the acceptance tests]
-
-* Create locally a `stable-2.5` branch for making the new release
-
-* Check in the Gerrit parent `pom.xml` that no `SNAPSHOT` version of a
-Subproject is referenced
-+
-If there is a dependency to a `SNAPSHOT` version,
-link:#subproject[release the subproject] first.
-
-* Create a tag for the Gerrit release
-+
-For an `RC` release:
-+
-====
- git tag -a -m "gerrit 2.5-rc0" v2.5-rc0
-====
-+
-For a final `stable` release:
-+
-====
- git tag -a -m "gerrit 2.5" v2.5
-====
+[[build-gerrit]]
+Build Gerrit
+~~~~~~~~~~~~
-* Build the Gerrit WAR (without plugins) and the Plugin API Jar
+* Build the Gerrit WAR
+
====
+ rm -f ~/.m2/settings.xml
./tools/release.sh
====
+
@@ -182,57 +151,6 @@ limits the compilation to a certain browser.
========================================================================
* Sanity check WAR
-
-
-[[prepare-core-plugins]]
-Prepare Core Plugins
-^^^^^^^^^^^^^^^^^^^^
-The core plugins to be prepared are:
-
-* `plugins/replication`
-
-For each core plugin do:
-
-* link:dev-release-subproject.html#make-snapshot[Make a snapshot and test it]
-* link:dev-release-subproject.html#prepare-release[Prepare the Release]
-
-* Update the version of the Core Plugin in
-`gerrit-package-plugins/pom.xml` to the released version
-
-[WARNING]
-========================================================================
-Updating the plugin versions in `gerrit-package-plugins/pom.xml`
-invalidates the Gerrit Release Tag which was created before.
-
-If needed delete the tag and recreate it!
-========================================================================
-
-
-[[prepare-war-with-plugins]]
-Prepare Gerrit WAR with Core Plugins
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-* Ensure that the Core Plugins listed in `gerrit-package-plugins/pom.xml`
-point to the latest release version (no dependency to `SNAPSHOT` versions)
-
-* Ensure that the release tag points to the `HEAD` commit
-
-* Include core plugins into WAR
-+
-====
- $ ./tools/version.sh --release && mvn clean package -f gerrit-package-plugins/pom.xml
- $ ./tools/version.sh --reset
-====
-
-* Find WAR that includes the core plugins at
-`gerrit-package-plugins\target\gerrit-full-v2.5.war`
-
-* Compare `gerrit-package-plugins\target\gerrit-full-v2.5.war` with
- `gerrit-war\target\gerrit-v2.5.war`
-+
-The only difference should be the core plugins jars under
-`WEB-INF\plugins`.
-
* Test the new Gerrit version
[[publish-gerrit]]