Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C36EAF3DF for ; Mon, 25 Mar 2013 12:59:59 +0000 (UTC) Received: (qmail 31226 invoked by uid 500); 25 Mar 2013 12:59:56 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 30398 invoked by uid 500); 25 Mar 2013 12:59:49 -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 30355 invoked by uid 99); 25 Mar 2013 12:59:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 12:59:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eric.kolotyluk@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 12:59:40 +0000 Received: by mail-pb0-f47.google.com with SMTP id rp2so4130934pbb.6 for ; Mon, 25 Mar 2013 05:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=y0X06psXv6BA1BSm4m22ARq5itd/JZkzz/+bUE6Zhf4=; b=wbS+h63gLqaMyvPosFhJ8NdC2z4yeswL5RmD/d6olanwUT7veYCi9HoeOUO07l79OW NAmBR547bGPjhIv5LqvfypAO8SNWYATo5VwUzsydRQxAZDHbpe1RA80QbtnnyAbapP/j JsQzwz1p6ixRuT1ylRmLGGmtzCsLLp/HtuLPFPdjWSjdcNIAV6reP+Ckavb+PzJm4K6Y qTtzcbOQUqN7ULpYxGUae1Pz9kTOEq0VHL++ns+DA06omFTAPW7aA8n+aFgQ9cXNj51d SiHXAFTSMlVffQxGdB7HZXBKuKoyj3EGehu95jkd3fmlJpvLnc05+VWYTci6xb6DlfxC ysQw== X-Received: by 10.66.250.230 with SMTP id zf6mr7405050pac.153.1364216359294; Mon, 25 Mar 2013 05:59:19 -0700 (PDT) Received: from [192.168.0.10] (S0106602ad07f9cfa.vc.shawcable.net. [24.85.131.20]) by mx.google.com with ESMTPS id rt13sm14796105pac.14.2013.03.25.05.59.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Mar 2013 05:59:18 -0700 (PDT) Message-ID: <51504A24.1080608@gmail.com> Date: Mon, 25 Mar 2013 05:59:16 -0700 From: Eric Kolotyluk User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: activeProfiles References: <514CFC84.4010504@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2013-03-25 3:49 AM, Jörg Schaible wrote: > Hi Eric, > > Eric Kolotyluk wrote: > >> I have two development environments: work and personal. >> >> I am trying to set up my projects so that the POM knows which profile to >> activate, but it seems you cannot put in a POM, only in >> a settings.xml file. Is there some reason for this? >> >> Is there some other Maven way to do what I want to do? How do other >> people separate work development from personal development? > What's the problem with it? If you active a profile in the settings.xml, you > can use this profile (i.e. a profile with same name) also in your POMs, you > don't need an activation anymore. > > - Jörg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > What I wanted to do was uses the same settings.xml for work and personal development. For example, I have to profiles 1. nexus-kodak 2. nexus-kolotyluk The first uses the settings for our nexus server at Kodak, while the second uses my personal nexus server. I wanted to be able to put nexus-kodak In the parent POM of my Kodak projects, and put nexus-kolotyluk in the parent POM of my personal projects. In the end I have been convinced that when working from home, to use a separate Virtual Machine for all my work related development at home, which creates a cleaner separation between work and home. Cheers, Eric --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org