Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 38664 invoked from network); 25 Mar 2011 16:18:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2011 16:18:39 -0000 Received: (qmail 82171 invoked by uid 500); 25 Mar 2011 16:18:37 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 82097 invoked by uid 500); 25 Mar 2011 16:18:37 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 82088 invoked by uid 99); 25 Mar 2011 16:18:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 16:18:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_PROFILE1,T_FRT_PROFILE2,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rafaelvanderlei@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bw0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 16:18:30 +0000 Received: by bwz14 with SMTP id 14so1133476bwz.30 for ; Fri, 25 Mar 2011 09:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=LxYb3N/oT+M3Wl7H6JfVZUe4V1UI1Sa44xAQhetf098=; b=vz0AOu59j5Thdb9Ntzw4xSpcyMZ+/ygqiFUyxmsoy+fGrRXP1jdJ0R6QTDIEpoMcpC NKPMztRCKGoL5WAlMkinPOpa0y9yExwnc5COqzVa51vW8UPtYJl/sj2cSlSY+xTcHfCD KUEJDbpEvldt1OZuCXLo8nUPrqjpSL6Q30A3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TEujGGLcrqgt6n8ZlMJvDmUlg6FSkxWoASzNIi3Pqv5DLiFk+BbWkY5FbOOVbE1O8n oRP17HQ3okraSXHnQew4ZK2ftxFUz5QJmEiRTlK6NVHg/bY6cVtW8PqExeW8h2TWqMQU 6O7w4lW/beeeQ0hJ1QRCY5fHP6ZfTkr+o1Tfg= MIME-Version: 1.0 Received: by 10.204.83.212 with SMTP id g20mr900889bkl.55.1301069889579; Fri, 25 Mar 2011 09:18:09 -0700 (PDT) Received: by 10.204.5.146 with HTTP; Fri, 25 Mar 2011 09:18:09 -0700 (PDT) Date: Fri, 25 Mar 2011 13:18:09 -0300 Message-ID: Subject: Is there a way to ignore profiles in settings.xml? From: Rafael Vanderlei To: users@maven.apache.org Content-Type: multipart/alternative; boundary=0016e6da934b98ac7f049f50f0ce X-Virus-Checked: Checked by ClamAV on apache.org --0016e6da934b98ac7f049f50f0ce Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone. If I configure my .m2/settings.xml to activate some profiles, is there a wa= y to deactivate all of them on the command line "in one go", so I can use only explicitly typed profiles? e.g.: Let=B4s say I have declared 4 profiles in settings.xml profile1,profile2,profile3,profile4 and configure they as active profiles. Now let=B4s say I want to run a build only with other profiles, like profil= e5 and profile6. But I dont want to run something like ' mvn -P!profile1,!profile2,!profile3,!profile4,profile5,profile6 package ' I would like something like ' mvn -Pprofile5,profile6 package ' Is there such a "magic_argument" that ignores all profiles declared as active in settings.xml ? Thanks and regards. Rafael Vanderlei. --0016e6da934b98ac7f049f50f0ce--