trimming build instructions... and yeah, I am a fan of "verify" as default instead of "install"
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/f3324e49 Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/f3324e49 Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/f3324e49 Branch: refs/heads/master Commit: f3324e4946e381067593029dd94fd04d66bfdc70 Parents: ea11258 Author: Andrus Adamchik <and...@objectstyle.com> Authored: Fri Jan 26 20:41:12 2018 +0300 Committer: Andrus Adamchik <and...@objectstyle.com> Committed: Fri Jan 26 20:41:36 2018 +0300 ---------------------------------------------------------------------- src/main/site/content/dev/building-cayenne.md | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f3324e49/src/main/site/content/dev/building-cayenne.md ---------------------------------------------------------------------- diff --git a/src/main/site/content/dev/building-cayenne.md b/src/main/site/content/dev/building-cayenne.md index f8ebd4d..57697dd 100644 --- a/src/main/site/content/dev/building-cayenne.md +++ b/src/main/site/content/dev/building-cayenne.md @@ -26,16 +26,9 @@ but these should probably work for everyone: Depending on what you want to do, there are various flavors of the builds discussed below. All builds should be executed from the root folder of the source checkout. -Building the framework and installing it to the local repository (the most -common flavor) : +The most common flavor is building Cayenne and executing unit and integration tests : - mvn clean install - -In order to skip the unit tests (to speed up the build process or because -some tests are failing), add *"-DskipTests"* to any build -flavor: - - mvn clean install -DskipTests + mvn clean verify For the build to produce a release-like assembly, activate "assembly" profile. Additionally activate a profile specific for the target platform @@ -43,20 +36,20 @@ of a given assembly (otherwise assembly profile won't produce anything). Source assembly: - mvn clean install -Passembly,src + mvn clean verify -Passembly,src Cross-platform assembly: - mvn clean install -Passembly,generic + mvn clean verify -Passembly,generic Windows assembly: - mvn clean install -Passembly,windows + mvn clean verify -Passembly,windows Mac OS X assembly: - mvn clean install -Passembly,mac + mvn clean verify -Passembly,mac Multiple assemblies built at once: - mvn clean install -Passembly,src,generic,mac \ No newline at end of file + mvn clean verify -Passembly,src,generic,mac