Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 38582 invoked from network); 12 Jun 2008 21:20:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2008 21:20:57 -0000 Received: (qmail 1778 invoked by uid 500); 12 Jun 2008 21:20:52 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 1725 invoked by uid 500); 12 Jun 2008 21:20:52 -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 1709 invoked by uid 99); 12 Jun 2008 21:20:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 14:20:52 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brianf@reply.infinity.nu designates 205.210.42.66 as permitted sender) Received: from [205.210.42.66] (HELO mx-outbound01.easydns.com) (205.210.42.66) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 21:20:01 +0000 Received: from intrepid.infinity.nu (c-24-62-212-44.hsd1.nh.comcast.net [24.62.212.44]) by mx-outbound01.easydns.com (Postfix) with ESMTP id 41602483BA for ; Thu, 12 Jun 2008 17:16:45 -0400 (EDT) Received: from 12.15.174.33 ([12.15.174.33]) by intrepid.infinity.nu ([192.168.101.3]) with Microsoft Exchange Server HTTP-DAV ; Thu, 12 Jun 2008 21:19:47 +0000 User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Thu, 12 Jun 2008 17:19:46 -0400 Subject: Re: Passing in system properties not working in maven 2.0.7 (PLEASE HELP!) From: "Brian E. Fox" To: Maven Users List Message-ID: Thread-Topic: Passing in system properties not working in maven 2.0.7 (PLEASE HELP!) Thread-Index: AcjM0gnRliz0R8LN6ki/JlcJABfUww== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Have you tried 2.0.9? Was this working before with 2.0.6? Are you sure your surefire plugin version hasn't changed? On 6/12/08 4:53 PM, "Todd Nguyen" wrote: > mvn version: 2.0.7 > > I ran this at the command line, mvn clean test -Dtest=PropertiesTest > -Dinput=com.mycompany.test > > In my PropertiesTest, i have this code snippet. > > ... > if (System.getProperties().containsKey("input")) { > String name = System.getProperty("input"); > } > > System.getProperty("input") always return NULL. > > What happened and how do we fix it? > > Thanks > Todd --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org