Return-Path: Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: (qmail 22691 invoked from network); 3 Nov 2010 18:21:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Nov 2010 18:21:49 -0000 Received: (qmail 83592 invoked by uid 500); 3 Nov 2010 18:22:21 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 83563 invoked by uid 500); 3 Nov 2010 18:22:20 -0000 Mailing-List: contact isis-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-dev@incubator.apache.org Received: (qmail 83555 invoked by uid 99); 3 Nov 2010 18:22:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 18:22:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dkhaywood@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-wy0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 18:22:11 +0000 Received: by wya21 with SMTP id 21so892751wya.6 for ; Wed, 03 Nov 2010 11:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :organization:user-agent:mime-version:to:subject:content-type; bh=yenpr3CN6Bt+fnEtj9kqhdF3w9kTce7FUjSdLGHGRSI=; b=qZ9K8fxErO+jgB+WKGktsOI+2V+tA5s56oq0tuebO+5Y7dhQlcCGA4QxEL4bMqnHgz JLPGZ9aZriHSSXVIO7+jOPuoejNmCceGHRuaOuD7pcZbz34U5QZPSKko9a9P9PgAbOi+ JAzfgW4cLWGFdgUbt66xMJO/xjwAqK9utVpYg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:content-type; b=Sx1qi8+6UQaUJGckyboQXLBjtoWYqlVuYuEUguvfQoHOY9lLVpb6qb7C1yDwccE+mo zaB3S6fMFDBlJdUxG2HROQiQGvZ64Ec7ACQWyAIJAt8tuVmuUWV7wjIotwaFZ1QcA9tU 5QJ4fCAz/cUdz7wG/ImvGU+S4RfDOVDUqs+zk= Received: by 10.227.135.144 with SMTP id n16mr4365846wbt.17.1288808509775; Wed, 03 Nov 2010 11:21:49 -0700 (PDT) Received: from [192.168.178.66] (host81-131-185-11.range81-131.btcentralplus.com [81.131.185.11]) by mx.google.com with ESMTPS id i19sm7686105wbe.11.2010.11.03.11.21.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Nov 2010 11:21:48 -0700 (PDT) Message-ID: <4CD1A83C.4030502@gmail.com> Date: Wed, 03 Nov 2010 18:21:48 +0000 From: Dan Haywood Reply-To: dan@haywood-associates.co.uk Organization: Haywood Associates Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: isis-dev@incubator.apache.org Subject: slight change to way of doing build and site Content-Type: multipart/mixed; boundary="------------000200000403040105030304" X-Virus-Checked: Checked by ClamAV on apache.org --------------000200000403040105030304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dear all, As you know, our trunk/pom.xml currently has a set of profiles that us to perform builds of different "widths" (ie which modules), different "depths" (just the minimum, or full javadocs, reports etc), and different types (default lifecycle vs site lifecycle). As things are, we use -P and a comma separated list to activate multiple profiles, eg -P all,build-all. However, I've been looking at the release process that we've inherited from the ASF parent, and it looks like this approach of using -P is incompatible. So, I've used the very similar mechanism of activating profiles by specifying a -D property. Basically, to activate profile with id xxx-yyy, instead of -P xxx-yyy, you use -D xxx=yyy ~~~~ Therefore, the new ways to build are: mvn clean install -o # the modules-standard profile is activated by default mvn clean install -D modules=standard -o # explicitly activating the modules-standard profile mvn clean install -D build=full -o # modules-standard and also the build-full profile mvn clean install -D modules=all -o # explicitly activating modules-all profile mvn clean install -D modules=all -D build=full -o # explicitly activating both modules-all and build-full To build the site docs: prereqs are pretty much as before: a) mvn install:install-file -D groupId=com.java -D artifactId=jimi -D version=1.0 -D packaging=jar -D file=/path/to/file b) mvn clean install -D modules=skin -o # explicitly activate the modules-skin profile and then: mvn site-deploy -D modules=standard -D deploy=local -o # activate modules-standard and deploy-local profile mvn site-deploy -D modules=standard -D deploy=local -D site=full -o # activate modules-standard,deploy-local, site-full ~~~~ All the above is also documented in trunk/pom.xml, which I've just this minute committed (rev 1030591). Thx Dan --------------000200000403040105030304--