Return-Path: X-Original-To: apmail-sling-users-archive@minotaur.apache.org Delivered-To: apmail-sling-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A930F900E for ; Wed, 8 Feb 2012 08:20:56 +0000 (UTC) Received: (qmail 65784 invoked by uid 500); 8 Feb 2012 08:20:56 -0000 Delivered-To: apmail-sling-users-archive@sling.apache.org Received: (qmail 64804 invoked by uid 500); 8 Feb 2012 08:20:48 -0000 Mailing-List: contact users-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@sling.apache.org Delivered-To: mailing list users@sling.apache.org Received: (qmail 64497 invoked by uid 99); 8 Feb 2012 08:20:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 08:20:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 209.85.160.50 is neither permitted nor denied by domain of craig@craigsdickson.com) Received: from [209.85.160.50] (HELO mail-pw0-f50.google.com) (209.85.160.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 08:20:37 +0000 Received: by pbdd12 with SMTP id d12so531300pbd.9 for ; Wed, 08 Feb 2012 00:20:16 -0800 (PST) Received: by 10.68.73.8 with SMTP id h8mr66664954pbv.109.1328689216760; Wed, 08 Feb 2012 00:20:16 -0800 (PST) Received: from [10.0.1.135] (cpe-67-49-82-148.socal.res.rr.com. [67.49.82.148]) by mx.google.com with ESMTPS id p2sm1539825pbb.14.2012.02.08.00.20.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 00:20:15 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: using maven-sling-plugin with a decency that has a classifier From: "Craig S. Dickson" In-Reply-To: Date: Wed, 8 Feb 2012 00:20:13 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <15056793-2757-40A2-858C-38B49DBF0D9C@craigsdickson.com> References: To: users@sling.apache.org X-Mailer: Apple Mail (2.1257) Done. https://issues.apache.org/jira/browse/SLING-2404 Patch file with proposed resolution also attached. Regards On Feb 7, 2012, at 11:11 PM, Carsten Ziegeler wrote: > Hi Craig, >=20 > no, it seems there is no way to get the classifier in, so please file > an enhancement bug. >=20 > Regards > Carsten >=20 > 2012/2/7 Craig S. Dickson : >> Hi, >>=20 >> I am trying to use the maven-sling-plugin to install an artifact = using Maven coordinates. Something like: >>=20 >> >> org.apache.sling >> maven-sling-plugin >> >> = /apps/myapp/install >> true >> true >> >> >> >> >> install-file >> >> install >> >> com.mygroup >> = myartifact >> 1.0.0-SNAPSHOT >> >> >> >> >>=20 >> However, now I have an artifact that has a classifier as part of its = coordinates. I read through the source of = org.apache.sling.maven.bundlesupport.BundleInstallFileMojo and it looks = like the code only supports groupId, artifactId, version and type, but = not classifier. >>=20 >> Anybody know of an existing work around? >>=20 >> I will log an enhancement request if not. >>=20 >> Cheers >>=20 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >> Craig S. Dickson >> http://craigsdickson.com >> http://www.linkedin.com/in/craigsdickson >>=20 >=20 >=20 >=20 > --=20 > Carsten Ziegeler > cziegeler@apache.org