Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 328CCF034 for ; Tue, 9 Apr 2013 08:47:52 +0000 (UTC) Received: (qmail 91311 invoked by uid 500); 9 Apr 2013 08:47:51 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 90943 invoked by uid 500); 9 Apr 2013 08:47:50 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 90894 invoked by uid 99); 9 Apr 2013 08:47:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 08:47:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nigel.magnay@gmail.com designates 209.85.220.174 as permitted sender) Received: from [209.85.220.174] (HELO mail-vc0-f174.google.com) (209.85.220.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 08:47:42 +0000 Received: by mail-vc0-f174.google.com with SMTP id kw10so3373651vcb.5 for ; Tue, 09 Apr 2013 01:47:21 -0700 (PDT) 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; bh=U37Quc3Lm8UUhDpKwsb3Hl+QRlkxVKvorRrrz88GLlE=; b=yUPp2Yucburnv8Aw6UgBq4U0pkA5x1DhhJlIPr73GU+Mxz8tOgmyQyogtA1RVqQoB/ b96RDdL3Qrn0bOp31aku+Ta09bjN/a1bjKbl1buaUtTZxkcHbY3arfccUaVmHKv7tHWX rTCgJPaNgocj7+Md/9gKLLDm2nWVTbADbr2TpJ8n3yIIc7bGWDkfNnVtYP0rQveV2Glv 3rJbUzGYGcwJJHKjCG38RQ6pH/Wg72ACP4ypJ3dSM+HyiVVtUnLdJmkexnJ7JwfjVMzT TADkCtZjurpd8YXrNFaWauBbk+9wEejGY9GbxbyaHcd4EZml4r4asZd2A/ivv8F+SgeL 7uuQ== MIME-Version: 1.0 X-Received: by 10.58.84.164 with SMTP id a4mr18679027vez.9.1365497241486; Tue, 09 Apr 2013 01:47:21 -0700 (PDT) Received: by 10.52.23.73 with HTTP; Tue, 9 Apr 2013 01:47:21 -0700 (PDT) In-Reply-To: <515D86D0.3010808@gmail.com> References: <599126F3-82B3-4EAE-9D98-C6BB0C448259@tesla.io> <515C33C5.9000800@gmail.com> <2587345.hquGtgvSbr@bigmax> <515D86D0.3010808@gmail.com> Date: Tue, 9 Apr 2013 09:47:21 +0100 Message-ID: Subject: Re: [VOTE] Apache 3.1.0-alpha-1 From: Nigel Magnay To: Maven Developers List Content-Type: multipart/alternative; boundary=047d7b6dbc22054c4204d9e99a29 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6dbc22054c4204d9e99a29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This keeps coming up, over and over and over. e.g: http://maven.40175.n5.nabble.com/Meta-information-about-dependencies-in-a-p= om-td4971927.html The maven 'answer' seems to amount to 'hard cheese, you must re-specify each and every one of your dependencies again in your plugin config'. And then pointing to the configuration horror that is the assembly plugin, and completely ignoring the duplication of, like, every single dependency in your use-case. And if your language has scopes other than the burnt-in ones in maven, double-hard cheese with a cherry on top - welcome to screenfuls of warnings and a non-working transitive dependency mechanism. Despite the fact you're already paying the XML tax (so each dependency takes 5 lines in your POM file, compared to single lines in other tools), *and* the fact that XML has a well-defined capability with namespaces to compatibly extend the data (and have those extensions easy to strip out), maven refuses to contemplate this, it seems. How about .... com.example bundle 1.0.1 99 true On Thu, Apr 4, 2013 at 2:57 PM, Andrei Pozolotin wrote: > Herv=E9: > > thank you for taking the time to respond. > > issue at hand: > > karaf > http://karaf.apache.org/ > > has features.xml, which are built from pom.xml > http://karaf.apache.org/manual/latest-2.3.x/users-guide/provisioning.html > > what is missing from maven is the ability to communicate arbitrary > custom attributes > on per-dependency basis, such as: > > provide osgiStartLevel value, to specify to osgi runtime bundle start > level: > > com.example > bundle > 1.0.1 > 99 > > > or provide karafBootInstall flag, to specify that karaf runtime should > install this dependency at boot-time vs build-time: > > com.example > bundle-feature > 1.0.1 > features > xml > true > > > in lieu of these, karaf-maven-plugin is trying to encode this > information via > > https://github.com/apache/karaf/blob/trunk/tooling/karaf-maven-plugin/src= /main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java#L215 > > which contradicts the dependency resolution rules and really does not wor= k. > > hence my request to "relax". is there any other ways to address this need= ? > > Andrei > > -------- Original Message -------- > Subject: Re: [VOTE] Apache 3.1.0-alpha-1 > From: Herv=E9 BOUTEMY > To: Maven Developers List > Date: Thu 04 Apr 2013 01:21:32 AM CDT > > AFAIK, there is nothing "relaxed" from Mven 3.0.x planned > > > > But I don't really understand your case (and miss time to investigate i= n > > Karaf). > > Can you give us a pointer to SCM, or paste such a dependency "with cust= om > > tags"? > > > > Regards, > > > > Herv=E9 > > > > Le mercredi 3 avril 2013 08:51:01 Andrei Pozolotin a =E9crit : > >> I am curious if 3.1.0 will be more relaxed with custom tags inside > >> ? > >> > >> Use case: karaf-maven-plugin uses bizarre conventions > >> on how to map from into osgi bundle properties (like start > level) > >> because there is no way to have a custom tag in and expre= ss > >> this requirement. > >> > >> -------- Original Message -------- > >> Subject: Re: [VOTE] Apache 3.1.0-alpha-1 > >> From: Jason van Zyl > >> To: Maven Developers List > >> Date: Tue 02 Apr 2013 12:04:18 PM CDT > >> > >>> Thanks. > >>> > >>> On Apr 2, 2013, at 1:00 PM, Herv=E9 BOUTEMY > wrote: > >>>> Staged documentation: http://maven.apache.org/ref/3.1.0-alpha-1/ > >>>> > >>>> Regards, > >>>> > >>>> Herv=E9 > >>>> > >>>> Le lundi 1 avril 2013 08:12:09 Jason van Zyl a =E9crit : > >>>>> Here are the release bits for 3.1.0-alpha-1: > >>>>> > >>>>> Release notes: > >>>>> > https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=3D10500&versi= o > >>>>> n=3D18 967 > >>>>> > >>>>> Staging repository: > >>>>> https://repository.apache.org/content/repositories/maven-042/ > >>>>> > >>>>> Staged distribution: > >>>>> > https://repository.apache.org/content/repositories/maven-042/org/apache/ > >>>>> mave n/apache-maven/3.1.0-alpha-1/ > >>>>> > >>>>> Anyone trying this in advance should know that the Site, Dependency= , > and > >>>>> Shade plugin are not going to work. We are aware of this and those > >>>>> responsible for those plugins are looking into it. > >>>>> > >>>>> Thanks, > >>>>> > >>>>> Jason > >>>>> > >>>>> ---------------------------------------------------------- > >>>>> Jason van Zyl > >>>>> Founder & CTO, Sonatype > >>>>> Founder, Apache Maven > >>>>> http://twitter.com/jvanzyl > >>>>> --------------------------------------------------------- > >>>>> > >>>>> We know what we are, but know not what we may be. > >>>>> > >>>>> -- Shakespeare > >>>> --------------------------------------------------------------------= - > >>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > >>>> For additional commands, e-mail: dev-help@maven.apache.org > >>> Thanks, > >>> > >>> Jason > >>> > >>> ---------------------------------------------------------- > >>> Jason van Zyl > >>> Founder & CTO, Sonatype > >>> Founder, Apache Maven > >>> http://twitter.com/jvanzyl > >>> --------------------------------------------------------- > >>> > >>> What matters is not ideas, but the people who have them. Good people > can > >>> fix bad ideas, but good ideas can't save bad people.> > >>> -- Paul Graham > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > For additional commands, e-mail: dev-help@maven.apache.org > > > > . > > > > --047d7b6dbc22054c4204d9e99a29--