You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2014/09/20 15:53:28 UTC
svn commit: r1626442 -
/cayenne/site/cms/trunk/content/dev/release-guide.mdtext
Author: aadamchik
Date: Sat Sep 20 13:53:27 2014
New Revision: 1626442
URL: http://svn.apache.org/r1626442
Log:
documenting a scenario that worked for 3.1-final
Modified:
cayenne/site/cms/trunk/content/dev/release-guide.mdtext
Modified: cayenne/site/cms/trunk/content/dev/release-guide.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/dev/release-guide.mdtext?rev=1626442&r1=1626441&r2=1626442&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/dev/release-guide.mdtext (original)
+++ cayenne/site/cms/trunk/content/dev/release-guide.mdtext Sat Sep 20 13:53:27 2014
@@ -28,13 +28,11 @@ source. Then read the report and fix any
## Tagging the Repo and Releasing Maven Artifacts
-* Create a Git tag and Create Maven Staging Repository. Note that we are not publishing Mac and Windows specific modules to Maven
-(not including "mac" and "windows" profiles, as those are very particular of the build environment, and are useless as Maven binaries
-anyways) :
+* Create a Git tag and Create Maven Staging Repository:
cd cayenne
mvn release:clean
- mvn release:prepare -DpreparationGoals="clean install" -DautoVersionSubmodules=true -Passembly,generic
+ mvn release:prepare -DpreparationGoals="clean install" -DautoVersionSubmodules=true
mvn release:perform -P gpg [-Dgpg.keyname=B8AF90BF]
* Close the staging repo. Login to [https://repository.apache.org/](https://repository.apache.org/) with
@@ -54,15 +52,17 @@ in the next steps) :
mvn clean install -Passembly,src
* Build binary assemblies. Take *"assembly/target/cayenne-XXX-src.tar.gz"*, unpack it somewhere, and
-perform binary builds from the unpacked directory (NOT FROM SVN OR GIT
-CHECKOUT). _Release manager may skip running unit tests from here, as shown
+perform binary builds from the unpacked directory (NOT FROM GIT CHECKOUT). _Release manager may skip
+running unit tests from here, as shown
below, although release evaluators should use the src assembly for [unit testing](running-unit-tests.html)
and other kinds of testing._
mvn clean install -Passembly,generic -Dmaven.test.skip=true
+ # You will need to do this on OS X, and use at least Java 1.7
mvn clean install -Passembly,mac -Dmaven.test.skip=true
+ # You will need to do this on Windows
mvn clean install -Passembly,windows -Dmaven.test.skip=true
For further details on a general Cayenne build process check [this page](building-cayenne.html).