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 75B62D061 for ; Mon, 23 Jul 2012 16:01:47 +0000 (UTC) Received: (qmail 37176 invoked by uid 500); 23 Jul 2012 16:01:45 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 37058 invoked by uid 500); 23 Jul 2012 16:01:45 -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 37050 invoked by uid 99); 23 Jul 2012 16:01:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 16:01:45 +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.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vc0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 16:01:41 +0000 Received: by vcdd16 with SMTP id d16so6241189vcd.30 for ; Mon, 23 Jul 2012 09:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yC+3mutu+AZjNIKqi7ErmhdLPW5mpVuETt0/uWK8tGA=; b=C3SlJq6oGEqliRM04E+fuvPZJXQe7dsfoBe2U+VEl3HdUNp8Zcj9oSAKdzNnpQyCjM S3Ol/TZ73gtGpljJ7ug3uh5vuhHRQ48cvYpWFVs/rUIFY9w3RtwZgB39phunhcJzztZm szVFeLpA+Rt31Apt6+1ax4IqLceSfVnAlq5h9oP31zGKYuNYG1CU/i/gDgXPPyClDQvw PYq6wiOYldWEdGCeeH2fXb/DGKdmSn5QwSZh9rRIN/KBdzqtIsHNK4BjQPVuZ+qKfsLg AYfSj3/D/imgEWN3F0weArh7rJ/Em4z+TGGMqVqHpe48tkOH0lEEGxe7vzRYYmDPzESs /CPQ== MIME-Version: 1.0 Received: by 10.52.174.81 with SMTP id bq17mr11417158vdc.119.1343059280316; Mon, 23 Jul 2012 09:01:20 -0700 (PDT) Received: by 10.58.210.100 with HTTP; Mon, 23 Jul 2012 09:01:20 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Jul 2012 12:01:20 -0400 Message-ID: Subject: Re: Maven shade transforming internal strings? From: Benson Margulies To: Maven Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hmm. You don't have a element, so shade is going hog-wild. I appreciate that you're asking a specific question about controlling its behavior for string constants, but is it possible that you could come up with a pattern that wouldn't hit things like 'os.name'? On Mon, Jul 23, 2012 at 10:37 AM, Jason Rutherglen wrote: > Hi Benson, This is the xml for the transform: > > http://pastebin.com/9nx18WiN > > Thanks! > > On Mon, Jul 23, 2012 at 10:21 AM, Benson Margulies wrote: > >> On Mon, Jul 23, 2012 at 12:16 AM, Jason Rutherglen >> wrote: >> > I'm shade transforming Apache Solr, which has several dependencies and >> > seems to work. >> > >> > However the internal class strings are being transformed, eg >> > 'System.getProperty("os.name");' where 'os.name' is being transformed >> to ' >> > shade.package.os.name'. Other than excluding every internal string, how >> > can I turn off the transformation of internal class strings? >> >> What were your transformation rules? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org