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 12DBFEA78 for ; Mon, 25 Feb 2013 15:45:57 +0000 (UTC) Received: (qmail 80091 invoked by uid 500); 25 Feb 2013 15:45:55 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 79638 invoked by uid 500); 25 Feb 2013 15:45: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 79619 invoked by uid 99); 25 Feb 2013 15:45:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 15:45:51 +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 (athena.apache.org: domain of bimargulies@gmail.com designates 209.85.214.51 as permitted sender) Received: from [209.85.214.51] (HELO mail-bk0-f51.google.com) (209.85.214.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 15:45:48 +0000 Received: by mail-bk0-f51.google.com with SMTP id ik5so1378944bkc.10 for ; Mon, 25 Feb 2013 07:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=xloigP0/Deuy3+oWmk42zj8jXKPpIDHzEOJ7W+KzVOo=; b=lHKbs+BV+wGCOI0d5etgUutphfT7QHtSWSN9OFMTs2CT0SgwQd5ECT0GWs67WTRfmo o0XHCvekp4baWa0vpVzi1QveNuLu4W9u9Q8eh6cQprGI31WP1ew7vXB8VCirF2orJu8f jb0tt29H1/KG+gaHx7ot0AGOHY6XlBr1wn6hNhaOKcREBp2TWmKy6CN9oa426a0l4S+8 28JAX6ZLfMgEbtF+Xe5tl3eOQjWYRpoCMdir3zFJgBCpRgRyfF0C6fioGdbdOm46CSD2 UPVvsh8pu568jJ1wGZUW2lwkN7cSRsBnaYZv3Rd6c0HbSYUUuKAbemDoiXIk368vDRfq n62A== MIME-Version: 1.0 X-Received: by 10.205.122.80 with SMTP id gf16mr5251953bkc.130.1361807126409; Mon, 25 Feb 2013 07:45:26 -0800 (PST) Received: by 10.204.35.199 with HTTP; Mon, 25 Feb 2013 07:45:26 -0800 (PST) In-Reply-To: References: Date: Mon, 25 Feb 2013 10:45:26 -0500 Message-ID: Subject: Re: Why is properties-maven-plugin still in alpha? From: Benson Margulies To: Maven Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org There are no 'powers that be'. There are volunteers. In the case of the properties-maven-plugin, those are volunteers at the codehaus mojo project, not the Apache Maven project. You really shouldn't let the word 'alpha' bother you. On Mon, Feb 25, 2013 at 9:33 AM, Matthew Adams wr= ote: > The ORM plugin is not going fubar. I'm simply using its schema generatio= n > capabilities for my entities during my process-classes phase, and I just > happen to be using derby embedded to do it. Derby, by design, will produ= ce > a derby.log file in the current working directory unless you take steps t= o > avoid it, one of which is to set the system property > derby.stream.error.field to something other than its default value. I fi= nd > that setting it to java.lang.System.out is just jim-dandy. > > In fact, I have different profiles for different ORMs & databases, and th= ey > *all* produce derby.log files when producing the schema against derby. > > Can we simply have the powers that be promote properties-maven-plugin to = a > GA release, or move the functionality of the set-system-properties goal t= o > build-helper-maven-plugin? > > > On Sun, Feb 24, 2013 at 8:43 AM, Martin Gainty wrot= e: > >> Matthew and Frederic >> >> properties-maven-plugin has no hardcoded reference to derby.log >> >> If you could identify the ORM maven-plugin groupId,artifactId,version yo= u >> are implementing ..we could take a look at where its going fubar >> >> -M >> ---------------------------------------- >> > Date: Sun, 24 Feb 2013 08:25:26 +0000 >> > Subject: Re: Why is properties-maven-plugin still in alpha? >> > From: stephen.alan.connolly@gmail.com >> > To: users@maven.apache.org >> > >> > Fail safe has the same config options, and perhaps your ORM's maven >> plugin >> > needs an enhancement ;-) >> > >> > On Sunday, 24 February 2013, Matthew Adams wrote: >> > >> > > Good suggestion, but I need it for not just that (and besides, you >> should >> > > be using failsafe for integration tests, not surefire). But also I n= eed >> > > that property set for database schema generation via my ORM's Maven >> plugin, >> > > which happens during the process-classes phase. >> > > >> > > >> > > On Fri, Feb 22, 2013 at 10:58 PM, Dan Tran wrote= : >> > > >> > > > for you case, you should pass the system property directly into >> surefire >> > > > >> > > > -D >> > > > >> > > > On Fri, Feb 22, 2013 at 7:33 PM, Matthew Adams < >> matthew@matthewadams.me> >> > > > wrote: >> > > > > Hmmm. I'm using the goal >> > > > > set-system-properties< >> > > > >> > > >> http://mojo.codehaus.org/properties-maven-plugin/set-system-properties-m= ojo.html >> > > > >and >> > > > > specifying a phase explicitly. Seems to work fine. >> > > > > >> > > > > For the curious, my use case is trying to get rid of the annoyin= g >> > > > derby.log >> > > > > file during my integration-test phase by using the derby system >> > > > > property derby.stream.error.field=3Djava.lang.System.out. >> > > > > >> > > > > Maybe we could move the set-system-properties goal over to the >> > > > > build-helper-maven-plugin< >> > > > http://mojo.codehaus.org/build-helper-maven-plugin/>. >> > > > > Seems like a good place for it. >> > > > > >> > > > > Works like a charm when you set it like this: >> > > > > >> > > > > >> > > > > derby >> > > > > >> > > > > derby >> > > > > derby >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > org.codehaus.mojo >> > > > > properties-maven-plugin >> > > > > >> > > > > >> > > > > >> > > > > set-system-properties >> > > > > >> > > > > initialize >> > > > > >> > > > > >> > > > > >> > > > > derby.stream.error.field >> > > > > java.lang.System.out >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > On Fri, Feb 22, 2013 at 9:59 AM, Fr=C3=A9d=C3=A9ric Camblor < >> fcamblor@gmail.com >> > > > >wrote: >> > > > > >> > > > >> Hi ! >> > > > >> >> > > > >> I *think* this is because this plugin is shooting you in the >> foot, by >> > > > >> making you think it will *always* load externalized properties >> whereas >> > > > it >> > > > >> won't be the case. >> > > > >> For instance, during call of direct plugin goal (like >> release:prepare >> > > / >> > > > >> release:perform), the plugin won't be binded to any phases =3D> >> > > properties >> > > > >> won't be loaded / made available. >> > > > >> >> > > > >> I think this was based on a good idea at the beginning, but is = not >> > > > really >> > > > >> applicable. >> > > > >> >> > > > >> Cheers, >> > > > >> Fr=C3=A9d=C3=A9ric >> > > > >> >> > > > >> Fr=C3=A9d=C3=A9ric Camblor >> > > > >> >> > > > >> Bordeaux JUG Leader >> > > > >> Jenkins community member & plugin >> commiter >> > > > >> >> > > > >> >> > > > >> >> > > > >> On Fri, Feb 22, 2013 at 4:39 PM, Matthew Adams < >> > > matthew@matthewadams.me >> > > >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> > > > -- > mailto:matthew@matthewadams.me > skype:matthewadams12 > googletalk:matthew@matthewadams.me > http://matthewadams.me > http://www.linkedin.com/in/matthewadams --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org