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 B069AE6CC for ; Wed, 5 Dec 2012 22:11:56 +0000 (UTC) Received: (qmail 79780 invoked by uid 500); 5 Dec 2012 22:11:54 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 79711 invoked by uid 500); 5 Dec 2012 22:11:54 -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 79703 invoked by uid 99); 5 Dec 2012 22:11:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 22:11:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.210.43] (HELO mail-da0-f43.google.com) (209.85.210.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 22:11:45 +0000 Received: by mail-da0-f43.google.com with SMTP id u36so2476182dak.30 for ; Wed, 05 Dec 2012 14:11:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:x-gm-message-state; bh=x2sjua57ATM/ICTjqLOdTSew6C8cWuKPT+SH+9+hVig=; b=RTd5NxsFbdP46PGsFepFjgYBIpmUeJBCWGu0elpT/2auHLhrI4k7Wm0zM0j0SwqYHa VhZneo8Hxf9Pt6XOHuJERH1h34RtHgpWvExKUfuqQ+F73iAyQQ8VNSiHziHVFwoeyDvC lR2k0cYzeKdKvgV+mjlsYrjJA9FChcQVutga25htcwDfsQkMqZOaR6HMuEu+KqNocIll 5PR1c91hB9uxN+MiOJr/lSFfuWUExr7IZoN01u8i5ozOKUxvDMv1zv2KCwsQc9BMXJaP 9Felxe5/hCwtG7m03yfHJBE6Eabv65LJtWnGrzxlThSer9UzxcFpcTZkAOSMKbyiY0Bu q1BQ== Received: by 10.66.73.225 with SMTP id o1mr48692381pav.70.1354745483441; Wed, 05 Dec 2012 14:11:23 -0800 (PST) Received: from Mark-Derricutts-iMac.local (akl.smx.co.nz. [203.84.135.120]) by mx.google.com with ESMTPS id hc4sm3531195pbc.30.2012.12.05.14.11.20 (version=SSLv3 cipher=OTHER); Wed, 05 Dec 2012 14:11:22 -0800 (PST) Message-ID: <50BFC684.90801@talios.com> Date: Thu, 06 Dec 2012 11:11:16 +1300 From: Mark Derricutt User-Agent: Postbox 3.0.6 (Macintosh/20121022) MIME-Version: 1.0 To: "Maven Users List" Subject: Re: maven-exec-plugin and VM args References: <50BFB718.4010106@talios.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------040404080603060109050404" X-Gm-Message-State: ALoCoQm1Jmzr+KtAsGfKajCZVJvqUviPOaeth+91K6Mh+SuS4SxcOPJP4p0DfkvkewrTUoV1vIGW X-Virus-Checked: Checked by ClamAV on apache.org --------------040404080603060109050404 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Anders, Mmm that sounds plausible altho so far I don't seem to see any difference in behaviour, my "ps aux" output shows amrk 6040 0.0 5.7 4054184 478464 s000 S+ 10:53am 3:57.72 /usr/bin/java -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Xmx1024m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -Dconcordion.output.dir=target/concordion -Dsmx3.config.dir=/Users/amrk/IdeaProjects/securemx/smx3/smx3-integration/integration/../../config -Dsmx3.database.host=localhost -Dsmx3.database.name=smx3 -Dintermail.enabled=true -Dintermail.password=xxxx -Dintermail.url=ldap://localhost:1024 -Dintermail.user=uid=admin,ou=system -jar /var/folders/vx/7v3qnlc53lgbm19_nn0g59_r0000gn/T/maven-exec36536174902264218.jar which all looks like it should be starting a debug session and suspending. hrm. Anders Hammar wrote: > > I think I ran into something similar the other day. You need to put > each of > the arguments in a separate argument element. > > -Dcom.sun.management.jmxremote > -Djava.awt.headless=true > -Xmx1024m --------------040404080603060109050404--