Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 E4A2FCFFB for ; Sat, 5 May 2012 13:32:01 +0000 (UTC) Received: (qmail 1121 invoked by uid 500); 5 May 2012 13:32:01 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 1021 invoked by uid 500); 5 May 2012 13:32:01 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 1012 invoked by uid 99); 5 May 2012 13:32:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 May 2012 13:32:01 +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.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 May 2012 13:31:53 +0000 Received: by lbom4 with SMTP id m4so2978478lbo.30 for ; Sat, 05 May 2012 06:31:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=GwuxRpBMg2ur4W9cvdsAhrJ/2vkM3p00qPy0KQ0dcPU=; b=A9fzfQDA2JHB0pKpyLrLehjn8MVC0NLTDFpbMCo5ZwoSCKAp5F1J+K5MeUDCKJL9G7 Ivx6RdWfVwQ2tXccaT31sDnEOtqqX9bCKIyGJjuzisUjXL1GtB5vKgLgeNFVs3kan4L2 OA6Cns+dBrF20o1tQGw9Ta8aCkduHxn9k02c9aU1bznKiL55iMV8tzue9SNRMxnMISQ7 59l85NAGdCQyCEDn869cjUuF3lugGAjOSQznUlZ62Mi4PA7pArOfbY5rg6IlocNytohp xcveu8iBDCOwgMdwVnx3EFYF7ge9SKwSKBcvfEK+HkPkbk4gdOOJ/GTN8tphmY8L4fVY cMGg== Received: by 10.112.36.163 with SMTP id r3mr4349116lbj.87.1336224692598; Sat, 05 May 2012 06:31:32 -0700 (PDT) MIME-Version: 1.0 Sender: jcarman@carmanconsulting.com Received: by 10.112.57.149 with HTTP; Sat, 5 May 2012 06:31:12 -0700 (PDT) In-Reply-To: References: From: James Carman Date: Sat, 5 May 2012 09:31:12 -0400 X-Google-Sender-Auth: YVPy4WAO3RcETzm92vLunqZCMzQ Message-ID: Subject: Re: [ALL] CP24 and CP25 don't work with Java 1.5 - work-round To: Commons Developers List Content-Type: multipart/alternative; boundary=485b390f79fe247a5a04bf4a0eec X-Gm-Message-State: ALoCoQn0BKPccdPCjev+UFHcqYtxavIWK8qmPAG2DCaguNzWUOSET5q0iS+rtuiwUZq9YPqbV7Gn --485b390f79fe247a5a04bf4a0eec Content-Type: text/plain; charset=ISO-8859-1 Perhaps we should start having a proper vote on commons-parent? :) On Sat, May 5, 2012 at 8:32 AM, sebb wrote: > Commons Parent 24 and 25 don't work properly with Java 1.5 - the > bundle plugin fails. > > Workround: > > When building with Java 1.5, disable its profile as follows: > > mvn test -P-java-1.5-detected > > Note the "-" after the "-P"; this disables the profile. > > =========== > > Background: > > This is because of the work-round added to allow Maven bundle plugin > version 2.3.5 to work on Java 1.5 > > The work-round uses the profile "java-1.5-detected" to downgrade the > nested dependency bndlib from 1.43.0 (which was wrongly built for Java > 1.6) to 1.15.0 > > The current bundle plugin version (2.3.7) now depends on a later > version of the bndlib dependency. > This is now compatible with Java 1.5 again. > But it also includes new methods, some of which are now used by the > Maven bundle plugin. > Thus the downgrade now causes the following error. > > [FATAL ERROR] org.apache.felix.bundleplugin.ManifestPlugin#execute() > caused a linkage error (java.lang.NoSuchMethodError) > > Note: the profile will be removed in the next release of CP > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --485b390f79fe247a5a04bf4a0eec--